36 #include "ezradio_cmd.h"
37 #include "ezradio_prop.h"
39 #include "ezradio_api_lib_add.h"
43 #if defined(EZRADIO_PLUGIN_RECEIVE)
47 #if defined( EZRADIO_PLUGIN_AUTO_ACK) && defined(EZRADIO_PLUGIN_TRANSMIT)
68 EZRADIO_CMD_START_RX_ARG_NEXT_STATE1_RXTIMEOUT_STATE_ENUM_NOCHANGE,
69 EZRADIO_CMD_START_RX_ARG_NEXT_STATE2_RXVALID_STATE_ENUM_READY,
70 EZRADIO_CMD_START_RX_ARG_NEXT_STATE3_RXINVALID_STATE_ENUM_RX );
90 if ( radioHandle == NULL )
96 if ( radioReplyHandle->GET_INT_STATUS.PH_PEND & EZRADIO_CMD_GET_INT_STATUS_REP_PH_PEND_PACKET_RX_PEND_BIT)
99 ezradio_cmd_reply_t radioReplyLocal;
116 #if defined(EZRADIO_PLUGIN_AUTO_ACK) && defined(EZRADIO_PLUGIN_TRANSMIT)
124 ezradioTransmitAutoAck(radioHandle);
139 #endif //#if defined( EZRADIO_PLUGIN_RECEIVE )
uint8_t * pktBuf
Pointer to the receive buffer.
EzRadio transmit plug-in managed by the plug-in manager if enabled.
#define ECODE_EMDRV_EZRADIODRV_OK
Success return value.
This file contains the common API library of the EZRadio and EZRadioPRO families. ...
This file contains the plug-in manager for the EZRadio and EZRadioPRO chip families.
CMSIS Cortex-M Peripheral Access Layer for Silicon Laboratories microcontroller devices.
Acknowledge transmission is skipped for one cycle, eg. not to transmit ACK if ACK is received...
uint8_t channel
Reception channel.
Ecode_t ezradioStartRx(EZRADIODRV_Handle_t radioHandle)
Set Radio to RX mode, packet length is always coming from the radio configuration.
void ezradio_fifo_info(uint8_t fifo, ezradio_cmd_reply_t *ezradioReply)
EZRADIODRV_AutoAckHandle_t autoAck
Auto-acknowledge plug-in handler.
void ezradio_read_rx_fifo(uint8_t numbytes, uint8_t *prxdata)
void ezradio_start_rx(uint8_t channel, uint8_t condition, uint16_t rx_len, uint8_t next_state1, uint8_t next_state2, uint8_t next_state3)
uint32_t Ecode_t
Typedef for API function error code return values.
EZRADIODRV_PacketRxHandle_t packetRx
Packet reception plug-in handler.
#define ECODE_EMDRV_EZRADIODRV_ILLEGAL_HANDLE
Illegal SPI handle.
Immediate acknowledge transmission.
EZRADIODRV_Callback_t userCallback
User callback.
EZRADIODRV_AutoAckMode_t ackMode
Auto ack mode.
ezradio_cmd_reply_t * EZRADIODRV_ReplyHandle_t
EZradio reply union handle.