volatile bool onewire_slave_function_code_received
set when a function command code has been received
bool onewire_slave_function_write(const uint8_t *data, size_t size)
write data to master
volatile bool onewire_slave_transfer_complete
set when data read/write transfer has been completed
volatile uint8_t onewire_slave_function_code
last function command code received
void onewire_slave_setup(uint8_t family, uint64_t serial)
setup 1-wire peripheral
bool onewire_slave_function_read(uint8_t *data, size_t size)
read data from master