EZR32 Wonder Gecko Software Documentation  ezr32wg-doc-4.2.1
Receive_Plugin

Receive plugin, see Plugin System Layer on page EZRADIODRV EzRadio Peripheral Interface driver for detailed documentation.

. More...

Data Structures

struct  EZRADIODRV_PacketRxHandle
 EzRadio receive plug-in instance initialization and handler structure. More...
 

Macros

#define EZRADIODRV_RECEIVE_PLUGIN_INIT_DEFAULT
 Configuration data for EzRadio receive plug-in. More...
 

Typedefs

typedef struct EZRADIODRV_PacketRxHandle EZRADIODRV_PacketRxHandle_t
 EzRadio receive plug-in instance initialization and handler structure.
 

Functions

Ecode_t ezradioStartRx (EZRADIODRV_Handle_t radioHandle)
 Set Radio to RX mode, packet length is always coming from the radio configuration. More...
 

Detailed Description

Macro Definition Documentation

#define EZRADIODRV_RECEIVE_PLUGIN_INIT_DEFAULT
Value:
{ /* Packet RX */ \
NULL, /* CallBack */ \
0, /* Channel */ \
NULL, /* Packet buffer */ \
},

Definition at line 77 of file ezradio_receive_plugin.h.

Function Documentation

Ecode_t ezradioStartRx ( EZRADIODRV_Handle_t  radioHandle)
Parameters
radioHandleHandler of the EzRadio driver instance where packet buffer, callback and channel configurations are set.
Returns
ECODE_EMDRV_EZRADIODRV_OK on success. On failure an appropriate EZRADIODRV Ecode_t is returned.

Definition at line 64 of file ezradio_receive_plugin.c.

References EZRADIODRV_PacketRxHandle::channel, ECODE_EMDRV_EZRADIODRV_OK, ezradio_start_rx(), and EZRADIODRV_HandleData::packetRx.