XBee Firmware Library  1.6.0
Functions
spi.c File Reference

Functions

ssize_t spi_config (uint8_t brpree, uint8_t brdiv, uint8_t config)
 Initializes and configures the SPI module of the device. More...
 
ssize_t spi_transfer (uint8_t ss_num, const void *txbuf, void *rxbuf, size_t len)
 Transfers and receives bytes from the SPI interface. When a byte is transferred the function tries to read a byte from the SPI interface if the given reception buffer is not NULL. More...