Home
last modified time | relevance | path

Searched refs:errorsrc (Results 1 – 2 of 2) sorted by relevance

/lk-master/external/platform/nrfx/drivers/src/
A Dnrfx_twi.c114 static nrfx_err_t twi_process_error(uint32_t errorsrc) in twi_process_error() argument
118 if (errorsrc & NRF_TWI_ERROR_OVERRUN) in twi_process_error()
123 if (errorsrc & NRF_TWI_ERROR_ADDRESS_NACK) in twi_process_error()
128 if (errorsrc & NRF_TWI_ERROR_DATA_NACK) in twi_process_error()
470 if (errorsrc) in twi_tx_start_transfer()
472 ret_code = twi_process_error(errorsrc); in twi_tx_start_transfer()
543 if (errorsrc) in twi_rx_start_transfer()
545 ret_code = twi_process_error(errorsrc); in twi_rx_start_transfer()
704 if (errorsrc & NRF_TWI_ERROR_ADDRESS_NACK) in twi_irq_handler()
709 else if (errorsrc & NRF_TWI_ERROR_DATA_NACK) in twi_irq_handler()
[all …]
A Dnrfx_twim.c140 static nrfx_err_t twi_process_error(uint32_t errorsrc) in twi_process_error() argument
144 if (errorsrc & NRF_TWIM_ERROR_OVERRUN) in twi_process_error()
149 if (errorsrc & NRF_TWIM_ERROR_ADDRESS_NACK) in twi_process_error()
154 if (errorsrc & NRF_TWIM_ERROR_DATA_NACK) in twi_process_error()
584 uint32_t errorsrc = nrf_twim_errorsrc_get_and_clear(p_twim); in twim_xfer() local
588 if (errorsrc) in twim_xfer()
590 err_code = twi_process_error(errorsrc); in twim_xfer()
777 uint32_t errorsrc = nrf_twim_errorsrc_get_and_clear(p_twim); in twim_irq_handler() local
778 if (errorsrc & NRF_TWIM_ERROR_ADDRESS_NACK) in twim_irq_handler()
783 else if (errorsrc & NRF_TWIM_ERROR_DATA_NACK) in twim_irq_handler()
[all …]

Completed in 6 milliseconds