CCxxxx Driver
0.0.1
|
Provides the function prototypes for interfacing with the CCxxxx over SPI. See SPI Hardware Implementation. More...
#include <ccx_api.h>
Go to the source code of this file.
Functions | |
uint8_t | ccxSpiInit (void) |
Initialise the SPI hardware. More... | |
uint8_t | ccxSpiShutdown (void) |
Shutdown the SPI hardware. More... | |
uint8_t | ccxSpiPinChipSelectSet (uint8_t setValue) |
Set the state of the Chip Select (CS) line. More... | |
uint8_t | ccxSpiPinSlaveOutRead (uint8_t *currentValue) |
Read the current state of the Slave Out (SO) line. More... | |
uint8_t | ccxSpiTransaction (uint8_t address, const uint8_t *writeBytes, uint8_t writeLength, uint8_t *readBytes, uint8_t readLength) |
Start a SPI transaction to the CC1101, either read or write. More... | |
uint8_t | ccxSpiDelay25us (void) |
Provide a reliable, 25 us delay. More... | |
Provides the function prototypes for interfacing with the CCxxxx over SPI. See SPI Hardware Implementation.