46 void select(uint64_t address);
Copy of GPIOPin that is safe to use from ISRs (with no virtual functions)
void reset_search()
Reset the device search.
void skip()
Write a command to the bus that addresses all devices by skipping the ROM.
const int ONE_WIRE_ROM_SEARCH
bool reset()
Reset the bus, should be done before all write operations.
void write_bit(bool bit)
Write a single bit to the bus, takes about 70µs.
ESPOneWire(InternalGPIOPin *pin)
std::vector< uint64_t > search_vec()
Helper that wraps search in a std::vector.
const uint8_t ONE_WIRE_ROM_SELECT
bool read_bit()
Read a single bit from the bus, takes about 70µs.
void write8(uint8_t val)
Write a word to the bus. LSB first.
uint8_t read8()
Read an 8 bit word from the bus.
uint8_t last_discrepancy_
uint64_t read64()
Read an 64-bit unsigned integer from the bus.
uint64_t search()
Search for a 1-Wire device on the bus. Returns 0 if all devices have been found.
uint8_t * rom_number8_()
Helper to get the internal 64-bit unsigned rom number as a 8-bit integer pointer. ...
void select(uint64_t address)
Select a specific address on the bus for the following command.
Implementation of SPI Controller mode.
void write64(uint64_t val)
Write a 64 bit unsigned integer to the bus. LSB first.