![]() |
nRF5 SDK
v16.0.0
|
| Choose documentation: | nRF5 SDK | S112 SoftDevice API | S113 SoftDevice API | S132 SoftDevice API | S140 SoftDevice API | S212 SoftDevice API | S312 SoftDevice API | S332 SoftDevice API | S340 SoftDevice API |
Enumerations | |
| enum | ral_fsm_events_t { E_RESET, E_TRX_END, E_TX_REQ, E_TRX_OFF, E_TX_ON, E_FORCE_TX_ON, E_RX_ON } |
| enum | ral_fsm_states_t { S_TRX_OFF, S_TX_ON, S_BUSY_TX, S_RX_ON, S_BUSY_RX } |
Functions | |
| ral_fsm_states_t | ral_fsm_current_state_get (void) |
| Reads current state of RAL state machine. More... | |
| void | ral_fsm_init (void) |
| Initializes finite state machine of radio chip. | |
| void | ral_fsm_event_post (ral_fsm_events_t event, void *p_data) |
| Sends new event to radio FSM. This function is used for changing radio state. More... | |
| enum ral_fsm_events_t |
| ral_fsm_states_t ral_fsm_current_state_get | ( | void | ) |
Reads current state of RAL state machine.
| void ral_fsm_event_post | ( | ral_fsm_events_t | event, |
| void * | p_data | ||
| ) |
Sends new event to radio FSM. This function is used for changing radio state.
| event | - event id for FSM. |
| p_data | - pointer to event specific data (expects pointer to ral_mem_t). |