Home
last modified time | relevance | path

Searched refs:channel_mask (Results 1 – 14 of 14) sorted by relevance

/hal_nordic-3.6.0/nrfx/haly/
Dnrfy_dppi.h149 uint32_t channel_mask, in nrfy_dppi_channels_group_set() argument
152 nrf_dppi_channels_group_set(p_reg, channel_mask, channel_group); in nrfy_dppi_channels_group_set()
158 uint32_t channel_mask, in nrfy_dppi_channels_include_in_group() argument
161 nrf_dppi_channels_include_in_group(p_reg, channel_mask, channel_group); in nrfy_dppi_channels_include_in_group()
168 uint32_t channel_mask, in nrfy_dppi_channels_remove_from_group() argument
171 nrf_dppi_channels_remove_from_group(p_reg, channel_mask, channel_group); in nrfy_dppi_channels_remove_from_group()
Dnrfy_grtc.h885 uint32_t channel_mask = NRF_GRTC_SYSCOUNTER_ALL_CHANNELS_INT_MASK & mask; in __nrfy_internal_grtc_events_process() local
888 while (channel_mask) in __nrfy_internal_grtc_events_process()
890 uint8_t cc_channel = (uint8_t)NRF_CTZ(channel_mask); in __nrfy_internal_grtc_events_process()
893 channel_mask &= ~NRF_GRTC_CHANNEL_INT_MASK(cc_channel); in __nrfy_internal_grtc_events_process()
/hal_nordic-3.6.0/nrfx/drivers/src/
Dnrfx_ppi.c86 static bool are_app_channels(uint32_t channel_mask) in are_app_channels() argument
88 return ((~(NRFX_PPI_ALL_APP_CHANNELS_MASK) & channel_mask) == 0); in are_app_channels()
312 nrfx_err_t nrfx_ppi_channels_remove_from_group(uint32_t channel_mask, in nrfx_ppi_channels_remove_from_group() argument
325 else if (!are_app_channels(channel_mask)) in nrfx_ppi_channels_remove_from_group()
332 nrf_ppi_channels_remove_from_group(NRF_PPI, channel_mask, group); in nrfx_ppi_channels_remove_from_group()
339 nrfx_err_t nrfx_ppi_channels_include_in_group(uint32_t channel_mask, in nrfx_ppi_channels_include_in_group() argument
352 else if (!are_app_channels(channel_mask)) in nrfx_ppi_channels_include_in_group()
359 nrf_ppi_channels_include_in_group(NRF_PPI, channel_mask, group); in nrfx_ppi_channels_include_in_group()
Dnrfx_saadc.c157 static void saadc_channels_deconfig(uint32_t channel_mask) in saadc_channels_deconfig() argument
159 while (channel_mask) in saadc_channels_deconfig()
161 uint8_t channel = (uint8_t)NRF_CTZ(channel_mask); in saadc_channels_deconfig()
163 channel_mask &= ~(1UL << channel); in saadc_channels_deconfig()
171 static void saadc_channels_disable(uint32_t channel_mask) in saadc_channels_disable() argument
173 while (channel_mask) in saadc_channels_disable()
175 uint8_t channel = (uint8_t)NRF_CTZ(channel_mask); in saadc_channels_disable()
176 channel_mask &= ~(1UL << channel); in saadc_channels_disable()
346 nrfx_err_t nrfx_saadc_channels_deconfig(uint32_t channel_mask) in nrfx_saadc_channels_deconfig() argument
355 saadc_channels_deconfig(channel_mask); in nrfx_saadc_channels_deconfig()
[all …]
/hal_nordic-3.6.0/nrfx/helpers/
Dnrfx_gppi_dppi.c114 void nrfx_gppi_channels_group_set(uint32_t channel_mask, in nrfx_gppi_channels_group_set() argument
118 channel_mask, in nrfx_gppi_channels_group_set()
122 void nrfx_gppi_channels_include_in_group(uint32_t channel_mask, in nrfx_gppi_channels_include_in_group() argument
126 channel_mask, in nrfx_gppi_channels_include_in_group()
130 void nrfx_gppi_channels_remove_from_group(uint32_t channel_mask, in nrfx_gppi_channels_remove_from_group() argument
134 channel_mask, in nrfx_gppi_channels_remove_from_group()
Dnrfx_gppi_ppi.c109 void nrfx_gppi_channels_group_set(uint32_t channel_mask, in nrfx_gppi_channels_group_set() argument
113 channel_mask, in nrfx_gppi_channels_group_set()
117 void nrfx_gppi_channels_include_in_group(uint32_t channel_mask, in nrfx_gppi_channels_include_in_group() argument
121 channel_mask, in nrfx_gppi_channels_include_in_group()
125 void nrfx_gppi_channels_remove_from_group(uint32_t channel_mask, in nrfx_gppi_channels_remove_from_group() argument
129 channel_mask, in nrfx_gppi_channels_remove_from_group()
Dnrfx_gppi.h311 void nrfx_gppi_channels_group_set(uint32_t channel_mask,
320 void nrfx_gppi_channels_include_in_group(uint32_t channel_mask,
329 void nrfx_gppi_channels_remove_from_group(uint32_t channel_mask,
/hal_nordic-3.6.0/nrfx/hal/
Dnrf_dppi.h261 uint32_t channel_mask,
279 uint32_t channel_mask,
297 uint32_t channel_mask,
411 uint32_t channel_mask, in nrf_dppi_channels_group_set() argument
414 p_reg->CHG[(uint32_t) channel_group] = channel_mask; in nrf_dppi_channels_group_set()
418 uint32_t channel_mask, in nrf_dppi_channels_include_in_group() argument
422 p_reg->CHG[(uint32_t) channel_group] | (channel_mask); in nrf_dppi_channels_include_in_group()
426 uint32_t channel_mask, in nrf_dppi_channels_remove_from_group() argument
430 p_reg->CHG[(uint32_t) channel_group] & ~(channel_mask); in nrf_dppi_channels_remove_from_group()
Dnrf_ppi.h286 uint32_t channel_mask,
299 uint32_t channel_mask,
325 uint32_t channel_mask,
507 uint32_t channel_mask, in nrf_ppi_channels_group_set() argument
510 p_reg->CHG[(uint32_t) channel_group] = channel_mask; in nrf_ppi_channels_group_set()
514 uint32_t channel_mask, in nrf_ppi_channels_include_in_group() argument
517 p_reg->CHG[(uint32_t) channel_group] |= channel_mask; in nrf_ppi_channels_include_in_group()
528 uint32_t channel_mask, in nrf_ppi_channels_remove_from_group() argument
531 p_reg->CHG[(uint32_t) channel_group] &= ~(channel_mask); in nrf_ppi_channels_remove_from_group()
/hal_nordic-3.6.0/nrfx/drivers/include/
Dnrfx_saadc.h344 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,
Dnrfx_ppi.h200 nrfx_err_t nrfx_ppi_channels_include_in_group(uint32_t channel_mask,
228 nrfx_err_t nrfx_ppi_channels_remove_from_group(uint32_t channel_mask,
/hal_nordic-3.6.0/nrfx/samples/src/nrfx_saadc/advanced_blocking/
Dmain.c124 uint32_t channel_mask = nrfx_saadc_channels_configured_get(); in main() local
125 status = nrfx_saadc_advanced_mode_set(channel_mask, in main()
/hal_nordic-3.6.0/nrfx/samples/src/nrfx_saadc/advanced_non_blocking_internal_timer/
Dmain.c214 uint32_t channel_mask = nrfx_saadc_channels_configured_get(); in main() local
215 status = nrfx_saadc_advanced_mode_set(channel_mask, in main()
/hal_nordic-3.6.0/nrfx/samples/src/nrfx_saadc/maximum_performance/
Dmain.c281 uint32_t channel_mask = nrfx_saadc_channels_configured_get(); in main() local
282 status = nrfx_saadc_advanced_mode_set(channel_mask, in main()