31 return (res ==
sizeof(
m_port));
55 return (res ==
sizeof(
m_port));
65 return (res ==
sizeof(
m_port));
72 uint8_t* bp = (uint8_t*) buf;
74 while (n--) *bp++ |=
m_ddr;
77 return (res == (
int) size);
bool write(uint8_t pin, uint8_t value)
int read(void *buf, size_t size)
bool data_direction(uint8_t ddr)
int write(void *buf, size_t size)
void acquire(TWI::Driver *dev)
static const uint8_t PIN_MASK