TM STM32Fxxx HAL Libraries  v1.0.0
Libraries for STM32Fxxx (F0, F4 and F7 series) devices based on HAL drivers from ST from Tilen Majerle

Library defines. More...

Macros

#define NRF24L01_SPI   SPI3
 
#define NRF24L01_SPI_PINS   TM_SPI_PinsPack_2
 
#define NRF24L01_CSN_PORT   GPIOD
 
#define NRF24L01_CSN_PIN   GPIO_PIN_7
 
#define NRF24L01_CE_PORT   GPIOD
 
#define NRF24L01_CE_PIN   GPIO_PIN_8
 
#define NRF24L01_CE_LOW   TM_GPIO_SetPinLow(NRF24L01_CE_PORT, NRF24L01_CE_PIN)
 
#define NRF24L01_CE_HIGH   TM_GPIO_SetPinHigh(NRF24L01_CE_PORT, NRF24L01_CE_PIN)
 
#define NRF24L01_CSN_LOW   TM_GPIO_SetPinLow(NRF24L01_CSN_PORT, NRF24L01_CSN_PIN)
 
#define NRF24L01_CSN_HIGH   TM_GPIO_SetPinHigh(NRF24L01_CSN_PORT, NRF24L01_CSN_PIN)
 
#define NRF24L01_IRQ_DATA_READY   0x40
 
#define NRF24L01_IRQ_TRAN_OK   0x20
 
#define NRF24L01_IRQ_MAX_RT   0x10
 

Detailed Description

Library defines.

Macro Definition Documentation

#define NRF24L01_IRQ_DATA_READY   0x40

Data ready for receive

#define NRF24L01_IRQ_MAX_RT   0x10

Max retransmissions reached, last transmission failed

#define NRF24L01_IRQ_TRAN_OK   0x20

Transmission went OK