XBee Firmware Library
1.6.0
|
Functions | |
uint8_t | crc_check (uint8_t *buffer, uint8_t len) |
Performs a CRC (Cyclic Redundancy Check) over a buffer. More... | |
ssize_t | one_wire_address (uint8_t *romcode) |
Used for addressing a specific device connected to the 1-Wire bus. Usually used after a one_wire_reset() command. More... | |
int | one_wire_config (void) |
Initializes and configures the 1-Wire interface. More... | |
ssize_t | one_wire_read (uint8_t *rxbuf, uint8_t len) |
Reads from the 1-Wire bus determined number of bytes. More... | |
ssize_t | one_wire_read_byte (uint8_t *rxbyte) |
Reads one byte from the 1-Wire bus. More... | |
ssize_t | one_wire_read_rom (uint8_t *romcode) |
If there is only one device connected to the 1-Wire bus, reads its ROM code. This ROM is CRC8 checked before reporting a success. More... | |
ssize_t | one_wire_reset (void) |
Performs a reset on the 1-Wire bus. More... | |
ssize_t | one_wire_search (uint8_t *rombuf, uint8_t len) |
Performs the 1-Wire search algorithm and store ROM codes found. More... | |
uint8_t | one_wire_single_bit_rx (void) |
Reads 1 bit from the 1-Wire bus. More... | |
uint8_t | one_wire_single_bit_tx (uint8_t bit) |
Sends 1 bit over the 1-Wire bus. More... | |
ssize_t | one_wire_skip_rom (void) |
Used when only one device is connected to the 1-Wire bus, so sending 32-bit ROM code is unnecessary. Usually used after a one_wire_reset() command. More... | |
void | one_wire_spp_enable (bool_t val) |
Activates or deactivates the strong pull-up (if enabled) on the 1-Wire bus. More... | |
uint8_t | one_wire_strong_pullup (uint8_t enabled) |
ssize_t | one_wire_write (const uint8_t *txbuf, uint8_t len) |
Sends over the 1-Wire bus a buffer with a determined length. More... | |
ssize_t | one_wire_write_byte (uint8_t byte) |
Sends 1 byte over the 1-Wire bus. More... | |