#include <TCA9534.h>
|
uint8_t | readBit (uint8_t dev, uint8_t reg, uint8_t bit) |
|
uint8_t | readByte (uint8_t dev, uint8_t reg) |
|
int8_t | readBytes (uint8_t dev, uint8_t reg, uint8_t size, uint8_t *data) |
|
bool | writeBit (uint8_t dev, uint8_t reg, uint8_t bit, uint8_t data) |
|
bool | writeByte (uint8_t dev, uint8_t reg, uint8_t data) |
|
bool | writeBytes (uint8_t dev, uint8_t reg, uint8_t size, uint8_t *data) |
|
◆ Config
◆ Level
◆ Polarity
Enumerator |
---|
ORIGINAL | |
INVERSE | |
◆ Reg
Enumerator |
---|
INPUT_PORT | |
OUTPUT_PORT | |
POLARITY | |
CONFIG | |
◆ attach()
void TCA9534::attach |
( |
TwoWire & |
w | ) |
|
|
inline |
◆ config() [1/3]
uint8_t TCA9534::config |
( |
| ) |
|
|
inline |
◆ config() [2/3]
uint8_t TCA9534::config |
( |
const Config |
cfg | ) |
|
|
inline |
◆ config() [3/3]
uint8_t TCA9534::config |
( |
const uint8_t |
port, |
|
|
const Config |
cfg |
|
) |
| |
|
inline |
◆ input() [1/2]
uint8_t TCA9534::input |
( |
| ) |
|
|
inline |
◆ input() [2/2]
uint8_t TCA9534::input |
( |
const uint8_t |
port | ) |
|
|
inline |
◆ output() [1/3]
uint8_t TCA9534::output |
( |
| ) |
|
|
inline |
◆ output() [2/3]
uint8_t TCA9534::output |
( |
const uint8_t |
port, |
|
|
const uint8_t |
v |
|
) |
| |
|
inline |
◆ output() [3/3]
uint8_t TCA9534::output |
( |
const uint8_t |
v | ) |
|
|
inline |
◆ polarity() [1/3]
uint8_t TCA9534::polarity |
( |
| ) |
|
|
inline |
◆ polarity() [2/3]
uint8_t TCA9534::polarity |
( |
const Polarity |
pol | ) |
|
|
inline |
◆ polarity() [3/3]
uint8_t TCA9534::polarity |
( |
const uint8_t |
port, |
|
|
const Polarity |
pol |
|
) |
| |
|
inline |
◆ readBit()
uint8_t TCA9534::readBit |
( |
uint8_t |
dev, |
|
|
uint8_t |
reg, |
|
|
uint8_t |
bit |
|
) |
| |
|
inlineprivate |
◆ readByte()
uint8_t TCA9534::readByte |
( |
uint8_t |
dev, |
|
|
uint8_t |
reg |
|
) |
| |
|
inlineprivate |
◆ readBytes()
int8_t TCA9534::readBytes |
( |
uint8_t |
dev, |
|
|
uint8_t |
reg, |
|
|
uint8_t |
size, |
|
|
uint8_t * |
data |
|
) |
| |
|
inlineprivate |
◆ setDeviceAddress()
void TCA9534::setDeviceAddress |
( |
const uint8_t |
addr | ) |
|
|
inline |
◆ status()
uint8_t TCA9534::status |
( |
| ) |
const |
|
inline |
◆ writeBit()
bool TCA9534::writeBit |
( |
uint8_t |
dev, |
|
|
uint8_t |
reg, |
|
|
uint8_t |
bit, |
|
|
uint8_t |
data |
|
) |
| |
|
inlineprivate |
◆ writeByte()
bool TCA9534::writeByte |
( |
uint8_t |
dev, |
|
|
uint8_t |
reg, |
|
|
uint8_t |
data |
|
) |
| |
|
inlineprivate |
◆ writeBytes()
bool TCA9534::writeBytes |
( |
uint8_t |
dev, |
|
|
uint8_t |
reg, |
|
|
uint8_t |
size, |
|
|
uint8_t * |
data |
|
) |
| |
|
inlineprivate |
◆ I2C_ADDR
uint8_t TCA9534::I2C_ADDR = 0x20 |
|
private |
◆ sts
◆ wire
The documentation for this class was generated from the following file:
- firmware/wombat/lib/TCA9534/include/TCA9534.h