| /external/platform/nrfx/drivers/src/ |
| A D | nrfx_ppi.c | 255 return err_code; in nrfx_ppi_channel_alloc() 276 return err_code; in nrfx_ppi_channel_free() 306 return err_code; in nrfx_ppi_channel_assign() 323 return err_code; in nrfx_ppi_channel_fork_assign() 329 return err_code; in nrfx_ppi_channel_fork_assign() 350 return err_code; in nrfx_ppi_channel_enable() 372 return err_code; in nrfx_ppi_channel_disable() 403 return err_code; in nrfx_ppi_group_alloc() 427 return err_code; in nrfx_ppi_group_free() 448 return err_code; in nrfx_ppi_group_enable() [all …]
|
| A D | nrfx_dppi.c | 126 return err_code; in nrfx_dppi_channel_alloc() 145 return err_code; in nrfx_dppi_channel_free() 161 return err_code; in nrfx_dppi_channel_enable() 178 return err_code; in nrfx_dppi_channel_disable() 207 return err_code; in nrfx_dppi_group_alloc() 225 return err_code; in nrfx_dppi_group_free() 242 return err_code; in nrfx_dppi_channel_include_in_group() 259 return err_code; in nrfx_dppi_channel_remove_from_group() 275 return err_code; in nrfx_dppi_group_clear() 291 return err_code; in nrfx_dppi_group_enable() [all …]
|
| A D | nrfx_pdm.c | 175 nrfx_err_t err_code; in nrfx_pdm_init() local 183 return err_code; in nrfx_pdm_init() 193 return err_code; in nrfx_pdm_init() 231 return err_code; in nrfx_pdm_init() 262 nrfx_err_t err_code; in nrfx_pdm_start() local 278 return err_code; in nrfx_pdm_start() 288 return err_code; in nrfx_pdm_start() 335 return err_code; in nrfx_pdm_buffer_set() 341 nrfx_err_t err_code; in nrfx_pdm_stop() local 360 return err_code; in nrfx_pdm_stop() [all …]
|
| A D | nrfx_adc.c | 60 nrfx_err_t err_code; in nrfx_adc_init() local 68 return err_code; in nrfx_adc_init() 80 err_code = NRFX_SUCCESS; in nrfx_adc_init() 82 return err_code; in nrfx_adc_init() 165 nrfx_err_t err_code; in nrfx_adc_sample_convert() local 174 return err_code; in nrfx_adc_sample_convert() 199 err_code = NRFX_SUCCESS; in nrfx_adc_sample_convert() 203 return err_code; in nrfx_adc_sample_convert() 247 nrfx_err_t err_code; in nrfx_adc_buffer_convert() local 257 return err_code; in nrfx_adc_buffer_convert() [all …]
|
| A D | nrfx_twis.c | 461 nrfx_err_t err_code; in nrfx_twis_init() local 472 return err_code; in nrfx_twis_init() 497 return err_code; in nrfx_twis_init() 550 return err_code; in nrfx_twis_init() 694 nrfx_err_t err_code; in nrfx_twis_tx_prepare() local 704 return err_code; in nrfx_twis_tx_prepare() 713 return err_code; in nrfx_twis_tx_prepare() 722 return err_code; in nrfx_twis_tx_prepare() 730 return err_code; in nrfx_twis_tx_prepare() 738 nrfx_err_t err_code; in nrfx_twis_rx_prepare() local [all …]
|
| A D | nrfx_rtc.c | 74 nrfx_err_t err_code; in nrfx_rtc_init() local 84 return err_code; in nrfx_rtc_init() 94 err_code = NRFX_SUCCESS; in nrfx_rtc_init() 96 return err_code; in nrfx_rtc_init() 142 nrfx_err_t err_code; in nrfx_rtc_cc_disable() local 157 return err_code; in nrfx_rtc_cc_disable() 163 err_code = NRFX_SUCCESS; in nrfx_rtc_cc_disable() 165 return err_code; in nrfx_rtc_cc_disable() 176 nrfx_err_t err_code; in nrfx_rtc_cc_set() local 199 return err_code; in nrfx_rtc_cc_set() [all …]
|
| A D | nrfx_spis.c | 134 nrfx_err_t err_code; in nrfx_spis_init() local 140 err_code = NRFX_ERROR_INVALID_STATE; in nrfx_spis_init() 144 return err_code; in nrfx_spis_init() 153 return err_code; in nrfx_spis_init() 173 err_code = NRFX_ERROR_BUSY; in nrfx_spis_init() 177 return err_code; in nrfx_spis_init() 267 err_code = NRFX_ERROR_INTERNAL; in nrfx_spis_init() 271 return err_code; in nrfx_spis_init() 393 nrfx_err_t err_code; in nrfx_spis_buffers_set() local 411 return err_code; in nrfx_spis_buffers_set() [all …]
|
| A D | nrfx_uarte.c | 249 return err_code; in nrfx_uarte_init() 274 return err_code; in nrfx_uarte_init() 298 return err_code; in nrfx_uarte_init() 360 nrfx_err_t err_code; in nrfx_uarte_tx() local 370 return err_code; in nrfx_uarte_tx() 379 return err_code; in nrfx_uarte_tx() 389 err_code = NRFX_SUCCESS; in nrfx_uarte_tx() 424 return err_code; in nrfx_uarte_tx() 443 nrfx_err_t err_code; in nrfx_uarte_rx() local 453 return err_code; in nrfx_uarte_rx() [all …]
|
| A D | nrfx_uart.c | 171 return err_code; in nrfx_uart_init() 187 return err_code; in nrfx_uart_init() 210 return err_code; in nrfx_uart_init() 275 nrfx_err_t err_code; in nrfx_uart_tx() local 283 return err_code; in nrfx_uart_tx() 295 err_code = NRFX_SUCCESS; in nrfx_uart_tx() 320 return err_code; in nrfx_uart_tx() 359 nrfx_err_t err_code; in nrfx_uart_rx() local 381 return err_code; in nrfx_uart_rx() 436 return err_code; in nrfx_uart_rx() [all …]
|
| A D | nrfx_i2s.c | 193 nrfx_err_t err_code; in nrfx_i2s_init() local 197 err_code = NRFX_ERROR_INVALID_STATE; in nrfx_i2s_init() 201 return err_code; in nrfx_i2s_init() 217 return err_code; in nrfx_i2s_init() 281 nrfx_err_t err_code; in nrfx_i2s_start() local 289 return err_code; in nrfx_i2s_start() 298 err_code = NRFX_ERROR_INVALID_ADDR; in nrfx_i2s_start() 302 return err_code; in nrfx_i2s_start() 352 nrfx_err_t err_code; in nrfx_i2s_next_buffers_set() local 360 return err_code; in nrfx_i2s_next_buffers_set() [all …]
|
| A D | nrfx_lpcomp.c | 78 nrfx_err_t err_code; in nrfx_lpcomp_init() local 82 err_code = NRFX_ERROR_INVALID_STATE; in nrfx_lpcomp_init() 85 NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_lpcomp_init() 86 return err_code; in nrfx_lpcomp_init() 94 err_code = NRFX_ERROR_BUSY; in nrfx_lpcomp_init() 97 NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_lpcomp_init() 98 return err_code; in nrfx_lpcomp_init() 130 err_code = NRFX_SUCCESS; in nrfx_lpcomp_init() 131 NRFX_LOG_INFO("Function: %s, error code: %s.", __func__, NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_lpcomp_init() 132 return err_code; in nrfx_lpcomp_init()
|
| A D | nrfx_twim.c | 225 nrfx_err_t err_code; in nrfx_twim_init() local 233 return err_code; in nrfx_twim_init() 258 return err_code; in nrfx_twim_init() 293 err_code = NRFX_SUCCESS; in nrfx_twim_init() 295 return err_code; in nrfx_twim_init() 392 return err_code; in twim_xfer() 403 return err_code; in twim_xfer() 434 return err_code; in twim_xfer() 456 return err_code; in twim_xfer() 601 return err_code; in twim_xfer() [all …]
|
| A D | nrfx_spi.c | 75 nrfx_err_t err_code; in nrfx_spi_init() local 79 err_code = NRFX_ERROR_INVALID_STATE; in nrfx_spi_init() 83 return err_code; in nrfx_spi_init() 101 err_code = NRFX_ERROR_BUSY; in nrfx_spi_init() 105 return err_code; in nrfx_spi_init() 181 err_code = NRFX_SUCCESS; in nrfx_spi_init() 183 return err_code; in nrfx_spi_init() 355 nrfx_err_t err_code = NRFX_SUCCESS; in nrfx_spi_xfer() local 359 err_code = NRFX_ERROR_BUSY; in nrfx_spi_xfer() 363 return err_code; in nrfx_spi_xfer() [all …]
|
| A D | nrfx_comp.c | 78 nrfx_err_t err_code; in nrfx_comp_init() local 82 err_code = NRFX_ERROR_INVALID_STATE; in nrfx_comp_init() 85 NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_comp_init() 86 return err_code; in nrfx_comp_init() 94 err_code = NRFX_ERROR_BUSY; in nrfx_comp_init() 97 NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_comp_init() 98 return err_code; in nrfx_comp_init() 141 err_code = NRFX_SUCCESS; in nrfx_comp_init() 142 NRFX_LOG_INFO("Function: %s, error code: %s.", __func__, NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_comp_init() 143 return err_code; in nrfx_comp_init()
|
| A D | nrfx_spim.c | 257 nrfx_err_t err_code; in nrfx_spim_init() local 265 return err_code; in nrfx_spim_init() 282 return err_code; in nrfx_spim_init() 313 return err_code; in nrfx_spim_init() 425 err_code = NRFX_SUCCESS; in nrfx_spim_init() 427 return err_code; in nrfx_spim_init() 568 nrfx_err_t err_code; in spim_xfer() local 579 return err_code; in spim_xfer() 652 err_code = NRFX_SUCCESS; in spim_xfer() 654 return err_code; in spim_xfer() [all …]
|
| A D | nrfx_twi.c | 164 nrfx_err_t err_code; in nrfx_twi_init() local 172 return err_code; in nrfx_twi_init() 187 err_code = NRFX_ERROR_BUSY; in nrfx_twi_init() 191 return err_code; in nrfx_twi_init() 224 err_code = NRFX_SUCCESS; in nrfx_twi_init() 226 return err_code; in nrfx_twi_init() 568 nrfx_err_t err_code = NRFX_SUCCESS; in twi_xfer() local 587 err_code = NRFX_ERROR_BUSY; in twi_xfer() 591 return err_code; in twi_xfer() 619 return err_code; in twi_xfer() [all …]
|
| A D | nrfx_wdt.c | 62 nrfx_err_t err_code; in nrfx_wdt_init() local 78 err_code = NRFX_ERROR_INVALID_STATE; in nrfx_wdt_init() 81 NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_wdt_init() 82 return err_code; in nrfx_wdt_init() 101 err_code = NRFX_SUCCESS; in nrfx_wdt_init() 102 NRFX_LOG_INFO("Function: %s, error code: %s.", __func__, NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_wdt_init() 103 return err_code; in nrfx_wdt_init()
|
| A D | nrfx_qdec.c | 96 nrfx_err_t err_code; in nrfx_qdec_init() local 100 err_code = NRFX_ERROR_INVALID_STATE; in nrfx_qdec_init() 103 NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_qdec_init() 104 return err_code; in nrfx_qdec_init() 149 err_code = NRFX_SUCCESS; in nrfx_qdec_init() 150 NRFX_LOG_INFO("Function: %s, error code: %s.", __func__, NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_qdec_init() 151 return err_code; in nrfx_qdec_init()
|
| A D | nrfx_gpiote.c | 204 nrfx_err_t err_code; in nrfx_gpiote_init() local 212 return err_code; in nrfx_gpiote_init() 238 err_code = NRFX_SUCCESS; in nrfx_gpiote_init() 240 return err_code; in nrfx_gpiote_init() 285 nrfx_err_t err_code = NRFX_SUCCESS; in nrfx_gpiote_out_init() local 289 err_code = NRFX_ERROR_BUSY; in nrfx_gpiote_out_init() 315 if (err_code == NRFX_SUCCESS) in nrfx_gpiote_out_init() 332 return err_code; in nrfx_gpiote_out_init() 517 nrfx_err_t err_code = NRFX_SUCCESS; in nrfx_gpiote_in_init() local 522 err_code = NRFX_ERROR_BUSY; in nrfx_gpiote_in_init() [all …]
|
| A D | nrfx_timer.c | 84 nrfx_err_t err_code; in nrfx_timer_init() local 88 err_code = NRFX_ERROR_INVALID_STATE; in nrfx_timer_init() 91 NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_timer_init() 92 return err_code; in nrfx_timer_init() 126 err_code = NRFX_SUCCESS; in nrfx_timer_init() 129 NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_timer_init() 130 return err_code; in nrfx_timer_init()
|
| A D | nrfx_clock.c | 181 nrfx_err_t err_code = NRFX_SUCCESS; in nrfx_clock_init() local 184 err_code = NRFX_ERROR_ALREADY_INITIALIZED; in nrfx_clock_init() 198 NRFX_LOG_INFO("Function: %s, error code: %s.", __func__, NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_clock_init() 199 return err_code; in nrfx_clock_init() 380 nrfx_err_t err_code = NRFX_SUCCESS; in nrfx_clock_calibration_start() local 411 err_code = NRFX_ERROR_BUSY; in nrfx_clock_calibration_start() 417 NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_clock_calibration_start() 418 return err_code; in nrfx_clock_calibration_start()
|
| /external/platform/lpc15xx/lpcopen/periph_dma_rom_uart/example/src/ |
| A D | dma_rom_uart.c | 110 static volatile ErrorCode_t err_code; variable 138 static void dmaTXDone(uint32_t err_code, uint32_t int_type) in dmaTXDone() argument 140 if ((ErrorCode_t) err_code == LPC_OK) { in dmaTXDone() 167 err_code = pDMAApi->dma_init(dma_handle, &dma_ch_cfg, &dma_task_cfg); in dmaTXDone() 168 err_code = pDMAApi->dma_set_valid(dma_handle, DMAREQ_USART0_TX); in dmaTXDone() 173 static void dmaRXDone(uint32_t err_code, uint32_t int_type) in dmaRXDone() argument 176 if ((ErrorCode_t) err_code == LPC_OK) { in dmaRXDone() 236 err_code = pDMAApi->dma_init(dma_handle, &dma_ch_cfg, &dma_task_cfg); in dmaTXSend() 237 err_code = pDMAApi->dma_set_valid(dma_handle, DMAREQ_USART0_TX); in dmaTXSend() 281 err_code = pDMAApi->dma_link(dma_handle, &dma_task_cfg, 1); in dmaRXQueue() [all …]
|
| /external/platform/lpc15xx/lpcopen/periph_i2c_rom_interrupt_slave/example/src/ |
| A D | periph_i2c_rom_interrupt_slave.c | 133 static void cbTXI2CComplete(uint32_t err_code, uint32_t n) in cbTXI2CComplete() argument 135 TXintErrCode = (int) err_code; in cbTXI2CComplete() 163 static void cbRXI2CComplete(uint32_t err_code, uint32_t n) in cbRXI2CComplete() argument 165 RXintErrCode = (int) err_code; in cbRXI2CComplete()
|
| /external/platform/lpc15xx/lpcopen/periph_adc_rom/example/src/ |
| A D | adc_rom.c | 66 static ErrorCode_t err_code; variable 152 err_code = LPC_OK; in SysTick_Handler() 153 err_code |= (ErrorCode_t) pAdcApi->adc_seqa_read(adc_handle[0], ¶m[0]); in SysTick_Handler() 154 err_code |= (ErrorCode_t) pAdcApi->adc_seqa_read(adc_handle[1], ¶m[1]); in SysTick_Handler() 155 if (err_code != LPC_OK) { in SysTick_Handler()
|
| /external/platform/lpc15xx/lpcopen/periph_spi_rom_interrupt/example/src/ |
| A D | periph_spi_rom_interrupt.c | 134 static void cbSpiComplete(uint32_t err_code, uint32_t n) in cbSpiComplete() argument 137 if ((err_code == LPC_OK) && (n == (sizeof(xferArray) / sizeof(xferArray[0])))) { in cbSpiComplete() 144 intErrCode = (int) err_code; in cbSpiComplete()
|