Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 25 of 80) sorted by relevance

1234

/hal_nordic-latest/drivers/nrf_802154/driver/src/
Dnrf_802154_pib.c72 nrf_802154_ifs_mode_t mode; ///< Mode of Interframe Space insertion. member
129 static bool coex_tx_request_mode_is_supported(nrf_802154_coex_tx_request_mode_t mode) in coex_tx_request_mode_is_supported() argument
133 switch (mode) in coex_tx_request_mode_is_supported()
157 static bool coex_rx_request_mode_is_supported(nrf_802154_coex_rx_request_mode_t mode) in coex_rx_request_mode_is_supported() argument
161 switch (mode) in coex_rx_request_mode_is_supported()
191 m_data.cca.mode = NRF_802154_CCA_MODE_DEFAULT; in nrf_802154_pib_init()
208 m_data.ifs.mode = NRF_802154_IFS_MODE_DISABLED; in nrf_802154_pib_init()
309 switch (p_cca_cfg->mode) in nrf_802154_pib_cca_cfg_set()
312 m_data.cca.mode = p_cca_cfg->mode; in nrf_802154_pib_cca_cfg_set()
317 m_data.cca.mode = p_cca_cfg->mode; in nrf_802154_pib_cca_cfg_set()
[all …]
Dnrf_802154.c150 bool nrf_802154_coex_rx_request_mode_set(nrf_802154_coex_rx_request_mode_t mode) in nrf_802154_coex_rx_request_mode_set() argument
152 return nrf_802154_pib_coex_rx_request_mode_set(mode); in nrf_802154_coex_rx_request_mode_set()
160 bool nrf_802154_coex_tx_request_mode_set(nrf_802154_coex_tx_request_mode_t mode) in nrf_802154_coex_tx_request_mode_set() argument
162 return nrf_802154_pib_coex_tx_request_mode_set(mode); in nrf_802154_coex_tx_request_mode_set()
247 bool nrf_802154_antenna_diversity_rx_mode_set(nrf_802154_sl_ant_div_mode_t mode) in nrf_802154_antenna_diversity_rx_mode_set() argument
252 result = nrf_802154_sl_ant_div_cfg_mode_set(NRF_802154_SL_ANT_DIV_OP_RX, mode); in nrf_802154_antenna_diversity_rx_mode_set()
268 bool nrf_802154_antenna_diversity_tx_mode_set(nrf_802154_sl_ant_div_mode_t mode) in nrf_802154_antenna_diversity_tx_mode_set() argument
273 result = nrf_802154_sl_ant_div_cfg_mode_set(NRF_802154_SL_ANT_DIV_OP_TX, mode); in nrf_802154_antenna_diversity_tx_mode_set()
846 bool nrf_802154_ifs_mode_set(nrf_802154_ifs_mode_t mode) in nrf_802154_ifs_mode_set() argument
848 return nrf_802154_pib_ifs_mode_set(mode); in nrf_802154_ifs_mode_set()
Dnrf_802154_pib.h216 bool nrf_802154_pib_coex_rx_request_mode_set(nrf_802154_coex_rx_request_mode_t mode);
233 bool nrf_802154_pib_coex_tx_request_mode_set(nrf_802154_coex_tx_request_mode_t mode);
310 bool nrf_802154_pib_ifs_mode_set(nrf_802154_ifs_mode_t mode);
/hal_nordic-latest/drivers/nrf_802154/driver/src/mac_features/
Dnrf_802154_security_pib_ram.c49 nrf_802154_key_id_mode_t mode; member
58 static bool mode_is_valid(nrf_802154_key_id_mode_t mode) in mode_is_valid() argument
60 switch (mode) in mode_is_valid()
73 static int id_length_get(nrf_802154_key_id_mode_t mode) in id_length_get() argument
75 switch (mode) in id_length_get()
98 if (p_key->mode != p_id->mode) in key_matches()
103 if (p_id->mode == KEY_ID_MODE_0) in key_matches()
108 (memcmp(p_id->p_key_id, p_key->id, id_length_get(p_id->mode)) != 0)) in key_matches()
155 if (!mode_is_valid(p_key->id.mode)) in nrf_802154_security_pib_key_store()
172 m_key_storage[i].mode = p_key->id.mode; in nrf_802154_security_pib_key_store()
[all …]
Dnrf_802154_ifs.c238 nrf_802154_ifs_mode_t mode; in nrf_802154_ifs_pretransmission() local
245 mode = nrf_802154_pib_ifs_mode_get(); in nrf_802154_ifs_pretransmission()
247 if (mode == NRF_802154_IFS_MODE_DISABLED) in nrf_802154_ifs_pretransmission()
259 if ((mode == NRF_802154_IFS_MODE_MATCHING_ADDRESSES) && !is_ifs_needed_by_address(p_frame)) in nrf_802154_ifs_pretransmission()
/hal_nordic-latest/nrfs/src/services/
Dnrfs_clock.c127 nrfs_err_t nrfs_clock_hsfll_mode_set(const nrfs_clock_hsfll_mode_t mode, void * p_context) in nrfs_clock_hsfll_mode_set() argument
136 req.mode = mode; in nrfs_clock_hsfll_mode_set()
142 nrfs_err_t nrfs_clock_hsfll_mode_set_no_rsp(const nrfs_clock_hsfll_mode_t mode, void * p_context) in nrfs_clock_hsfll_mode_set_no_rsp() argument
152 req.mode = mode; in nrfs_clock_hsfll_mode_set_no_rsp()
/hal_nordic-latest/nrfx/hal/
Dnrf_tampc.h557 nrf_tampc_warmboot_mode_t mode,
570 nrf_tampc_warmboot_mode_t mode);
580 nrf_tampc_warmboot_mode_t mode,
593 nrf_tampc_warmboot_mode_t mode);
603 nrf_tampc_warmboot_mode_t mode,
616 nrf_tampc_warmboot_mode_t mode);
628 nrf_tampc_warmboot_mode_t mode);
637 nrf_tampc_warmboot_mode_t mode);
1523 nrf_tampc_warmboot_mode_t mode, in nrf_tampc_warmboot_ctrl_value_set() argument
1526 switch (mode) in nrf_tampc_warmboot_ctrl_value_set()
[all …]
Dnrf_nvmc.h140 nrf_nvmc_mode_t mode);
150 nrf_nvmc_ns_mode_t mode);
362 nrf_nvmc_mode_t mode) in nrf_nvmc_mode_set() argument
364 p_reg->CONFIG = (uint32_t)mode; in nrf_nvmc_mode_set()
369 nrf_nvmc_ns_mode_t mode) in nrf_nvmc_nonsecure_mode_set() argument
371 p_reg->CONFIGNS = (uint32_t)mode; in nrf_nvmc_nonsecure_mode_set()
Dnrf_vpr_csr_vio.h71 nrf_vpr_csr_vio_shift_t mode; ///< Shift mode. member
223 NRF_STATIC_INLINE void nrf_vpr_csr_vio_mode_in_set(nrf_vpr_csr_vio_mode_in_t mode);
237 NRF_STATIC_INLINE void nrf_vpr_csr_vio_mode_in_buffered_set(nrf_vpr_csr_vio_mode_in_t mode);
738 NRF_STATIC_INLINE void nrf_vpr_csr_vio_mode_in_set(nrf_vpr_csr_vio_mode_in_t mode) in nrf_vpr_csr_vio_mode_in_set() argument
740 nrf_csr_write(VPRCSR_NORDIC_INMODE, mode); in nrf_vpr_csr_vio_mode_in_set()
748 NRF_STATIC_INLINE void nrf_vpr_csr_vio_mode_in_buffered_set(nrf_vpr_csr_vio_mode_in_t mode) in nrf_vpr_csr_vio_mode_in_buffered_set() argument
750 nrf_csr_write(VPRCSR_NORDIC_INMODEB, mode); in nrf_vpr_csr_vio_mode_in_buffered_set()
879 p_mode->mode = (nrf_vpr_csr_vio_shift_t)((reg & VPRCSR_NORDIC_OUTMODE_MODE_Msk) in nrf_vpr_csr_vio_mode_out_get()
887 uint32_t reg = ((uint32_t)p_mode->mode << VPRCSR_NORDIC_OUTMODE_MODE_Pos) | in nrf_vpr_csr_vio_mode_out_set()
898 p_mode->mode = (nrf_vpr_csr_vio_shift_t)((reg & VPRCSR_NORDIC_OUTMODEB_MODE_Msk) in nrf_vpr_csr_vio_mode_out_buffered_get()
[all …]
Dnrf_glitchdet.h91 nrf_glitchdet_mode_t mode);
115 nrf_glitchdet_mode_t mode) in nrf_glitchdet_mode_set() argument
118 (mode << GLITCHDET_CONFIG_MODE_Pos); in nrf_glitchdet_mode_set()
Dnrf_hsfll.h100 nrf_hsfll_mode_status_t mode; ///< HSFLL operating mode. member
126 nrf_hsfll_mode_ctrl_t mode; ///< HSFLL operating mode. member
144 bool mode; ///< Power down the HSFLL core. True if powered down, false if in normal mode. member
411 p_status->mode = in nrf_hsfll_status_clk_get()
454 p_reg->CLOCKCTRL.MODE = ((p_clkctrl->mode << HSFLL_CLOCKCTRL_MODE_MODE_Pos) & in nrf_hsfll_clkctrl_mode_set()
469 p_clkctrl->mode = in nrf_hsfll_clkctrl_mode_get()
529 p_reg->CLOCKCTRL.SLEEP = (((p_config->mode ? in nrf_hsfll_clkctrl_sleep_set()
545 p_config->mode = ((p_reg->CLOCKCTRL.SLEEP & HSFLL_CLOCKCTRL_SLEEP_MODE_Msk) in nrf_hsfll_clkctrl_sleep_get()
Dnrf_vpr_csr_vtim.h80 nrf_vpr_csr_vtim_count_t mode);
209 nrf_vpr_csr_vtim_count_t mode) in nrf_vpr_csr_vtim_count_mode_set() argument
214 nrf_csr_write(VPRCSR_NORDIC_CNTMODE0, mode); in nrf_vpr_csr_vtim_count_mode_set()
217 nrf_csr_write(VPRCSR_NORDIC_CNTMODE1, mode); in nrf_vpr_csr_vtim_count_mode_set()
/hal_nordic-latest/drivers/nrf_802154/common/include/
Dnrf_802154.h157 bool nrf_802154_antenna_diversity_rx_mode_set(nrf_802154_sl_ant_div_mode_t mode);
177 bool nrf_802154_antenna_diversity_tx_mode_set(nrf_802154_sl_ant_div_mode_t mode);
1162 bool nrf_802154_coex_rx_request_mode_set(nrf_802154_coex_rx_request_mode_t mode);
1179 bool nrf_802154_coex_tx_request_mode_set(nrf_802154_coex_tx_request_mode_t mode);
1271 bool nrf_802154_ifs_mode_set(nrf_802154_ifs_mode_t mode);
/hal_nordic-latest/nrfx/haly/
Dnrfy_timer.h74 nrf_timer_mode_t mode; ///< Mode of operation. member
87 nrf_timer_mode_set(p_reg, p_config->mode); in nrfy_timer_periph_configure()
299 nrf_timer_mode_t mode) in nrfy_timer_mode_set() argument
301 nrf_timer_mode_set(p_reg, mode); in nrfy_timer_mode_set()
309 nrf_timer_mode_t mode = nrf_timer_mode_get(p_reg); in nrfy_timer_mode_get() local
311 return mode; in nrfy_timer_mode_get()
/hal_nordic-latest/nrfx/samples/src/nrfx_saadc/advanced_blocking/
DREADME.md3 …ple demonstrates an advanced functionality of the nrfx_saadc driver operating in the blocking mode.
19 Application initializes the nrfx_saadc driver and starts operating in the blocking mode.
22 …DC driver is configured to work with only one channel ( @p m_single_channel ) in the blocking mode.
25 …river is configured to work with multiple channels ( @p m_multiple_channels ) in the blocking mode.
/hal_nordic-latest/nrfx/samples/src/nrfx_pwm/common_mode/
DREADME.md1 # PWM common mode {#pwm_common_desc}
3 …demonstrates a basic functionality of the nrfx_pwm driver for a sequence loaded in the common mode.
40 - "Starting nrfx_pwm example for sequence loaded in common mode."
/hal_nordic-latest/nrfx/samples/src/nrfx_saadc/advanced_non_blocking_internal_timer/
DREADME.md3 …f the nrfx_saadc driver operating in the non-blocking continuous sampling mode with internal timer.
19 Application initializes the nrfx_saadc driver and starts operating in the non-blocking mode.
20 …single_channel is configured, and the SAADC driver is set to the advanced mode with the @p nrfx_sa…
30 Internal timer can only be used in the non-blocking mode with only a single input channel enabled.
/hal_nordic-latest/nrfs/include/services/
Dnrfs_clock.h107 nrfs_err_t nrfs_clock_hsfll_mode_set(nrfs_clock_hsfll_mode_t mode, void * p_context);
119 nrfs_err_t nrfs_clock_hsfll_mode_set_no_rsp(nrfs_clock_hsfll_mode_t mode, void * p_context);
/hal_nordic-latest/drivers/nrf_802154/sl/sl_opensource/src/
Dnrf_802154_sl_ant_div.c58 nrf_802154_sl_ant_div_mode_t mode) in nrf_802154_sl_ant_div_cfg_mode_set() argument
61 (void)mode; in nrf_802154_sl_ant_div_cfg_mode_set()
/hal_nordic-latest/nrfx/samples/src/nrfx_pwm/grouped_mode/
DREADME.md1 # PWM grouped mode {#pwm_grouped_desc}
3 … demonstrates a basic functionality of the nrfx_pwm driver for a sequence loaded in the group mode.
40 - Starting nrfx_pwm example for sequences loaded in grouped mode.
/hal_nordic-latest/nrfx/samples/src/nrfx_saadc/simple_non_blocking/
DREADME.md3 …le demonstrates a simple functionality of the nrfx_saadc driver operating in the non-blocking mode.
19 Application initializes the nrfx_saadc driver and starts operating in the non-blocking mode.
22 …DC driver is configured to work with only one channel ( @p m_single_channel ) in the blocking mode.
25 …river is configured to work with multiple channels ( @p m_multiple_channels ) in the blocking mode.
/hal_nordic-latest/drivers/nrf_802154/serialization/src/include/
Dnrf_802154_spinel_datatypes.h753 ((cca_cfg).mode), ((cca_cfg).ed_threshold), ((cca_cfg).corr_threshold), ((cca_cfg).corr_limit)
759 (&(cca_cfg).mode), \
1330 (key).id.mode, \
1347 &(key).id.mode, \
1370 (key_id).mode, \
1381 & (key_id).mode, \
/hal_nordic-latest/nrfx/drivers/src/
Dnrfx_i2s.c103 if (p_config->mode == NRF_I2S_MODE_MASTER) in configure_pins()
176 static inline bool validate_config(nrf_i2s_mode_t mode, in validate_config() argument
181 if (mode == NRF_I2S_MODE_MASTER) in validate_config()
244 if (!validate_config(p_config->mode, in nrfx_i2s_init()
260 .mode = p_config->mode, in nrfx_i2s_init()
/hal_nordic-latest/nrfx/samples/src/nrfx_saadc/simple_blocking/
DREADME.md3 …sample demonstrates a simple functionality of the nrfx_saadc driver operating in the blocking mode.
18 Application initializes the nrfx_saadc driver and starts operating in the blocking mode.
21 …DC driver is configured to work with only one channel ( @p m_single_channel ) in the blocking mode.
24 …river is configured to work with multiple channels ( @p m_multiple_channels ) in the blocking mode.
/hal_nordic-latest/nrfx/drivers/include/
Dnrfx_spis.h116 .mode = NRF_SPIS_MODE_0, \
138 nrf_spis_mode_t mode; ///< SPI mode. member

1234