Defines

hal/nrf24lu1p/hal_nrf_hw.h File Reference

hal_nrf macros for nRF24LU1+ More...

#include "nrf24lu1p.h"

Go to the source code of this file.

Defines

#define CSN_LOW()   do { RFCSN = 0; } while(false)
#define CSN_HIGH()   do { RFCSN = 1; } while(false)
#define CE_LOW()   do { RFCE = 0; } while(false)
#define CE_HIGH()   do { RFCE = 1; } while(false)
#define HAL_NRF_HW_SPI_WRITE(d)   do{RFDAT = d; RFSPIF = 0;} while(false)
#define HAL_NRF_HW_SPI_READ()   RFDAT
#define HAL_NRF_HW_SPI_BUSY   (!RFSPIF)
#define CE_PULSE()

Detailed Description

hal_nrf macros for nRF24LU1+

Definition in file hal_nrf_hw.h.