EFM32 Happy Gecko Software Documentation  efm32hg-doc-5.1.2
ezradio_comm.h
Go to the documentation of this file.
1 /**************************************************************************/
33 #ifndef _EZRADIO_COMM_H_
34 #define _EZRADIO_COMM_H_
35 
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39 
40 /***************************************************************************/
45 /***************************************************************************/
50 /***************************************************************************/
56 #if defined(EZRADIODRV_SPI_4WIRE_MODE)
57 #define EZRADIODRV_MAX_CTS_BUFF_SIZE 257
58 #endif
59 
60 extern uint8_t ezradio_comm_CtsWentHigh;
61 
62 uint8_t ezradio_comm_GetResp(uint8_t byteCount, uint8_t* pData);
63 void ezradio_comm_SendCmd(uint8_t byteCount, uint8_t* pData);
64 void ezradio_comm_ReadData(uint8_t cmd, uint8_t pollCts, uint8_t byteCount, uint8_t* pData);
65 void ezradio_comm_WriteData(uint8_t cmd, uint8_t pollCts, uint8_t byteCount, uint8_t* pData);
66 
67 uint8_t ezradio_comm_PollCTS(void);
68 uint8_t ezradio_comm_SendCmdGetResp(uint8_t cmdByteCount, uint8_t* pCmdData,
69  uint8_t respByteCount, uint8_t* pRespData);
70 void ezradio_comm_ClearCTS(void);
71 
76 #ifdef __cplusplus
77 }
78 #endif
79 
80 #endif //_EZRADIO_COMM_H_
void ezradio_comm_ClearCTS(void)
Definition: ezradio_comm.c:278
uint8_t ezradio_comm_PollCTS(void)
Definition: ezradio_comm.c:247
uint8_t ezradio_comm_GetResp(uint8_t byteCount, uint8_t *pData)
Definition: ezradio_comm.c:54
uint8_t ezradio_comm_SendCmdGetResp(uint8_t cmdByteCount, uint8_t *pCmdData, uint8_t respByteCount, uint8_t *pRespData)
Definition: ezradio_comm.c:293
void ezradio_comm_WriteData(uint8_t cmd, uint8_t pollCts, uint8_t byteCount, uint8_t *pData)
Definition: ezradio_comm.c:207
void ezradio_comm_ReadData(uint8_t cmd, uint8_t pollCts, uint8_t byteCount, uint8_t *pData)
Definition: ezradio_comm.c:164
void ezradio_comm_SendCmd(uint8_t byteCount, uint8_t *pData)
Definition: ezradio_comm.c:140
uint8_t ezradio_comm_CtsWentHigh
Definition: ezradio_comm.c:44