silabs rail tutorial code example
Example: silabs rail tutorial
void RAILCb_Generic(RAIL_Handle_t railHandle, RAIL_Events_t events);
RAIL_Handle_t railHandle;
static RAIL_Config_t railCfg = {
.eventsCallback = &RAILCb_Generic,
};
void initRadio()
{
halInit();
railHandle = RAIL_Init(&railCfg, NULL);
}
void RAILCb_Generic(RAIL_Handle_t railHandle, RAIL_Events_t events)
{
}