Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of EV-COG-AD3029LZ by
SPI Exported Functions
[SPI Driver]
Functions | |
StatusBytes | SdkEvalSpiWriteRegisters (uint8_t cRegAddress, uint8_t cNbBytes, uint8_t *pcBuffer) |
Write single or multiple RF Transceivers register. | |
StatusBytes | SdkEvalSpiReadRegisters (uint8_t cRegAddress, uint8_t cNbBytes, uint8_t *pcBuffer) |
Read single or multiple SPIRIT1 register. | |
StatusBytes | SdkEvalSpiCommandStrobes (uint8_t cCommandCode) |
Send a command. | |
StatusBytes | SdkEvalSpiWriteFifo (uint8_t cNbBytes, uint8_t *pcBuffer) |
Write data into TX FIFO. | |
StatusBytes | SdkEvalSpiReadFifo (uint8_t cNbBytes, uint8_t *pcBuffer) |
Read data from RX FIFO. |
Function Documentation
StatusBytes SdkEvalSpiCommandStrobes | ( | uint8_t | cCommandCode ) |
Send a command.
- Parameters:
-
cCommandCode,: command code to be sent
- Return values:
-
StatusBytes
Definition at line 209 of file radio_spi.cpp.
StatusBytes SdkEvalSpiReadFifo | ( | uint8_t | cNbBytes, |
uint8_t * | pcBuffer | ||
) |
Read data from RX FIFO.
- Parameters:
-
cNbBytes,: number of bytes to read from RX FIFO pcBuffer,: pointer to data read from RX FIFO
- Return values:
-
StatusBytes
Definition at line 292 of file radio_spi.cpp.
StatusBytes SdkEvalSpiReadRegisters | ( | uint8_t | cRegAddress, |
uint8_t | cNbBytes, | ||
uint8_t * | pcBuffer | ||
) |
Read single or multiple SPIRIT1 register.
- Parameters:
-
cRegAddress,: base register's address to be read cNbBytes,: number of registers and bytes to be read pcBuffer,: pointer to the buffer of registers' values read
- Return values:
-
StatusBytes
Definition at line 166 of file radio_spi.cpp.
StatusBytes SdkEvalSpiWriteFifo | ( | uint8_t | cNbBytes, |
uint8_t * | pcBuffer | ||
) |
Write data into TX FIFO.
- Parameters:
-
cNbBytes,: number of bytes to be written into TX FIFO pcBuffer,: pointer to data to write
- Return values:
-
StatusBytes
Definition at line 248 of file radio_spi.cpp.
StatusBytes SdkEvalSpiWriteRegisters | ( | uint8_t | cRegAddress, |
uint8_t | cNbBytes, | ||
uint8_t * | pcBuffer | ||
) |
Write single or multiple RF Transceivers register.
Friend Functions.
- Parameters:
-
cRegAddress,: base register's address to be write cNbBytes,: number of registers and bytes to be write pcBuffer,: pointer to the buffer of values have to be written into registers
- Return values:
-
StatusBytes
Definition at line 121 of file radio_spi.cpp.
Generated on Wed Jul 13 2022 17:25:38 by
