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.
Dependencies: WNC14A2AInterface
Dependents: http-example-wnc http-example-wnc-modified
BSP
| Modules | |
| X-NUCLEO-IDS02Ax | |
| Enumerations | |
| enum | RadioGpioMode { RADIO_MODE_GPIO_IN = 0x00, RADIO_MODE_EXTI_IN, RADIO_MODE_GPIO_OUT } | 
| enum | RadioGpioPin { RADIO_GPIO_0 = 0x00, RADIO_GPIO_1 = 0x01, RADIO_GPIO_2 = 0x02, RADIO_GPIO_3 = 0x03, RADIO_GPIO_SDN = 0x04 } | 
| 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. | |
Enumeration Type Documentation
| enum RadioGpioMode | 
- Enumerator:
- RADIO_MODE_GPIO_IN - Work as GPIO input - RADIO_MODE_EXTI_IN - Work as EXTI - RADIO_MODE_GPIO_OUT - Work as GPIO output 
Definition at line 68 of file radio_gpio.h.
| enum RadioGpioPin | 
- Enumerator:
- RADIO_GPIO_0 - GPIO_0 selected - RADIO_GPIO_1 - GPIO_1 selected - RADIO_GPIO_2 - GPIO_2 selected - RADIO_GPIO_3 - GPIO_3 selected - RADIO_GPIO_SDN - GPIO_SDN selected 
Definition at line 76 of file radio_gpio.h.
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.
- 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 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 17:40:27 by
 1.7.2
 1.7.2