EFR32 Mighty Gecko 1 Software Documentation  efr32mg1-doc-5.1.2
ezradio_hal.h
Go to the documentation of this file.
1 /**************************************************************************/
33 #ifndef _EZRADIO_HAL_H_
34 #define _EZRADIO_HAL_H_
35 
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39 
40 #include "ezradiodrv_config.h"
41 
42 /***************************************************************************/
47 /***************************************************************************/
52 /***************************************************************************/
58 void ezradio_hal_GpioInit( GPIOINT_IrqCallbackPtr_t ezradioIrqCallback, bool enablePTI );
59 void ezradio_hal_SpiInit( void );
60 
61 void ezradio_hal_AssertShutdown (void);
63 void ezradio_hal_ClearNsel (void);
64 void ezradio_hal_SetNsel (void);
65 uint8_t ezradio_hal_NirqLevel (void);
66 
67 #if defined(EZRADIODRV_DISABLE_PTI) && defined(EZRADIODRV_COMM_USE_GPIO1_FOR_CTS)
68 uint8_t ezradio_hal_Gpio1Level(void);
69 #endif
70 
71 void ezradio_hal_SpiWriteByte (uint8_t byteToWrite);
72 void ezradio_hal_SpiReadByte (uint8_t* readByte);
73 
74 void ezradio_hal_SpiWriteData (uint8_t byteCount, uint8_t* pData);
75 void ezradio_hal_SpiReadData (uint8_t byteCount, uint8_t* pData);
76 
77 void ezradio_hal_SpiWriteReadData(uint8_t byteCount, uint8_t* txData, uint8_t* rxData);
78 
83 #ifdef __cplusplus
84 }
85 #endif
86 
87 #endif //_EZRADIO_HAL_H_
void ezradio_hal_SetNsel(void)
Definition: ezradio_hal.c:165
void ezradio_hal_SpiInit(void)
Definition: ezradio_hal.c:126
void ezradio_hal_AssertShutdown(void)
Definition: ezradio_hal.c:141
void ezradio_hal_GpioInit(GPIOINT_IrqCallbackPtr_t ezradioIrqCallback, bool enablePTI)
Definition: ezradio_hal.c:66
void ezradio_hal_SpiWriteReadData(uint8_t byteCount, uint8_t *txData, uint8_t *rxData)
Definition: ezradio_hal.c:241
void ezradio_hal_SpiWriteData(uint8_t byteCount, uint8_t *pData)
Definition: ezradio_hal.c:218
EZRADIODRV configuration file.
void ezradio_hal_SpiWriteByte(uint8_t byteToWrite)
Definition: ezradio_hal.c:197
void ezradio_hal_SpiReadData(uint8_t byteCount, uint8_t *pData)
Definition: ezradio_hal.c:229
void ezradio_hal_SpiReadByte(uint8_t *readByte)
Definition: ezradio_hal.c:207
void(* GPIOINT_IrqCallbackPtr_t)(uint8_t pin)
GPIO interrupt callback function pointer.
Definition: gpiointerrupt.h:46
void ezradio_hal_ClearNsel(void)
Definition: ezradio_hal.c:157
uint8_t ezradio_hal_NirqLevel(void)
Definition: ezradio_hal.c:175
void ezradio_hal_DeassertShutdown(void)
Definition: ezradio_hal.c:149