Lines Matching refs:err_code
62 nrfx_err_t err_code; in nrfx_adc_init() local
67 err_code = NRFX_ERROR_ALREADY; in nrfx_adc_init()
69 err_code = NRFX_ERROR_INVALID_STATE; in nrfx_adc_init()
73 NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_adc_init()
74 return err_code; in nrfx_adc_init()
86 err_code = NRFX_SUCCESS; in nrfx_adc_init()
87 NRFX_LOG_INFO("Function: %s, error code: %s.", __func__, NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_adc_init()
88 return err_code; in nrfx_adc_init()
179 nrfx_err_t err_code; in nrfx_adc_sample_convert() local
184 err_code = NRFX_ERROR_BUSY; in nrfx_adc_sample_convert()
187 NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_adc_sample_convert()
188 return err_code; in nrfx_adc_sample_convert()
213 err_code = NRFX_SUCCESS; in nrfx_adc_sample_convert()
216 NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_adc_sample_convert()
217 return err_code; in nrfx_adc_sample_convert()
262 nrfx_err_t err_code; in nrfx_adc_buffer_convert() local
268 err_code = NRFX_ERROR_BUSY; in nrfx_adc_buffer_convert()
271 NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_adc_buffer_convert()
272 return err_code; in nrfx_adc_buffer_convert()
301 err_code = NRFX_SUCCESS; in nrfx_adc_buffer_convert()
304 NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_adc_buffer_convert()
305 return err_code; in nrfx_adc_buffer_convert()