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.
Dependents: DISCO_IOT-wifi_client
Fork of stm-spirit1-rf-driver 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 210 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 293 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 167 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 249 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 122 of file radio_spi.cpp.
Generated on Tue Jul 12 2022 14:16:16 by
 1.7.2
 1.7.2 
    