/hal_nordic-3.5.0/nrfx/drivers/src/ |
D | nrfx_timer.c | 62 #define TIMER_FREQUENCY_VALID_CHECK(p_instance, frequency) \ argument 63 ((NRF_TIMER_BASE_FREQUENCY_GET(p_instance->p_reg) % (frequency) == 0) && \ 64 NRFX_IS_POWER_OF_TWO(NRF_TIMER_BASE_FREQUENCY_GET(p_instance->p_reg) / (frequency)) && \ 65 ((NRF_TIMER_BASE_FREQUENCY_GET(p_instance->p_reg) / (frequency)) <= \ 81 static uint32_t prescaler_calculate(nrfx_timer_t const * p_instance, uint32_t frequency) in prescaler_calculate() argument 83 (void)p_instance; in prescaler_calculate() 84 uint32_t base_frequency = NRF_TIMER_BASE_FREQUENCY_GET(p_instance->p_reg); in prescaler_calculate() 86 if (!TIMER_FREQUENCY_VALID_CHECK(p_instance, frequency)) in prescaler_calculate() 93 static nrfx_err_t timer_configure(nrfx_timer_t const * p_instance, in timer_configure() argument 98 prescaler = prescaler_calculate(p_instance, p_config->frequency); in timer_configure() [all …]
|
D | nrfx_rtc.c | 69 nrfx_err_t nrfx_rtc_init(nrfx_rtc_t const * p_instance, in nrfx_rtc_init() argument 77 m_cb[p_instance->instance_id].handler = handler; in nrfx_rtc_init() 79 if (m_cb[p_instance->instance_id].state != NRFX_DRV_STATE_UNINITIALIZED) in nrfx_rtc_init() 88 nrfy_rtc_int_init(p_instance->p_reg, 0, p_config->interrupt_priority, false); in nrfx_rtc_init() 95 nrfy_rtc_periph_configure(p_instance->p_reg, &config); in nrfx_rtc_init() 96 m_cb[p_instance->instance_id].reliable = p_config->reliable; in nrfx_rtc_init() 97 m_cb[p_instance->instance_id].tick_latency = p_config->tick_latency; in nrfx_rtc_init() 98 m_cb[p_instance->instance_id].state = NRFX_DRV_STATE_INITIALIZED; in nrfx_rtc_init() 105 void nrfx_rtc_uninit(nrfx_rtc_t const * p_instance) in nrfx_rtc_uninit() argument 110 NRFX_ASSERT(m_cb[p_instance->instance_id].state != NRFX_DRV_STATE_UNINITIALIZED); in nrfx_rtc_uninit() [all …]
|
D | nrfx_uart.c | 76 static void interrupts_enable(nrfx_uart_t const * p_instance, in interrupts_enable() argument 79 nrf_uart_event_clear(p_instance->p_reg, NRF_UART_EVENT_TXDRDY); in interrupts_enable() 80 nrf_uart_event_clear(p_instance->p_reg, NRF_UART_EVENT_RXTO); in interrupts_enable() 81 nrf_uart_int_enable(p_instance->p_reg, NRF_UART_INT_MASK_TXDRDY | in interrupts_enable() 83 NRFX_IRQ_PRIORITY_SET(nrfx_get_irq_number((void *)p_instance->p_reg), in interrupts_enable() 85 NRFX_IRQ_ENABLE(nrfx_get_irq_number((void *)p_instance->p_reg)); in interrupts_enable() 88 static void interrupts_disable(nrfx_uart_t const * p_instance) in interrupts_disable() argument 90 nrf_uart_int_disable(p_instance->p_reg, NRF_UART_INT_MASK_RXDRDY | in interrupts_disable() 94 NRFX_IRQ_DISABLE(nrfx_get_irq_number((void *)p_instance->p_reg)); in interrupts_disable() 97 static void uart_configure(nrfx_uart_t const * p_instance, in uart_configure() argument [all …]
|
D | nrfx_uarte.c | 77 static void apply_workaround_for_enable_anomaly(nrfx_uarte_t const * p_instance); 79 static void uarte_configure(nrfx_uarte_t const * p_instance, in uarte_configure() argument 128 nrfy_uarte_periph_configure(p_instance->p_reg, &nrfy_config); in uarte_configure() 130 apply_workaround_for_enable_anomaly(p_instance); in uarte_configure() 132 if (m_cb[p_instance->drv_inst_idx].handler) in uarte_configure() 134 nrfy_uarte_int_init(p_instance->p_reg, in uarte_configure() 145 static void pins_to_default(nrfx_uarte_t const * p_instance) in pins_to_default() argument 147 uarte_control_block_t const * p_cb = &m_cb[p_instance->drv_inst_idx]; in pins_to_default() 151 nrfy_uarte_pins_get(p_instance->p_reg, &pins); in pins_to_default() 154 nrfy_uarte_pins_disconnect(p_instance->p_reg); in pins_to_default() [all …]
|
D | nrfx_egu.c | 104 nrfx_err_t nrfx_egu_init(nrfx_egu_t const * p_instance, in nrfx_egu_init() argument 109 NRFX_ASSERT(p_instance); in nrfx_egu_init() 111 egu_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_egu_init() 123 NRFX_IRQ_ENABLE(nrfx_get_irq_number(p_instance->p_reg)); in nrfx_egu_init() 124 NRFX_IRQ_PRIORITY_SET(nrfx_get_irq_number(p_instance->p_reg), interrupt_priority); in nrfx_egu_init() 130 void nrfx_egu_int_enable(nrfx_egu_t const * p_instance, uint32_t mask) in nrfx_egu_int_enable() argument 132 NRFX_ASSERT(p_instance); in nrfx_egu_int_enable() 133 NRFX_ASSERT(m_cb[p_instance->drv_inst_idx].state == NRFX_DRV_STATE_INITIALIZED); in nrfx_egu_int_enable() 134 NRFX_ASSERT(m_cb[p_instance->drv_inst_idx].handler); in nrfx_egu_int_enable() 136 (void)egu_event_mask_get_and_clear(p_instance->p_reg, mask); in nrfx_egu_int_enable() [all …]
|
D | nrfx_pwm.c | 111 static void pins_deconfigure(nrfx_pwm_t const * p_instance) in pins_deconfigure() argument 115 uint32_t pin = nrfy_pwm_pin_get(p_instance->p_reg, ch_idx); in pins_deconfigure() 139 static void pwm_configure(nrfx_pwm_t const * p_instance, nrfx_pwm_config_t const * p_config) in pwm_configure() argument 160 nrfy_pwm_periph_configure(p_instance->p_reg, &nrfy_config); in pwm_configure() 163 nrfy_pwm_int_init(p_instance->p_reg, to_clear, p_config->irq_priority, false); in pwm_configure() 170 static bool pwm_stopped_check(nrfx_pwm_t const * p_instance) in pwm_stopped_check() argument 172 pwm_control_block_t * p_cb = &m_cb[p_instance->instance_id]; in pwm_stopped_check() 176 if (nrfy_pwm_events_process(p_instance->p_reg, in pwm_stopped_check() 186 nrfx_err_t nrfx_pwm_init(nrfx_pwm_t const * p_instance, in nrfx_pwm_init() argument 193 pwm_control_block_t * p_cb = &m_cb[p_instance->instance_id]; in nrfx_pwm_init() [all …]
|
D | nrfx_qdec.c | 66 static void qdec_configure(nrfx_qdec_t const * p_instance, in qdec_configure() argument 94 nrfy_qdec_periph_configure(p_instance->p_reg, &nrfy_config); in qdec_configure() 101 nrfy_qdec_shorts_enable(p_instance->p_reg, NRF_QDEC_SHORT_REPORTRDY_READCLRACC_MASK); in qdec_configure() 107 nrfy_qdec_int_init(p_instance->p_reg, int_mask, p_config->interrupt_priority, true); in qdec_configure() 110 nrfx_err_t nrfx_qdec_init(nrfx_qdec_t const * p_instance, in nrfx_qdec_init() argument 115 NRFX_ASSERT(p_instance); in nrfx_qdec_init() 119 qdec_control_block_t * const p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_qdec_init() 138 qdec_configure(p_instance, p_config); in nrfx_qdec_init() 148 nrfx_err_t nrfx_qdec_reconfigure(nrfx_qdec_t const * p_instance, in nrfx_qdec_reconfigure() argument 152 qdec_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_qdec_reconfigure() [all …]
|
D | nrfx_wdt.c | 59 static void wdt_configure(nrfx_wdt_t const * p_instance, in wdt_configure() argument 70 nrfy_wdt_periph_configure(p_instance->p_reg, &nrfy_conf); in wdt_configure() 73 wdt_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in wdt_configure() 76 nrfy_wdt_int_init(p_instance->p_reg, NRF_WDT_INT_TIMEOUT_MASK, in wdt_configure() 82 nrfx_err_t nrfx_wdt_init(nrfx_wdt_t const * p_instance, in nrfx_wdt_init() argument 89 wdt_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_wdt_init() 112 wdt_configure(p_instance, p_config); in nrfx_wdt_init() 120 nrfx_err_t nrfx_wdt_reconfigure(nrfx_wdt_t const * p_instance, in nrfx_wdt_reconfigure() argument 124 wdt_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_wdt_reconfigure() 134 wdt_configure(p_instance, p_config); in nrfx_wdt_reconfigure() [all …]
|
D | nrfx_twis.c | 431 static inline void nrfx_twis_preprocess_status(nrfx_twis_t const * p_instance) in nrfx_twis_preprocess_status() argument 435 NRF_TWIS_Type * p_reg = p_instance->p_reg; in nrfx_twis_preprocess_status() 436 twis_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_twis_preprocess_status() 444 static void twis_configure(nrfx_twis_t const * p_instance, in twis_configure() argument 466 nrf_twis_pins_set(p_instance->p_reg, p_config->scl_pin, p_config->sda_pin); in twis_configure() 468 nrf_twis_address_set(p_instance->p_reg, 0, p_config->addr[0]); in twis_configure() 469 nrf_twis_address_set(p_instance->p_reg, 1, p_config->addr[1]); in twis_configure() 470 nrf_twis_config_address_set(p_instance->p_reg, (nrf_twis_config_addr_mask_t)addr_mask); in twis_configure() 472 if (m_cb[p_instance->drv_inst_idx].ev_handler) in twis_configure() 477 NRFX_IRQ_PRIORITY_SET(nrfx_get_irq_number(p_instance->p_reg), in twis_configure() [all …]
|
D | nrfx_spi.c | 109 static void spi_configure(nrfx_spi_t const * p_instance, in spi_configure() argument 113 m_cb[p_instance->drv_inst_idx].ss_pin = p_config->ss_pin; in spi_configure() 122 nrf_spi_pins_set(p_instance->p_reg, p_config->sck_pin, mosi_pin, miso_pin); in spi_configure() 124 nrf_spi_frequency_set(p_instance->p_reg, p_config->frequency); in spi_configure() 125 nrf_spi_configure(p_instance->p_reg, p_config->mode, p_config->bit_order); in spi_configure() 127 m_cb[p_instance->drv_inst_idx].orc = p_config->orc; in spi_configure() 129 if (m_cb[p_instance->drv_inst_idx].handler) in spi_configure() 131 NRFX_IRQ_PRIORITY_SET(nrfx_get_irq_number(p_instance->p_reg), in spi_configure() 133 NRFX_IRQ_ENABLE(nrfx_get_irq_number(p_instance->p_reg)); in spi_configure() 137 nrfx_err_t nrfx_spi_init(nrfx_spi_t const * p_instance, in nrfx_spi_init() argument [all …]
|
D | nrfx_spim.c | 246 static void configure_pins(nrfx_spim_t const * p_instance, in configure_pins() argument 249 spim_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in configure_pins() 289 static bool spim_frequency_valid_check(nrfx_spim_t const * p_instance, uint32_t frequency) in spim_frequency_valid_check() argument 291 (void)p_instance; in spim_frequency_valid_check() 353 static bool spim_frequency_valid_check(nrfx_spim_t const * p_instance, uint32_t frequency) in spim_frequency_valid_check() argument 355 uint32_t base_frequency = NRF_SPIM_BASE_FREQUENCY_GET(p_instance->p_reg); in spim_frequency_valid_check() 356 uint32_t prescaler = NRF_SPIM_PRESCALER_CALCULATE(p_instance->p_reg, frequency); in spim_frequency_valid_check() 364 static uint32_t spim_prescaler_calculate(nrfx_spim_t const * p_instance, uint32_t frequency) in spim_prescaler_calculate() argument 366 return NRF_SPIM_PRESCALER_CALCULATE(p_instance->p_reg, frequency); in spim_prescaler_calculate() 372 static nrfx_err_t spim_configuration_verify(nrfx_spim_t const * p_instance, in spim_configuration_verify() argument [all …]
|
D | nrfx_twi.c | 159 static void twi_configure(nrfx_twi_t const * p_instance, in twi_configure() argument 164 nrf_twi_pins_set(p_instance->p_twi, p_config->scl, p_config->sda); in twi_configure() 166 nrf_twi_frequency_set(p_instance->p_twi, p_config->frequency); in twi_configure() 168 if (m_cb[p_instance->drv_inst_idx].handler) in twi_configure() 170 NRFX_IRQ_PRIORITY_SET(nrfx_get_irq_number(p_instance->p_twi), in twi_configure() 172 NRFX_IRQ_ENABLE(nrfx_get_irq_number(p_instance->p_twi)); in twi_configure() 176 nrfx_err_t nrfx_twi_init(nrfx_twi_t const * p_instance, in nrfx_twi_init() argument 182 twi_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_twi_init() 198 if (nrfx_prs_acquire(p_instance->p_twi, in nrfx_twi_init() 199 irq_handlers[p_instance->drv_inst_idx]) != NRFX_SUCCESS) in nrfx_twi_init() [all …]
|
D | nrfx_i2s.c | 129 static void deconfigure_pins(nrfx_i2s_t const * p_instance) in deconfigure_pins() argument 133 nrfy_i2s_pins_get(p_instance->p_reg, &pins); in deconfigure_pins() 209 nrfx_err_t nrfx_i2s_init(nrfx_i2s_t const * p_instance, in nrfx_i2s_init() argument 217 nrfx_i2s_cb_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_i2s_init() 267 nrfy_i2s_periph_configure(p_instance->p_reg, &nrfy_config); in nrfx_i2s_init() 273 nrfy_i2s_int_init(p_instance->p_reg, in nrfx_i2s_init() 286 void nrfx_i2s_uninit(nrfx_i2s_t const * p_instance) in nrfx_i2s_uninit() argument 288 nrfx_i2s_cb_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_i2s_uninit() 292 nrfx_i2s_stop(p_instance); in nrfx_i2s_uninit() 294 nrfy_i2s_int_uninit(p_instance->p_reg); in nrfx_i2s_uninit() [all …]
|
D | nrfx_twim.c | 189 static void twim_configure(nrfx_twim_t const * p_instance, in twim_configure() argument 202 nrfy_twim_periph_configure(p_instance->p_twim, &nrfy_config); in twim_configure() 203 if (m_cb[p_instance->drv_inst_idx].handler) in twim_configure() 205 nrfy_twim_int_init(p_instance->p_twim, 0, p_config->interrupt_priority, false); in twim_configure() 253 nrfx_err_t nrfx_twim_init(nrfx_twim_t const * p_instance, in nrfx_twim_init() argument 259 twim_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_twim_init() 275 if (nrfx_prs_acquire(p_instance->p_twim, in nrfx_twim_init() 276 irq_handlers[p_instance->drv_inst_idx]) != NRFX_SUCCESS) in nrfx_twim_init() 305 twim_configure(p_instance, p_config); in nrfx_twim_init() 315 nrfx_err_t nrfx_twim_reconfigure(nrfx_twim_t const * p_instance, in nrfx_twim_reconfigure() argument [all …]
|
D | nrfx_spis.c | 146 static bool spis_configure(nrfx_spis_t const * p_instance, in spis_configure() argument 149 NRF_SPIS_Type * p_spis = p_instance->p_reg; in spis_configure() 170 spis_cb_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in spis_configure() 226 NRFX_IRQ_PRIORITY_SET(nrfx_get_irq_number(p_instance->p_reg), p_config->irq_priority); in spis_configure() 227 NRFX_IRQ_ENABLE(nrfx_get_irq_number(p_instance->p_reg)); in spis_configure() 232 nrfx_err_t nrfx_spis_init(nrfx_spis_t const * p_instance, in nrfx_spis_init() argument 239 spis_cb_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_spis_init() 242 NRF_SPIS_Type * p_spis = p_instance->p_reg; in nrfx_spis_init() 258 irq_handlers[p_instance->drv_inst_idx]) != NRFX_SUCCESS) in nrfx_spis_init() 295 if (!spis_configure(p_instance, p_config)) in nrfx_spis_init() [all …]
|
/hal_nordic-3.5.0/nrfx/drivers/include/ |
D | nrfx_timer.h | 138 nrfx_err_t nrfx_timer_init(nrfx_timer_t const * p_instance, 152 nrfx_err_t nrfx_timer_reconfigure(nrfx_timer_t const * p_instance, 160 void nrfx_timer_uninit(nrfx_timer_t const * p_instance); 167 void nrfx_timer_enable(nrfx_timer_t const * p_instance); 177 void nrfx_timer_disable(nrfx_timer_t const * p_instance); 187 bool nrfx_timer_is_enabled(nrfx_timer_t const * p_instance); 194 void nrfx_timer_pause(nrfx_timer_t const * p_instance); 201 void nrfx_timer_resume(nrfx_timer_t const * p_instance); 208 void nrfx_timer_clear(nrfx_timer_t const * p_instance); 215 void nrfx_timer_increment(nrfx_timer_t const * p_instance); [all …]
|
D | nrfx_rtc.h | 132 nrfx_err_t nrfx_rtc_init(nrfx_rtc_t const * p_instance, 144 void nrfx_rtc_uninit(nrfx_rtc_t const * p_instance); 151 void nrfx_rtc_enable(nrfx_rtc_t const * p_instance); 158 void nrfx_rtc_disable(nrfx_rtc_t const * p_instance); 186 nrfx_err_t nrfx_rtc_cc_set(nrfx_rtc_t const * p_instance, 202 nrfx_err_t nrfx_rtc_cc_disable(nrfx_rtc_t const * p_instance, uint32_t channel); 212 void nrfx_rtc_tick_enable(nrfx_rtc_t const * p_instance, bool enable_irq); 221 void nrfx_rtc_tick_disable(nrfx_rtc_t const * p_instance); 231 void nrfx_rtc_overflow_enable(nrfx_rtc_t const * p_instance, bool enable_irq); 240 void nrfx_rtc_overflow_disable(nrfx_rtc_t const * p_instance); [all …]
|
D | nrfx_twis.h | 196 nrfx_err_t nrfx_twis_init(nrfx_twis_t const * p_instance, 210 nrfx_err_t nrfx_twis_reconfigure(nrfx_twis_t const * p_instance, 228 void nrfx_twis_uninit(nrfx_twis_t const * p_instance); 240 void nrfx_twis_enable(nrfx_twis_t const * p_instance); 250 void nrfx_twis_disable(nrfx_twis_t const * p_instance); 264 uint32_t nrfx_twis_error_get_and_clear(nrfx_twis_t const * p_instance); 285 nrfx_err_t nrfx_twis_tx_prepare(nrfx_twis_t const * p_instance, 299 NRFX_STATIC_INLINE size_t nrfx_twis_tx_amount(nrfx_twis_t const * p_instance); 319 nrfx_err_t nrfx_twis_rx_prepare(nrfx_twis_t const * p_instance, 333 NRFX_STATIC_INLINE size_t nrfx_twis_rx_amount(nrfx_twis_t const * p_instance); [all …]
|
D | nrfx_pwm.h | 214 nrfx_err_t nrfx_pwm_init(nrfx_pwm_t const * p_instance, 229 nrfx_err_t nrfx_pwm_reconfigure(nrfx_pwm_t const * p_instance, nrfx_pwm_config_t const * p_config); 238 void nrfx_pwm_uninit(nrfx_pwm_t const * p_instance); 272 uint32_t nrfx_pwm_simple_playback(nrfx_pwm_t const * p_instance, 300 uint32_t nrfx_pwm_complex_playback(nrfx_pwm_t const * p_instance, 313 NRFX_STATIC_INLINE void nrfx_pwm_step(nrfx_pwm_t const * p_instance); 338 bool nrfx_pwm_stop(nrfx_pwm_t const * p_instance, bool wait_until_stopped); 348 bool nrfx_pwm_stopped_check(nrfx_pwm_t const * p_instance); 357 NRFX_STATIC_INLINE void nrfx_pwm_sequence_update(nrfx_pwm_t const * p_instance, 370 NRFX_STATIC_INLINE uint32_t nrfx_pwm_task_address_get(nrfx_pwm_t const * p_instance, [all …]
|
D | nrfx_uart.h | 205 nrfx_err_t nrfx_uart_init(nrfx_uart_t const * p_instance, 219 nrfx_err_t nrfx_uart_reconfigure(nrfx_uart_t const * p_instance, 227 void nrfx_uart_uninit(nrfx_uart_t const * p_instance); 237 NRFX_STATIC_INLINE uint32_t nrfx_uart_task_address_get(nrfx_uart_t const * p_instance, 248 NRFX_STATIC_INLINE uint32_t nrfx_uart_event_address_get(nrfx_uart_t const * p_instance, 269 nrfx_err_t nrfx_uart_tx(nrfx_uart_t const * p_instance, 281 bool nrfx_uart_tx_in_progress(nrfx_uart_t const * p_instance); 291 void nrfx_uart_tx_abort(nrfx_uart_t const * p_instance); 328 nrfx_err_t nrfx_uart_rx(nrfx_uart_t const * p_instance, 340 bool nrfx_uart_rx_ready(nrfx_uart_t const * p_instance); [all …]
|
D | nrfx_uarte.h | 193 nrfx_err_t nrfx_uarte_init(nrfx_uarte_t const * p_instance, 207 nrfx_err_t nrfx_uarte_reconfigure(nrfx_uarte_t const * p_instance, 215 void nrfx_uarte_uninit(nrfx_uarte_t const * p_instance); 225 NRFX_STATIC_INLINE uint32_t nrfx_uarte_task_address_get(nrfx_uarte_t const * p_instance, 236 NRFX_STATIC_INLINE uint32_t nrfx_uarte_event_address_get(nrfx_uarte_t const * p_instance, 266 nrfx_err_t nrfx_uarte_tx(nrfx_uarte_t const * p_instance, 279 bool nrfx_uarte_tx_in_progress(nrfx_uarte_t const * p_instance); 292 nrfx_err_t nrfx_uarte_tx_abort(nrfx_uarte_t const * p_instance, bool sync); 336 nrfx_err_t nrfx_uarte_rx(nrfx_uarte_t const * p_instance, 351 nrfx_err_t nrfx_uarte_rx_ready(nrfx_uarte_t const * p_instance, size_t * p_rx_amount); [all …]
|
D | nrfx_egu.h | 94 nrfx_err_t nrfx_egu_init(nrfx_egu_t const * p_instance, 105 void nrfx_egu_int_enable(nrfx_egu_t const * p_instance, uint32_t mask); 115 NRFX_STATIC_INLINE uint32_t nrfx_egu_task_address_get(nrfx_egu_t const * p_instance, 126 NRFX_STATIC_INLINE uint32_t nrfx_egu_event_address_get(nrfx_egu_t const * p_instance, 135 void nrfx_egu_int_disable(nrfx_egu_t const * p_instance, uint32_t mask); 143 void nrfx_egu_trigger(nrfx_egu_t const * p_instance, uint8_t event_idx); 150 void nrfx_egu_uninit(nrfx_egu_t const * p_instance); 162 NRFX_STATIC_INLINE uint32_t nrfx_egu_task_address_get(nrfx_egu_t const * p_instance, in nrfx_egu_task_address_get() argument 165 return nrf_egu_task_address_get(p_instance->p_reg, task); in nrfx_egu_task_address_get() 168 NRFX_STATIC_INLINE uint32_t nrfx_egu_event_address_get(nrfx_egu_t const * p_instance, in nrfx_egu_event_address_get() argument [all …]
|
D | nrfx_wdt.h | 133 nrfx_err_t nrfx_wdt_init(nrfx_wdt_t const * p_instance, 147 nrfx_err_t nrfx_wdt_reconfigure(nrfx_wdt_t const * p_instance, 161 nrfx_err_t nrfx_wdt_channel_alloc(nrfx_wdt_t const * p_instance, 173 void nrfx_wdt_enable(nrfx_wdt_t const * p_instance); 182 void nrfx_wdt_feed(nrfx_wdt_t const * p_instance); 190 void nrfx_wdt_channel_feed(nrfx_wdt_t const * p_instance, nrfx_wdt_channel_id channel_id); 200 NRFX_STATIC_INLINE uint32_t nrfx_wdt_task_address_get(nrfx_wdt_t const * p_instance, 211 NRFX_STATIC_INLINE uint32_t nrfx_wdt_event_address_get(nrfx_wdt_t const * p_instance, 215 NRFX_STATIC_INLINE uint32_t nrfx_wdt_task_address_get(nrfx_wdt_t const * p_instance, in nrfx_wdt_task_address_get() argument 218 return nrfy_wdt_task_address_get(p_instance->p_reg, task); in nrfx_wdt_task_address_get() [all …]
|
D | nrfx_qdec.h | 181 nrfx_err_t nrfx_qdec_init(nrfx_qdec_t const * p_instance, 196 nrfx_err_t nrfx_qdec_reconfigure(nrfx_qdec_t const * p_instance, 206 void nrfx_qdec_uninit(nrfx_qdec_t const * p_instance); 215 void nrfx_qdec_enable(nrfx_qdec_t const * p_instance); 224 void nrfx_qdec_disable(nrfx_qdec_t const * p_instance); 236 void nrfx_qdec_accumulators_read(nrfx_qdec_t const * p_instance, 248 NRFX_STATIC_INLINE uint32_t nrfx_qdec_task_address_get(nrfx_qdec_t const * p_instance, 259 NRFX_STATIC_INLINE uint32_t nrfx_qdec_event_address_get(nrfx_qdec_t const * p_instance, 263 NRFX_STATIC_INLINE uint32_t nrfx_qdec_task_address_get(nrfx_qdec_t const * p_instance, in nrfx_qdec_task_address_get() argument 266 return nrfy_qdec_task_address_get(p_instance->p_reg, task); in nrfx_qdec_task_address_get() [all …]
|
D | nrfx_spim.h | 271 nrfx_err_t nrfx_spim_init(nrfx_spim_t const * p_instance, 293 nrfx_err_t nrfx_spim_reconfigure(nrfx_spim_t const * p_instance, 301 void nrfx_spim_uninit(nrfx_spim_t const * p_instance); 351 nrfx_err_t nrfx_spim_xfer(nrfx_spim_t const * p_instance, 384 nrfx_err_t nrfx_spim_xfer_dcx(nrfx_spim_t const * p_instance, 400 NRFX_STATIC_INLINE uint32_t nrfx_spim_start_task_address_get(nrfx_spim_t const * p_instance); 412 NRFX_STATIC_INLINE uint32_t nrfx_spim_end_event_address_get(nrfx_spim_t const * p_instance); 425 void nrfx_spim_abort(nrfx_spim_t const * p_instance); 437 NRFX_STATIC_INLINE uint32_t nrfx_spim_start_task_address_get(nrfx_spim_t const * p_instance) in nrfx_spim_start_task_address_get() argument 439 return nrfy_spim_task_address_get(p_instance->p_reg, NRF_SPIM_TASK_START); in nrfx_spim_start_task_address_get() [all …]
|