HF-ADS7952 Driver 0.1.0-dev
HF-ADS7952 C++ Driver
Loading...
Searching...
No Matches
GPIO Bit Masks

Bit masks for GPIO pin addressing. More...

Variables

constexpr uint8_t ads7952::gpio::kGPIO0 = 0x01
 Bit 0 — GPIO pin 0.
 
constexpr uint8_t ads7952::gpio::kGPIO1 = 0x02
 Bit 1 — GPIO pin 1.
 
constexpr uint8_t ads7952::gpio::kGPIO2 = 0x04
 Bit 2 — GPIO pin 2.
 
constexpr uint8_t ads7952::gpio::kGPIO3 = 0x08
 Bit 3 — GPIO pin 3.
 
constexpr uint8_t ads7952::gpio::kAll = 0x0F
 All 4 GPIO pins.
 
constexpr uint8_t ads7952::gpio::kNone = 0x00
 No GPIO pins.
 

Detailed Description

Bit masks for GPIO pin addressing.

Variable Documentation

◆ kAll

constexpr uint8_t ads7952::gpio::kAll = 0x0F
inlineconstexpr

All 4 GPIO pins.

Definition at line 103 of file ads7952_types.hpp.

◆ kGPIO0

constexpr uint8_t ads7952::gpio::kGPIO0 = 0x01
inlineconstexpr

Bit 0 — GPIO pin 0.

Definition at line 95 of file ads7952_types.hpp.

◆ kGPIO1

constexpr uint8_t ads7952::gpio::kGPIO1 = 0x02
inlineconstexpr

Bit 1 — GPIO pin 1.

Definition at line 97 of file ads7952_types.hpp.

◆ kGPIO2

constexpr uint8_t ads7952::gpio::kGPIO2 = 0x04
inlineconstexpr

Bit 2 — GPIO pin 2.

Definition at line 99 of file ads7952_types.hpp.

◆ kGPIO3

constexpr uint8_t ads7952::gpio::kGPIO3 = 0x08
inlineconstexpr

Bit 3 — GPIO pin 3.

Definition at line 101 of file ads7952_types.hpp.

◆ kNone

constexpr uint8_t ads7952::gpio::kNone = 0x00
inlineconstexpr

No GPIO pins.

Definition at line 105 of file ads7952_types.hpp.