Home
last modified time | relevance | path

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

12345

/hal_nordic-3.6.0/nrfx/drivers/include/
Dnrfx_ppi.h92 nrfx_err_t nrfx_ppi_channel_alloc(nrf_ppi_channel_t * p_channel);
105 nrfx_err_t nrfx_ppi_channel_free(nrf_ppi_channel_t channel);
118 nrfx_err_t nrfx_ppi_channel_assign(nrf_ppi_channel_t channel, uint32_t eep, uint32_t tep);
130 nrfx_err_t nrfx_ppi_channel_fork_assign(nrf_ppi_channel_t channel, uint32_t fork_tep);
141 nrfx_err_t nrfx_ppi_channel_enable(nrf_ppi_channel_t channel);
152 nrfx_err_t nrfx_ppi_channel_disable(nrf_ppi_channel_t channel);
165 nrfx_err_t nrfx_ppi_group_alloc(nrf_ppi_channel_group_t * p_group);
178 nrfx_err_t nrfx_ppi_group_free(nrf_ppi_channel_group_t group);
200 nrfx_err_t nrfx_ppi_channels_include_in_group(uint32_t channel_mask,
214 NRFX_STATIC_INLINE nrfx_err_t nrfx_ppi_channel_include_in_group(nrf_ppi_channel_t channel,
[all …]
Dnrfx_dppi.h65 nrfx_err_t nrfx_dppi_channel_alloc(uint8_t * p_channel);
79 nrfx_err_t nrfx_dppi_channel_free(uint8_t channel);
89 nrfx_err_t nrfx_dppi_channel_enable(uint8_t channel);
102 nrfx_err_t nrfx_dppi_channel_disable(uint8_t channel);
115 nrfx_err_t nrfx_dppi_group_alloc(nrf_dppi_channel_group_t * p_group);
128 nrfx_err_t nrfx_dppi_group_free(nrf_dppi_channel_group_t group);
142 nrfx_err_t nrfx_dppi_channel_include_in_group(uint8_t channel,
157 nrfx_err_t nrfx_dppi_channel_remove_from_group(uint8_t channel,
171 nrfx_err_t nrfx_dppi_group_clear(nrf_dppi_channel_group_t group);
181 nrfx_err_t nrfx_dppi_group_enable(nrf_dppi_channel_group_t group);
[all …]
Dnrfx_qspi.h219 nrfx_err_t nrfx_qspi_init(nrfx_qspi_config_t const * p_config,
237 nrfx_err_t nrfx_qspi_reconfigure(nrfx_qspi_config_t const * p_config);
256 nrfx_err_t nrfx_qspi_activate(bool wait);
267 nrfx_err_t nrfx_qspi_deactivate(void);
307 nrfx_err_t nrfx_qspi_read(void * p_rx_buffer,
341 nrfx_err_t nrfx_qspi_write(void const * p_tx_buffer,
371 nrfx_err_t nrfx_qspi_erase(nrf_qspi_erase_len_t length,
384 nrfx_err_t nrfx_qspi_chip_erase(void);
407 nrfx_err_t nrfx_qspi_mem_busy_check(void);
442 nrfx_err_t nrfx_qspi_cinstr_xfer(nrf_qspi_cinstr_conf_t const * p_config,
[all …]
Dnrfx_grtc.h123 nrfx_err_t nrfx_grtc_channel_alloc(uint8_t * p_channel);
140 nrfx_err_t nrfx_grtc_channel_free(uint8_t channel);
165 nrfx_err_t nrfx_grtc_init(uint8_t interrupt_priority);
175 nrfx_err_t nrfx_grtc_rtcounter_cc_disable(void);
201 nrfx_err_t nrfx_grtc_rtcounter_cc_absolute_set(nrfx_grtc_rtcounter_handler_data_t * handler_data,
248 nrfx_err_t nrfx_grtc_syscounter_start(bool busy_wait, uint8_t * p_main_cc_channel);
258 nrfx_err_t nrfx_grtc_action_perform(nrfx_grtc_action_t action);
292 nrfx_err_t nrfx_grtc_syscounter_cc_disable(uint8_t channel);
308 nrfx_err_t nrfx_grtc_syscounter_cc_absolute_set(nrfx_grtc_channel_t * p_chan_data,
327 nrfx_err_t nrfx_grtc_syscounter_cc_relative_set(nrfx_grtc_channel_t * p_chan_data,
[all …]
Dnrfx_saadc.h271 nrfx_err_t nrfx_saadc_init(uint8_t interrupt_priority);
306 nrfx_err_t nrfx_saadc_channels_config(nrfx_saadc_channel_t const * p_channels,
324 nrfx_err_t nrfx_saadc_channel_config(nrfx_saadc_channel_t const * p_channel);
344 nrfx_err_t nrfx_saadc_channels_deconfig(uint32_t channel_mask);
363 nrfx_err_t nrfx_saadc_simple_mode_set(uint32_t channel_mask,
400 nrfx_err_t nrfx_saadc_advanced_mode_set(uint32_t channel_mask,
419 nrfx_err_t nrfx_saadc_buffer_set(nrf_saadc_value_t * p_buffer, uint16_t size);
433 nrfx_err_t nrfx_saadc_mode_trigger(void);
468 nrfx_err_t nrfx_saadc_limits_set(uint8_t channel, int16_t limit_low, int16_t limit_high);
480 nrfx_err_t nrfx_saadc_offset_calibrate(nrfx_saadc_event_handler_t calib_event_handler);
Dnrfx_gpiote.h211 nrfx_err_t nrfx_gpiote_init(nrfx_gpiote_t const * p_instance, uint8_t interrupt_priority);
249 nrfx_err_t nrfx_gpiote_channel_alloc(nrfx_gpiote_t const * p_instance, uint8_t * p_channel);
267 nrfx_err_t nrfx_gpiote_channel_free(nrfx_gpiote_t const * p_instance, uint8_t channel);
296 nrfx_err_t nrfx_gpiote_input_configure(nrfx_gpiote_t const * p_instance,
323 nrfx_err_t nrfx_gpiote_output_configure(nrfx_gpiote_t const * p_instance,
341 nrfx_err_t nrfx_gpiote_pin_uninit(nrfx_gpiote_t const * p_instance, nrfx_gpiote_pin_t pin);
386 nrfx_err_t nrfx_gpiote_channel_get(nrfx_gpiote_t const * p_instance,
643 nrfx_err_t nrfx_gpiote_init(uint8_t interrupt_priority);
649 nrfx_err_t nrfx_gpiote_channel_alloc(uint8_t * p_channel);
651 nrfx_err_t nrfx_gpiote_channel_free(uint8_t channel);
[all …]
Dnrfx_uarte.h379 nrfx_err_t nrfx_uarte_init(nrfx_uarte_t const * p_instance,
393 nrfx_err_t nrfx_uarte_reconfigure(nrfx_uarte_t const * p_instance,
470 nrfx_err_t nrfx_uarte_tx(nrfx_uarte_t const * p_instance,
502 nrfx_err_t nrfx_uarte_tx_abort(nrfx_uarte_t const * p_instance, bool sync);
525 nrfx_err_t nrfx_uarte_rx_enable(nrfx_uarte_t const * p_instance, uint32_t flags);
543 nrfx_err_t nrfx_uarte_rx_buffer_set(nrfx_uarte_t const * p_instance,
591 nrfx_err_t nrfx_uarte_rx(nrfx_uarte_t const * p_instance,
606 nrfx_err_t nrfx_uarte_rx_ready(nrfx_uarte_t const * p_instance, size_t * p_rx_amount);
633 nrfx_err_t nrfx_uarte_rx_abort(nrfx_uarte_t const * p_instance, bool disable_all, bool sync);
699 nrfx_err_t nrfx_uarte_int_trigger(nrfx_uarte_t const * p_instance);
Dnrfx_nfct.h196 nrfx_err_t nrfx_nfct_init(nrfx_nfct_config_t const * p_config);
244 nrfx_err_t nrfx_nfct_rx(nrfx_nfct_data_desc_t const * p_rx_data);
258 nrfx_err_t nrfx_nfct_tx(nrfx_nfct_data_desc_t const * p_tx_data,
274 nrfx_err_t nrfx_nfct_bits_tx(nrfx_nfct_data_desc_t const * p_tx_data,
304 nrfx_err_t nrfx_nfct_parameter_set(nrfx_nfct_param_t const * p_param);
323 nrfx_err_t nrfx_nfct_nfcid1_default_bytes_get(uint8_t * const p_nfcid1_buff,
Dnrfx_pdm.h153 nrfx_err_t nrfx_pdm_init(nrfx_pdm_config_t const * p_config,
166 nrfx_err_t nrfx_pdm_reconfigure(nrfx_pdm_config_t const * p_config);
206 nrfx_err_t nrfx_pdm_start(void);
218 nrfx_err_t nrfx_pdm_stop(void);
233 nrfx_err_t nrfx_pdm_buffer_set(int16_t * buffer, uint16_t buffer_length);
Dnrfx_wdt.h164 nrfx_err_t nrfx_wdt_init(nrfx_wdt_t const * p_instance,
184 nrfx_err_t nrfx_wdt_init(nrfx_wdt_t const * p_instance,
218 nrfx_err_t nrfx_wdt_reconfigure(nrfx_wdt_t const * p_instance,
232 nrfx_err_t nrfx_wdt_channel_alloc(nrfx_wdt_t const * p_instance,
272 nrfx_err_t nrfx_wdt_stop(nrfx_wdt_t const * p_instance);
Dnrfx_twim.h221 nrfx_err_t nrfx_twim_init(nrfx_twim_t const * p_instance,
236 nrfx_err_t nrfx_twim_reconfigure(nrfx_twim_t const * p_instance,
325 nrfx_err_t nrfx_twim_xfer(nrfx_twim_t const * p_instance,
381 NRFX_STATIC_INLINE nrfx_err_t nrfx_twim_bus_recover(uint32_t scl_pin, uint32_t sda_pin);
384 NRFX_STATIC_INLINE nrfx_err_t nrfx_twim_bus_recover(uint32_t scl_pin, uint32_t sda_pin) in nrfx_twim_bus_recover()
Dnrfx_twi.h229 nrfx_err_t nrfx_twi_init(nrfx_twi_t const * p_instance,
244 nrfx_err_t nrfx_twi_reconfigure(nrfx_twi_t const * p_instance,
314 nrfx_err_t nrfx_twi_xfer(nrfx_twi_t const * p_instance,
364 NRFX_STATIC_INLINE nrfx_err_t nrfx_twi_bus_recover(uint32_t scl_pin, uint32_t sda_pin);
367 NRFX_STATIC_INLINE nrfx_err_t nrfx_twi_bus_recover(uint32_t scl_pin, uint32_t sda_pin) in nrfx_twi_bus_recover()
Dnrfx_i2s.h239 nrfx_err_t nrfx_i2s_init(nrfx_i2s_t const * p_instance,
295 nrfx_err_t nrfx_i2s_start(nrfx_i2s_t const * p_instance,
335 nrfx_err_t nrfx_i2s_start(nrfx_i2s_t const * p_instance,
361 nrfx_err_t nrfx_i2s_next_buffers_set(nrfx_i2s_t const * p_instance,
Dnrfx_twis.h198 nrfx_err_t nrfx_twis_init(nrfx_twis_t const * p_instance,
212 nrfx_err_t nrfx_twis_reconfigure(nrfx_twis_t const * p_instance,
297 nrfx_err_t nrfx_twis_tx_prepare(nrfx_twis_t const * p_instance,
331 nrfx_err_t nrfx_twis_rx_prepare(nrfx_twis_t const * p_instance,
Dnrfx_adc.h155 nrfx_err_t nrfx_adc_init(nrfx_adc_config_t const * p_config,
231 nrfx_err_t nrfx_adc_sample_convert(nrfx_adc_channel_t const * p_channel,
263 nrfx_err_t nrfx_adc_buffer_convert(nrf_adc_value_t * buffer, uint16_t size);
Dnrfx_clock.h82 nrfx_err_t nrfx_clock_init(nrfx_clock_event_handler_t event_handler);
143 nrfx_err_t nrfx_clock_divider_set(nrf_clock_domain_t domain,
245 nrfx_err_t nrfx_clock_calibration_start(void);
255 nrfx_err_t nrfx_clock_is_calibrating(void);
/hal_nordic-3.6.0/nrfx/drivers/src/
Dnrfx_dppi.c96 nrfx_err_t nrfx_dppi_channel_alloc(uint8_t * p_channel) in nrfx_dppi_channel_alloc()
101 nrfx_err_t nrfx_dppi_channel_free(uint8_t channel) in nrfx_dppi_channel_free()
107 nrfx_err_t nrfx_dppi_channel_enable(uint8_t channel) in nrfx_dppi_channel_enable()
109 nrfx_err_t err_code = NRFX_SUCCESS; in nrfx_dppi_channel_enable()
123 nrfx_err_t nrfx_dppi_channel_disable(uint8_t channel) in nrfx_dppi_channel_disable()
125 nrfx_err_t err_code = NRFX_SUCCESS; in nrfx_dppi_channel_disable()
140 nrfx_err_t nrfx_dppi_group_alloc(nrf_dppi_channel_group_t * p_group) in nrfx_dppi_group_alloc()
145 nrfx_err_t nrfx_dppi_group_free(nrf_dppi_channel_group_t group) in nrfx_dppi_group_free()
151 nrfx_err_t nrfx_dppi_channel_include_in_group(uint8_t channel, in nrfx_dppi_channel_include_in_group()
154 nrfx_err_t err_code = NRFX_SUCCESS; in nrfx_dppi_channel_include_in_group()
[all …]
Dnrfx_ppi.c142 nrfx_err_t nrfx_ppi_channel_alloc(nrf_ppi_channel_t * p_channel) in nrfx_ppi_channel_alloc()
148 nrfx_err_t nrfx_ppi_channel_free(nrf_ppi_channel_t channel) in nrfx_ppi_channel_free()
161 nrfx_err_t nrfx_ppi_channel_assign(nrf_ppi_channel_t channel, uint32_t eep, uint32_t tep) in nrfx_ppi_channel_assign()
168 nrfx_err_t err_code = NRFX_SUCCESS; in nrfx_ppi_channel_assign()
190 nrfx_err_t nrfx_ppi_channel_fork_assign(nrf_ppi_channel_t channel, uint32_t fork_tep) in nrfx_ppi_channel_fork_assign()
192 nrfx_err_t err_code = NRFX_SUCCESS; in nrfx_ppi_channel_fork_assign()
217 nrfx_err_t nrfx_ppi_channel_enable(nrf_ppi_channel_t channel) in nrfx_ppi_channel_enable()
219 nrfx_err_t err_code = NRFX_SUCCESS; in nrfx_ppi_channel_enable()
239 nrfx_err_t nrfx_ppi_channel_disable(nrf_ppi_channel_t channel) in nrfx_ppi_channel_disable()
241 nrfx_err_t err_code = NRFX_SUCCESS; in nrfx_ppi_channel_disable()
[all …]
Dnrfx_grtc.c167 static nrfx_err_t syscounter_check(uint8_t channel) in syscounter_check()
227 nrfx_err_t nrfx_grtc_syscounter_get(uint64_t * p_counter) in nrfx_grtc_syscounter_get()
233 nrfx_err_t err_code = NRFX_SUCCESS; in nrfx_grtc_syscounter_get()
267 nrfx_err_t nrfx_grtc_channel_alloc(uint8_t * p_channel) in nrfx_grtc_channel_alloc()
270 nrfx_err_t err_code = nrfx_flag32_alloc(&m_cb.available_channels, p_channel); in nrfx_grtc_channel_alloc()
283 nrfx_err_t nrfx_grtc_channel_free(uint8_t channel) in nrfx_grtc_channel_free()
286 nrfx_err_t err_code; in nrfx_grtc_channel_free()
316 nrfx_err_t nrfx_grtc_init(uint8_t interrupt_priority) in nrfx_grtc_init()
318 nrfx_err_t err_code = NRFX_SUCCESS; in nrfx_grtc_init()
358 nrfx_err_t nrfx_grtc_rtcounter_cc_disable(void) in nrfx_grtc_rtcounter_cc_disable()
[all …]
Dnrfx_qspi.c116 static nrfx_err_t qspi_activate(bool wait);
117 static nrfx_err_t qspi_ready_wait(void);
120 static nrfx_err_t qspi_xfer(void * p_buffer, in qspi_xfer()
280 static nrfx_err_t qspi_ready_wait(void) in qspi_ready_wait()
299 static nrfx_err_t qspi_configure(nrfx_qspi_config_t const * p_config) in qspi_configure()
350 static nrfx_err_t qspi_activate(bool wait) in qspi_activate()
359 nrfx_err_t ret = qspi_ready_wait(); in qspi_activate()
410 nrfx_err_t nrfx_qspi_init(nrfx_qspi_config_t const * p_config, in nrfx_qspi_init()
414 nrfx_err_t err_code; in nrfx_qspi_init()
455 nrfx_err_t nrfx_qspi_reconfigure(nrfx_qspi_config_t const * p_config) in nrfx_qspi_reconfigure()
[all …]
Dnrfx_wdt.c102 static nrfx_err_t wdt_init(nrfx_wdt_t const * p_instance, in wdt_init()
107 nrfx_err_t err_code; in wdt_init()
147 nrfx_err_t nrfx_wdt_init(nrfx_wdt_t const * p_instance, in nrfx_wdt_init()
155 nrfx_err_t nrfx_wdt_init(nrfx_wdt_t const * p_instance, in nrfx_wdt_init()
163 nrfx_err_t nrfx_wdt_reconfigure(nrfx_wdt_t const * p_instance, in nrfx_wdt_reconfigure()
168 nrfx_err_t err_code; in nrfx_wdt_reconfigure()
233 nrfx_err_t nrfx_wdt_channel_alloc(nrfx_wdt_t const * p_instance, nrfx_wdt_channel_id * p_channel_id) in nrfx_wdt_channel_alloc()
235 nrfx_err_t result; in nrfx_wdt_channel_alloc()
265 nrfx_err_t nrfx_wdt_stop(nrfx_wdt_t const * p_instance) in nrfx_wdt_stop()
Dnrfx_pdm.c117 nrfx_err_t nrfx_pdm_init(nrfx_pdm_config_t const * p_config, in nrfx_pdm_init()
122 nrfx_err_t err_code; in nrfx_pdm_init()
169 nrfx_err_t nrfx_pdm_reconfigure(nrfx_pdm_config_t const * p_config) in nrfx_pdm_reconfigure()
228 nrfx_err_t nrfx_pdm_start(void) in nrfx_pdm_start()
231 nrfx_err_t err_code; in nrfx_pdm_start()
260 nrfx_err_t nrfx_pdm_buffer_set(int16_t * buffer, uint16_t buffer_length) in nrfx_pdm_buffer_set()
275 nrfx_err_t err_code = NRFX_SUCCESS; in nrfx_pdm_buffer_set()
313 nrfx_err_t nrfx_pdm_stop(void) in nrfx_pdm_stop()
316 nrfx_err_t err_code; in nrfx_pdm_stop()
Dnrfx_saadc.c122 static nrfx_err_t saadc_channel_count_get(uint32_t ch_to_activate_mask, in saadc_channel_count_get()
249 nrfx_err_t nrfx_saadc_init(uint8_t interrupt_priority) in nrfx_saadc_init()
251 nrfx_err_t err_code; in nrfx_saadc_init()
297 nrfx_err_t nrfx_saadc_channels_config(nrfx_saadc_channel_t const * p_channels, in nrfx_saadc_channels_config()
324 nrfx_err_t nrfx_saadc_channel_config(nrfx_saadc_channel_t const * p_channel) in nrfx_saadc_channel_config()
346 nrfx_err_t nrfx_saadc_channels_deconfig(uint32_t channel_mask) in nrfx_saadc_channels_deconfig()
360 nrfx_err_t nrfx_saadc_simple_mode_set(uint32_t channel_mask, in nrfx_saadc_simple_mode_set()
373 nrfx_err_t err = saadc_channel_count_get(channel_mask, &active_ch_count); in nrfx_saadc_simple_mode_set()
402 nrfx_err_t nrfx_saadc_advanced_mode_set(uint32_t channel_mask, in nrfx_saadc_advanced_mode_set()
416 nrfx_err_t err = saadc_channel_count_get(channel_mask, &active_ch_count); in nrfx_saadc_advanced_mode_set()
[all …]
/hal_nordic-3.6.0/nrfx/helpers/
Dnrfx_gppi_dppi_ppib_lumos.c57 static nrfx_err_t dppic_channel_get(nrfx_interconnect_dppic_t * p_dppic, in dppic_channel_get()
73 static nrfx_err_t dppic_virtual_channel_set(nrfx_interconnect_dppic_t * p_dppic, in dppic_virtual_channel_set()
82 static nrfx_err_t dppic_channel_alloc(nrfx_interconnect_dppic_t * p_dppic, uint8_t * p_channel) in dppic_channel_alloc()
87 static nrfx_err_t dppic_channel_free(nrfx_interconnect_dppic_t * p_dppic, uint8_t channel) in dppic_channel_free()
92 static nrfx_err_t ppib_channel_get(nrfx_interconnect_ppib_t * p_ppib, in ppib_channel_get()
109 static nrfx_err_t ppib_channel_alloc(nrfx_interconnect_ppib_t * p_ppib, uint8_t * p_channel) in ppib_channel_alloc()
115 static nrfx_err_t ppib_channel_free(nrfx_interconnect_ppib_t * p_ppib, uint8_t channel) in ppib_channel_free()
120 static nrfx_err_t ppib_virtual_channel_set(nrfx_interconnect_ppib_t * p_ppib, in ppib_virtual_channel_set()
136 nrfx_err_t err = dppic_channel_get(dppic, virtual_channel, &dppi_channel); in virtual_channel_enable_set()
174 static nrfx_err_t create_ppib_connection(uint8_t virtual_channel, in create_ppib_connection()
[all …]
Dnrfx_gppi_dppi_ppib.c72 static nrfx_err_t channel_free(nrfx_atomic_t * p_allocated_channels, uint8_t channel) in channel_free()
82 static nrfx_err_t channel_allocate(nrfx_atomic_t * p_channels_available, in channel_allocate()
168 static nrfx_err_t ipct_connection_remove(nrfx_interconnect_ipct_t const * p_src_ipct, in ipct_connection_remove()
179 nrfx_err_t err_code; in ipct_connection_remove()
252 static nrfx_err_t ipct_connection_create(nrfx_interconnect_ipct_t const * p_src_ipct, in ipct_connection_create()
263 nrfx_err_t err_code; in ipct_connection_create()
329 static nrfx_err_t local_connection_create(nrfx_interconnect_apb_t const * p_src_apb, in local_connection_create()
333 nrfx_err_t err_code; in local_connection_create()
404 static nrfx_err_t local_connection_remove(nrfx_interconnect_apb_t const * p_src_apb, in local_connection_remove()
408 nrfx_err_t err_code; in local_connection_remove()
[all …]

12345