21 #ifndef COSA_PCF8574_HH 22 #define COSA_PCF8574_HH 76 __attribute__((always_inline))
87 __attribute__((always_inline))
98 __attribute__((always_inline))
116 bool write(uint8_t pin, uint8_t value);
124 bool write(uint8_t value);
133 bool write(
void* buf,
size_t size);
bool write(uint8_t pin, uint8_t value)
PCF8574A(uint8_t subaddr=7)
bool output_pin(uint8_t pin)
PCF8574(uint8_t subaddr=7)
bool data_direction(uint8_t ddr)
PCF8574(uint8_t addr, uint8_t subaddr)
static const uint8_t PIN_MASK
bool input_pin(uint8_t pin)