Searched refs:p_handlers (Results 1 – 2 of 2) sorted by relevance
38 btc_sm_handler_t *p_handlers; member70 btc_sm_handle_t btc_sm_init(const btc_sm_handler_t *p_handlers, btc_sm_state_t initial_state) in btc_sm_init() argument74 if (p_handlers == NULL) { in btc_sm_init()81 p_cb->p_handlers = (btc_sm_handler_t *)p_handlers; in btc_sm_init()84 p_cb->p_handlers[initial_state](BTC_SM_ENTER_EVT, NULL); in btc_sm_init()153 if (p_cb->p_handlers[p_cb->state](event, data) == FALSE) { in btc_sm_dispatch()184 if (p_cb->p_handlers[p_cb->state](BTC_SM_EXIT_EVT, NULL) == FALSE) { in btc_sm_change_state()192 if (p_cb->p_handlers[p_cb->state](BTC_SM_ENTER_EVT, NULL) == FALSE) { in btc_sm_change_state()
64 btc_sm_handle_t btc_sm_init(const btc_sm_handler_t *p_handlers,