Home
last modified time | relevance | path

Searched refs:p_event (Results 1 – 25 of 25) sorted by relevance

/hal_nordic-latest/nrfx/samples/src/nrfx_spim_spis/advanced_non_blocking/
Dmain.c158 static void spim_handler(nrfx_spim_evt_t const * p_event, void * p_context) in spim_handler() argument
161 if (p_event->type == NRFX_SPIM_EVENT_DONE) in spim_handler()
165 size_t tx_length = p_event->xfer_desc.tx_length; in spim_handler()
166 size_t rx_length = p_event->xfer_desc.rx_length; in spim_handler()
192 static void spis_handler(nrfx_spis_evt_t const * p_event, void * p_context) in spis_handler() argument
194 if (p_event->evt_type == NRFX_SPIS_XFER_DONE) in spis_handler()
201 size_t tx_length = p_event->tx_amount; in spis_handler()
202 size_t rx_length = p_event->rx_amount; in spis_handler()
/hal_nordic-latest/nrfx/samples/src/nrfx_twim_twis/tx_rx_non_blocking/
Dmain.c111 static void twim_handler(nrfx_twim_evt_t const * p_event, void * p_context) in twim_handler() argument
119 if (p_event->type == NRFX_TWIM_EVT_DONE) in twim_handler()
139 NRFX_LOG_INFO("--> MASTER handler, event: %d.", p_event->type); in twim_handler()
148 static void twis_handler(nrfx_twis_evt_t const * p_event) in twis_handler() argument
153 switch (p_event->type) in twis_handler()
176 NRFX_LOG_INFO("--> SLAVE event: %d.", p_event->type); in twis_handler()
/hal_nordic-latest/nrfx/samples/src/nrfx_saadc/advanced_non_blocking_internal_timer/
Dmain.c129 static void saadc_handler(nrfx_saadc_evt_t const * p_event) in saadc_handler() argument
138 switch (p_event->type) in saadc_handler()
165 NRFX_LOG_INFO("Sample buffer address == %p", p_event->data.done.p_buffer); in saadc_handler()
167 samples_number = p_event->data.done.size; in saadc_handler()
171 i, NRFX_SAADC_SAMPLE_GET(RESOLUTION, p_event->data.done.p_buffer, i)); in saadc_handler()
/hal_nordic-latest/nrfx/samples/src/nrfx_twim_twis/txtx/
Dmain.c201 static void twim_handler(nrfx_twim_evt_t const * p_event, void * p_context) in twim_handler() argument
203 if (p_event->type == NRFX_TWIM_EVT_DONE) in twim_handler()
210 NRFX_LOG_INFO("--> Master event: %d.", p_event->type); in twim_handler()
219 static void twis_handler(nrfx_twis_evt_t const * p_event) in twis_handler() argument
227 if (p_event->type == NRFX_TWIS_EVT_WRITE_REQ) in twis_handler()
244 else if (p_event->type == NRFX_TWIS_EVT_WRITE_DONE) in twis_handler()
/hal_nordic-latest/nrfx/samples/src/nrfx_spim_spis/non_blocking/
Dmain.c111 static void spim_handler(nrfx_spim_evt_t const * p_event, void * p_context) in spim_handler() argument
113 if (p_event->type == NRFX_SPIM_EVENT_DONE) in spim_handler()
127 static void spis_handler(nrfx_spis_evt_t const * p_event, void * p_context) in spis_handler() argument
129 if (p_event->evt_type == NRFX_SPIS_XFER_DONE) in spis_handler()
/hal_nordic-latest/nrfx/samples/src/nrfx_saadc/maximum_performance/
Dmain.c145 static void saadc_handler(nrfx_saadc_evt_t const * p_event) in saadc_handler() argument
154 switch(p_event->type) in saadc_handler()
187 NRFX_LOG_INFO("Sample buffer address == %p", p_event->data.done.p_buffer); in saadc_handler()
189 samples_number = p_event->data.done.size; in saadc_handler()
193 i, NRFX_SAADC_SAMPLE_GET(RESOLUTION, p_event->data.done.p_buffer, i)); in saadc_handler()
/hal_nordic-latest/nrfx/samples/src/nrfx_twim_twis/txrx/
Dmain.c232 static void twim_handler(nrfx_twim_evt_t const * p_event, void * p_context) in twim_handler() argument
234 if (p_event->type == NRFX_TWIM_EVT_DONE) in twim_handler()
241 NRFX_LOG_INFO("--> Master event: %d.", p_event->type); in twim_handler()
250 static void twis_handler(nrfx_twis_evt_t const * p_event) in twis_handler() argument
258 switch (p_event->type) in twis_handler()
/hal_nordic-latest/nrfx/samples/src/nrfx_spim/non_blocking/
Dmain.c81 static void spim_handler(nrfx_spim_evt_t const * p_event, void * p_context) in spim_handler() argument
83 if (p_event->type == NRFX_SPIM_EVENT_DONE) in spim_handler()
87 NRFX_LOG_INFO("Message received: %s", p_event->xfer_desc.p_rx_buffer); in spim_handler()
/hal_nordic-latest/nrfx/samples/src/nrfx_uarte/tx_rx_non_blocking/
Dmain.c84 static void uarte_handler(nrfx_uarte_event_t const * p_event, void * p_context) in uarte_handler() argument
87 if (p_event->type == NRFX_UARTE_EVT_TX_DONE) in uarte_handler()
95 NRFX_LOG_INFO("UARTE event: %d", p_event->type); in uarte_handler()
/hal_nordic-latest/nrfx/samples/src/nrfx_saadc/simple_non_blocking/
Dmain.c130 static void saadc_handler(nrfx_saadc_evt_t const * p_event) in saadc_handler() argument
137 switch (p_event->type) in saadc_handler()
142 samples_number = p_event->data.done.size; in saadc_handler()
146 i, NRFX_SAADC_SAMPLE_GET(RESOLUTION, p_event->data.done.p_buffer, i)); in saadc_handler()
/hal_nordic-latest/nrfx/samples/src/nrfx_uarte/rx_double_buffered/
Dmain.c122 static void uarte_handler(nrfx_uarte_event_t const * p_event, void * p_context) in uarte_handler() argument
147 if (p_event->type == NRFX_UARTE_EVT_TX_DONE) in uarte_handler()
150 NRFX_LOG_INFO("--> Bytes transfered: %u", p_event->data.tx.length); in uarte_handler()
/hal_nordic-latest/nrfx/drivers/src/
Dnrfx_qspi.c960 static void qspi_extended_event_process(nrfx_qspi_evt_ext_t * p_event) in qspi_extended_event_process() argument
965 p_event->type = NRFX_QSPI_EVENT_WRITE_DONE; in qspi_extended_event_process()
966 qspi_event_xfer_handle(&p_event->data.xfer); in qspi_extended_event_process()
970 p_event->type = NRFX_QSPI_EVENT_READ_DONE; in qspi_extended_event_process()
971 qspi_event_xfer_handle(&p_event->data.xfer); in qspi_extended_event_process()
975 p_event->type = NRFX_QSPI_EVENT_ERASE_DONE; in qspi_extended_event_process()
976 qspi_event_erase_handle(&p_event->data.erase); in qspi_extended_event_process()
/hal_nordic-latest/drivers/nrf_802154/sl/include/timer/
Dnrf_802154_timer_coord.h96 void nrf_802154_timer_coord_timestamp_prepare(const nrf_802154_sl_event_handle_t * p_event);
/hal_nordic-latest/nrfx/drivers/include/
Dnrfx_adc.h139 typedef void (*nrfx_adc_event_handler_t)(nrfx_adc_evt_t const * p_event);
Dnrfx_spis.h170 typedef void (*nrfx_spis_event_handler_t)(nrfx_spis_evt_t const * p_event,
Dnrfx_nfct.h175 typedef void (*nrfx_nfct_handler_t)(nrfx_nfct_evt_t const * p_event);
Dnrfx_spi.h206 typedef void (* nrfx_spi_evt_handler_t)(nrfx_spi_evt_t const * p_event,
Dnrfx_twis.h127 typedef void (*nrfx_twis_event_handler_t)(nrfx_twis_evt_t const * p_event);
Dnrfx_uart.h185 typedef void (*nrfx_uart_event_handler_t)(nrfx_uart_event_t const * p_event,
Dnrfx_saadc.h259 typedef void (* nrfx_saadc_event_handler_t)(nrfx_saadc_evt_t const * p_event);
Dnrfx_twi.h209 typedef void (* nrfx_twi_evt_handler_t)(nrfx_twi_evt_t const * p_event,
Dnrfx_twim.h197 typedef void (* nrfx_twim_evt_handler_t)(nrfx_twim_evt_t const * p_event,
Dnrfx_spim.h248 typedef void (* nrfx_spim_evt_handler_t)(nrfx_spim_evt_t const * p_event,
Dnrfx_usbd.h208 typedef void (*nrfx_usbd_event_handler_t)(nrfx_usbd_evt_t const * p_event);
Dnrfx_uarte.h356 typedef void (*nrfx_uarte_event_handler_t)(nrfx_uarte_event_t const * p_event,