/hal_nordic-3.6.0/nrfx/drivers/src/ |
D | nrfx_pdm.c | 75 static nrfx_pdm_cb_t m_cb; variable 124 if (m_cb.drv_state != NRFX_DRV_STATE_UNINITIALIZED) in nrfx_pdm_init() 137 m_cb.buff_address[0] = 0; in nrfx_pdm_init() 138 m_cb.buff_address[1] = 0; in nrfx_pdm_init() 139 m_cb.active_buffer = 0; in nrfx_pdm_init() 140 m_cb.error = 0; in nrfx_pdm_init() 141 m_cb.event_handler = event_handler; in nrfx_pdm_init() 142 m_cb.op_state = NRFX_PDM_STATE_IDLE; in nrfx_pdm_init() 146 m_cb.skip_gpio_cfg = p_config->skip_gpio_cfg; in nrfx_pdm_init() 160 m_cb.drv_state = NRFX_DRV_STATE_INITIALIZED; in nrfx_pdm_init() [all …]
|
D | nrfx_saadc.c | 89 static nrfx_saadc_cb_t m_cb; variable 134 if (!(m_cb.channels_configured & ch_mask)) in saadc_channel_count_get() 152 m_cb.channels_input[channel_index].input_p = p_channel->pin_p; in saadc_channel_config() 153 m_cb.channels_input[channel_index].input_n = p_channel->pin_n; in saadc_channel_config() 154 m_cb.channels_configured |= (uint8_t)(1U << channel_index); in saadc_channel_config() 164 m_cb.channels_configured &= (uint8_t)~(1UL << channel); in saadc_channels_deconfig() 166 m_cb.channels_input[channel].input_p = NRF_SAADC_INPUT_DISABLED; in saadc_channels_deconfig() 167 m_cb.channels_input[channel].input_n = NRF_SAADC_INPUT_DISABLED; in saadc_channels_deconfig() 184 if ((m_cb.saadc_state == NRF_SAADC_STATE_IDLE) || in saadc_busy_check() 185 (m_cb.saadc_state == NRF_SAADC_STATE_ADV_MODE) || in saadc_busy_check() [all …]
|
D | nrfx_adc.c | 56 static adc_cb_t m_cb; variable 64 if (m_cb.state != NRFX_DRV_STATE_UNINITIALIZED) in nrfx_adc_init() 83 m_cb.event_handler = event_handler; in nrfx_adc_init() 84 m_cb.state = NRFX_DRV_STATE_INITIALIZED; in nrfx_adc_init() 93 NRFX_ASSERT(m_cb.state != NRFX_DRV_STATE_UNINITIALIZED); in nrfx_adc_uninit() 103 m_cb.p_head = NULL; in nrfx_adc_uninit() 105 m_cb.state = NRFX_DRV_STATE_UNINITIALIZED; in nrfx_adc_uninit() 111 return (m_cb.state != NRFX_DRV_STATE_UNINITIALIZED); in nrfx_adc_init_check() 119 if (m_cb.p_head == NULL) in nrfx_adc_channel_enable() 121 m_cb.p_head = p_channel; in nrfx_adc_channel_enable() [all …]
|
D | nrfx_qspi.c | 114 static qspi_control_block_t m_cb; variable 125 NRFX_ASSERT(m_cb.state != NRFX_QSPI_STATE_UNINITIALIZED); in qspi_xfer() 133 if (m_cb.state != NRFX_QSPI_STATE_IDLE && in qspi_xfer() 134 (m_cb.state != desired_state || !m_cb.activated)) in qspi_xfer() 151 m_cb.timeout_signal = false; in qspi_xfer() 153 if (!m_cb.handler) in qspi_xfer() 155 if (!m_cb.activated && qspi_activate(true) == NRFX_ERROR_TIMEOUT) in qspi_xfer() 166 if (m_cb.p_buffer_primary) in qspi_xfer() 168 m_cb.p_buffer_secondary = p_buffer; in qspi_xfer() 169 m_cb.size_secondary = length; in qspi_xfer() [all …]
|
D | nrfx_grtc.c | 89 #define MAIN_GRTC_CC_CHANNEL (m_cb.channel_data[0].channel) 106 static nrfx_grtc_cb_t m_cb = variable 127 return NRFX_GRTC_CONFIG_ALLOWED_CC_CHANNELS_MASK & ~m_cb.available_channels; in allocated_channels_mask_get() 132 return NRFX_GRTC_CONFIG_ALLOWED_CC_CHANNELS_MASK & m_cb.used_channels; in used_channels_mask_get() 154 m_cb.used_channels |= GRTC_CHANNEL_TO_BITMASK(channel); in channel_used_mark() 159 m_cb.used_channels &= ~GRTC_CHANNEL_TO_BITMASK(channel); in channel_used_unmark() 210 m_cb.channel_data[ch_data_idx].handler = p_chan_data->handler; in cc_channel_prepare() 211 m_cb.channel_data[ch_data_idx].p_context = p_chan_data->p_context; in cc_channel_prepare() 212 m_cb.channel_data[ch_data_idx].channel = p_chan_data->channel; in cc_channel_prepare() 218 NRFX_ASSERT(m_cb.state == NRFX_DRV_STATE_INITIALIZED); in nrfx_grtc_active_request_set() [all …]
|
D | nrfx_ipc.c | 51 static ipc_control_block_t m_cb; variable 56 if (m_cb.state != NRFX_DRV_STATE_UNINITIALIZED) in nrfx_ipc_init() 64 m_cb.state = NRFX_DRV_STATE_INITIALIZED; in nrfx_ipc_init() 65 m_cb.handler = handler; in nrfx_ipc_init() 66 m_cb.p_context = p_context; in nrfx_ipc_init() 75 NRFX_ASSERT(m_cb.state == NRFX_DRV_STATE_INITIALIZED); in nrfx_ipc_config_load() 95 NRFX_ASSERT(m_cb.state == NRFX_DRV_STATE_INITIALIZED); in nrfx_ipc_uninit() 111 m_cb.state = NRFX_DRV_STATE_UNINITIALIZED; in nrfx_ipc_uninit() 117 return (m_cb.state != NRFX_DRV_STATE_UNINITIALIZED); in nrfx_ipc_init_check() 122 NRFX_ASSERT(m_cb.state == NRFX_DRV_STATE_INITIALIZED); in nrfx_ipc_receive_event_enable() [all …]
|
D | nrfx_vevif.c | 59 static nrfx_vevif_cb_t m_cb; variable 69 if (m_cb.state != NRFX_DRV_STATE_UNINITIALIZED) in nrfx_vevif_init() 82 m_cb.handler = event_handler; in nrfx_vevif_init() 83 m_cb.p_context = p_context; in nrfx_vevif_init() 84 m_cb.state = NRFX_DRV_STATE_INITIALIZED; in nrfx_vevif_init() 102 NRFX_ASSERT(m_cb.state == NRFX_DRV_STATE_INITIALIZED); in nrfx_vevif_uninit() 109 m_cb.handler = NULL; in nrfx_vevif_uninit() 110 m_cb.state = NRFX_DRV_STATE_UNINITIALIZED; in nrfx_vevif_uninit() 116 NRFX_ASSERT(m_cb.state == NRFX_DRV_STATE_INITIALIZED); in nrfx_vevif_int_enable() 128 return (m_cb.state != NRFX_DRV_STATE_UNINITIALIZED); in nrfx_vevif_init_check() [all …]
|
D | nrfx_rramc.c | 50 static rramc_control_block_t m_cb; variable 107 NRFX_ASSERT(m_cb.state == NRFX_DRV_STATE_INITIALIZED); in nrfx_rramc_all_erase() 116 NRFX_ASSERT(m_cb.state == NRFX_DRV_STATE_INITIALIZED); in nrfx_rramc_byte_write() 125 NRFX_ASSERT(m_cb.state == NRFX_DRV_STATE_INITIALIZED); in nrfx_rramc_bytes_write() 135 NRFX_ASSERT(m_cb.state == NRFX_DRV_STATE_INITIALIZED); in nrfx_rramc_word_write() 145 NRFX_ASSERT(m_cb.state == NRFX_DRV_STATE_INITIALIZED); in nrfx_rramc_words_write() 191 if (m_cb.handler) in rramc_configure() 205 if (m_cb.state != NRFX_DRV_STATE_UNINITIALIZED) in nrfx_rramc_init() 214 m_cb.handler = handler; in nrfx_rramc_init() 222 m_cb.state = NRFX_DRV_STATE_INITIALIZED; in nrfx_rramc_init() [all …]
|
D | nrfx_rtc.c | 66 static nrfx_rtc_cb_t m_cb[NRFX_RTC_ENABLED_COUNT]; variable 76 m_cb[p_instance->instance_id].handler = handler; in nrfx_rtc_init() 78 if (m_cb[p_instance->instance_id].state != NRFX_DRV_STATE_UNINITIALIZED) in nrfx_rtc_init() 99 m_cb[p_instance->instance_id].reliable = p_config->reliable; in nrfx_rtc_init() 100 m_cb[p_instance->instance_id].tick_latency = p_config->tick_latency; in nrfx_rtc_init() 101 m_cb[p_instance->instance_id].state = NRFX_DRV_STATE_INITIALIZED; in nrfx_rtc_init() 110 NRFX_ASSERT(m_cb[p_instance->instance_id].state != NRFX_DRV_STATE_UNINITIALIZED); in nrfx_rtc_uninit() 119 m_cb[p_instance->instance_id].state = NRFX_DRV_STATE_UNINITIALIZED; in nrfx_rtc_uninit() 125 return (m_cb[p_instance->instance_id].state != NRFX_DRV_STATE_UNINITIALIZED); in nrfx_rtc_init_check() 130 NRFX_ASSERT(m_cb[p_instance->instance_id].state == NRFX_DRV_STATE_INITIALIZED); in nrfx_rtc_enable() [all …]
|
D | nrfx_bellboard.c | 53 static nrfx_bellboard_cb_t m_cb[NRFX_BELLBOARD_ENABLED_COUNT]; variable 60 nrfx_bellboard_cb_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_bellboard_init() 93 NRFX_ASSERT(m_cb[p_instance->drv_inst_idx].state == NRFX_DRV_STATE_INITIALIZED); in nrfx_bellboard_uninit() 97 nrfx_bellboard_cb_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_bellboard_uninit() 107 nrfx_bellboard_cb_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_bellboard_init_check() 114 NRFX_ASSERT(m_cb[p_instance->drv_inst_idx].state == NRFX_DRV_STATE_INITIALIZED); in nrfx_bellboard_int_enable() 121 NRFX_ASSERT(m_cb[p_instance->drv_inst_idx].state == NRFX_DRV_STATE_INITIALIZED); in nrfx_bellboard_int_disable() 134 if (m_cb[i].state == NRFX_DRV_STATE_INITIALIZED) in irq_handler() 136 m_cb[i].int_pend |= nrfy_bellboard_int_pending_get(NRF_BELLBOARD, m_cb[i].int_idx); in irq_handler()
|
D | nrfx_timer.c | 79 static timer_control_block_t m_cb[NRFX_TIMER_ENABLED_COUNT]; variable 126 timer_control_block_t * p_cb = &m_cb[p_instance->instance_id]; in nrfx_timer_init() 170 timer_control_block_t * p_cb = &m_cb[p_instance->instance_id]; in nrfx_timer_reconfigure() 188 NRFX_ASSERT(m_cb[p_instance->instance_id].state != NRFX_DRV_STATE_UNINITIALIZED); in nrfx_timer_uninit() 197 m_cb[p_instance->instance_id].state = NRFX_DRV_STATE_UNINITIALIZED; in nrfx_timer_uninit() 203 timer_control_block_t * p_cb = &m_cb[p_instance->instance_id]; in nrfx_timer_init_check() 210 NRFX_ASSERT(m_cb[p_instance->instance_id].state == NRFX_DRV_STATE_INITIALIZED); in nrfx_timer_enable() 213 m_cb[p_instance->instance_id].state = NRFX_DRV_STATE_POWERED_ON; in nrfx_timer_enable() 219 NRFX_ASSERT(m_cb[p_instance->instance_id].state != NRFX_DRV_STATE_UNINITIALIZED); in nrfx_timer_disable() 222 m_cb[p_instance->instance_id].state = NRFX_DRV_STATE_INITIALIZED; in nrfx_timer_disable() [all …]
|
D | nrfx_egu.c | 70 static egu_control_block_t m_cb[NRFX_EGU_ENABLED_COUNT]; variable 109 egu_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_egu_init() 134 NRFX_ASSERT(m_cb[p_instance->drv_inst_idx].state == NRFX_DRV_STATE_INITIALIZED); in nrfx_egu_int_enable() 135 NRFX_ASSERT(m_cb[p_instance->drv_inst_idx].handler); in nrfx_egu_int_enable() 143 NRFX_ASSERT(m_cb[p_instance->drv_inst_idx].state == NRFX_DRV_STATE_INITIALIZED); in nrfx_egu_int_disable() 150 NRFX_ASSERT(m_cb[p_instance->drv_inst_idx].state == NRFX_DRV_STATE_INITIALIZED); in nrfx_egu_trigger() 158 egu_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_egu_uninit() 168 egu_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_egu_init_check()
|
D | nrfx_wdt.c | 61 static wdt_control_block_t m_cb[NRFX_WDT_ENABLED_COUNT]; variable 76 wdt_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in wdt_configure() 109 wdt_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in wdt_init() 169 wdt_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_wdt_reconfigure() 193 wdt_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_wdt_uninit() 208 wdt_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_wdt_init_check() 215 wdt_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_wdt_enable() 225 wdt_control_block_t const * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_wdt_feed() 236 wdt_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_wdt_channel_alloc() 260 NRFX_ASSERT(m_cb[p_instance->drv_inst_idx].state == NRFX_DRV_STATE_POWERED_ON); in nrfx_wdt_channel_feed() [all …]
|
D | nrfx_uart.c | 74 static uart_control_block_t m_cb[NRFX_UART_ENABLED_COUNT]; variable 142 if (m_cb[p_instance->drv_inst_idx].handler) in uart_configure() 150 uart_control_block_t const * p_cb = &m_cb[p_instance->drv_inst_idx]; in pins_to_default() 196 uart_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_uart_init() 253 uart_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_uart_reconfigure() 275 uart_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_uart_uninit() 299 uart_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_uart_init_check() 339 uart_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_uart_tx() 395 NRFX_ASSERT(m_cb[p_instance->drv_inst_idx].state != NRFX_DRV_STATE_UNINITIALIZED); in nrfx_uart_tx_in_progress() 397 return (m_cb[p_instance->drv_inst_idx].tx_buffer_length != 0); in nrfx_uart_tx_in_progress() [all …]
|
D | nrfx_twis.c | 86 static twis_control_block_t m_cb[NRFX_TWIS_ENABLED_COUNT]; variable 434 twis_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_twis_preprocess_status() 472 if (m_cb[p_instance->drv_inst_idx].ev_handler) in twis_configure() 496 twis_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_twis_init() 565 if (m_cb[p_instance->drv_inst_idx].state == NRFX_DRV_STATE_UNINITIALIZED) in nrfx_twis_reconfigure() 591 twis_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_twis_uninit() 615 twis_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_twis_init_check() 623 twis_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_twis_enable() 644 twis_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_twis_disable() 730 twis_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_twis_error_get_and_clear() [all …]
|
D | nrfx_qdec.c | 64 static qdec_control_block_t m_cb[NRFX_QDEC_ENABLED_COUNT]; variable 118 qdec_control_block_t * const p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_qdec_init() 155 qdec_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_qdec_reconfigure() 172 qdec_control_block_t * const p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_qdec_uninit() 201 qdec_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_qdec_init_check() 208 qdec_control_block_t * const p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_qdec_enable() 220 qdec_control_block_t * const p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_qdec_disable() 235 NRFX_ASSERT(m_cb[p_instance->drv_inst_idx].state == NRFX_DRV_STATE_POWERED_ON); in nrfx_qdec_accumulators_read()
|
D | nrfx_pwm.c | 81 static pwm_control_block_t m_cb[NRFX_PWM_ENABLED_COUNT]; variable 172 pwm_control_block_t * p_cb = &m_cb[p_instance->instance_id]; in pwm_stopped_check() 193 pwm_control_block_t * p_cb = &m_cb[p_instance->instance_id]; in nrfx_pwm_init() 226 pwm_control_block_t * p_cb = &m_cb[p_instance->instance_id]; in nrfx_pwm_reconfigure() 246 pwm_control_block_t * p_cb = &m_cb[p_instance->instance_id]; in nrfx_pwm_uninit() 268 pwm_control_block_t * p_cb = &m_cb[p_instance->instance_id]; in nrfx_pwm_init_check() 350 pwm_control_block_t * p_cb = &m_cb[p_instance->instance_id]; in nrfx_pwm_simple_playback() 395 pwm_control_block_t * p_cb = &m_cb[p_instance->instance_id]; in nrfx_pwm_complex_playback() 438 pwm_control_block_t * p_cb = &m_cb[p_instance->instance_id]; in nrfx_pwm_stop() 470 NRFX_ASSERT(m_cb[p_instance->instance_id].state != NRFX_DRV_STATE_UNINITIALIZED); in nrfx_pwm_stopped_check() [all …]
|
D | nrfx_spi.c | 64 static spi_control_block_t m_cb[NRFX_SPI_ENABLED_COUNT]; variable 113 m_cb[p_instance->drv_inst_idx].ss_pin = p_config->ss_pin; 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() 144 spi_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_spi_init() 201 spi_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_spi_reconfigure() 219 spi_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_spi_uninit() 264 spi_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_spi_init_check() 393 spi_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_spi_xfer() 441 spi_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_spi_abort()
|
D | nrfx_twi.c | 115 static twi_control_block_t m_cb[NRFX_TWI_ENABLED_COUNT]; variable 168 if (m_cb[p_instance->drv_inst_idx].handler) in twi_configure() 183 twi_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_twi_init() 251 twi_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_twi_reconfigure() 270 twi_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_twi_uninit() 296 twi_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_twi_init_check() 303 twi_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_twi_enable() 316 twi_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_twi_disable() 673 twi_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_twi_is_busy() 684 twi_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_twi_xfer() [all …]
|
D | nrfx_twim.c | 110 static twim_control_block_t m_cb[NRFX_TWIM_ENABLED_COUNT]; variable 203 if (m_cb[p_instance->drv_inst_idx].handler) in twim_configure() 260 twim_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_twim_init() 328 twim_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_twim_reconfigure() 346 twim_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_twim_uninit() 372 twim_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_twim_init_check() 379 twim_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_twim_enable() 390 twim_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_twim_disable() 403 twim_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_twim_is_busy() 616 twim_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_twim_xfer() [all …]
|
D | nrfx_uarte.c | 174 static uarte_control_block_t m_cb[NRFX_UARTE_ENABLED_COUNT]; variable 186 uarte_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in uarte_configure() 273 uarte_control_block_t const * p_cb = &m_cb[p_instance->drv_inst_idx]; in pins_to_default() 447 uarte_control_block_t * p_cb = &m_cb[inst_idx]; in nrfx_uarte_init() 556 uarte_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_uarte_reconfigure() 586 uarte_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_uarte_uninit() 624 uarte_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_uarte_init_check() 739 uarte_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in poll_out() 834 uarte_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in blocking_tx() 876 uarte_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_uarte_tx() [all …]
|
D | nrfx_spis.c | 107 static spis_cb_t m_cb[NRFX_SPIS_ENABLED_COUNT]; variable 176 spis_cb_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in spis_configure() 261 spis_cb_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_spis_init() 372 spis_cb_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_spis_reconfigure() 393 spis_cb_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_spis_uninit() 449 spis_cb_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_spis_init_check() 513 spis_cb_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_spis_buffers_set()
|
D | nrfx_spim.c | 156 static spim_control_block_t m_cb[NRFX_SPIM_ENABLED_COUNT]; variable 249 spim_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in configure_pins() 444 spim_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in spim_configure() 503 if (m_cb[p_instance->drv_inst_idx].handler) in spim_configure() 516 spim_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_spim_init() 576 spim_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_spim_reconfigure() 609 spim_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_spim_uninit() 658 spim_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_spim_init_check() 810 spim_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_spim_xfer() 860 spim_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_spim_abort()
|
D | nrfx_i2s.c | 92 static nrfx_i2s_cb_t m_cb[NRFX_I2S_ENABLED_COUNT]; variable 228 nrfx_i2s_cb_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_i2s_init() 303 nrfx_i2s_cb_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_i2s_uninit() 339 nrfx_i2s_cb_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_i2s_init_check() 368 nrfx_i2s_cb_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_i2s_start() 443 nrfx_i2s_cb_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_i2s_next_buffers_set() 508 nrfx_i2s_cb_t * p_cb = &m_cb[p_instance->drv_inst_idx]; in nrfx_i2s_stop()
|
D | nrfx_gpiote.c | 241 static gpiote_control_block_t m_cb[NRFX_GPIOTE_ENABLED_COUNT] = { variable 296 return &m_cb[0]; in get_cb() 300 return &m_cb[idx]; in get_cb()
|