Home
last modified time | relevance | path

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

/hal_nordic-latest/nrfx/drivers/src/
Dnrfx_uarte.c175 nrfx_atomic_t flags; member
195 p_cb->flags |= UARTE_FLAG_GPIO_UNINIT; in uarte_configure()
213 p_cb->flags |= UARTE_FLAG_HWFC_PINS; in uarte_configure()
227 p_cb->flags |= UARTE_FLAG_PSEL_UNINIT; in uarte_configure()
285 (p_cb->flags & UARTE_FLAG_PSEL_UNINIT)) in pins_to_default()
292 if (p_cb->flags & UARTE_FLAG_GPIO_UNINIT) in pins_to_default()
303 if (p_cb->flags & UARTE_FLAG_HWFC_PINS) in pins_to_default()
526 p_cb->flags |= UARTE_FLAG_TX_STOP_ON_END; in nrfx_uarte_init()
581 if (prepare_tx(p_instance->p_reg, p_cb->flags & UARTE_FLAG_TX_STOP_ON_END)) in nrfx_uarte_reconfigure()
624 p_cb->flags = 0; in nrfx_uarte_uninit()
[all …]
Dnrfx_pwm.c78 uint32_t flags; member
285 uint32_t flags, in start_playback() argument
289 p_cb->flags = flags; in start_playback()
310 if (flags & NRFX_PWM_FLAG_SIGNAL_END_SEQ0) in start_playback()
314 if (flags & NRFX_PWM_FLAG_SIGNAL_END_SEQ1) in start_playback()
319 if (flags & NRFX_PWM_FLAG_NO_EVT_FINISHED) in start_playback()
333 if (flags & NRFX_PWM_FLAG_START_VIA_TASK) in start_playback()
358 uint32_t flags) in nrfx_pwm_simple_playback() argument
375 if (flags & NRFX_PWM_FLAG_STOP) in nrfx_pwm_simple_playback()
379 else if (flags & NRFX_PWM_FLAG_LOOP) in nrfx_pwm_simple_playback()
[all …]
Dnrfx_twim.c96 uint32_t flags; member
429 uint32_t flags) in twim_xfer() argument
456 if ((NRFX_TWIM_FLAG_TX_POSTINC | NRFX_TWIM_FLAG_RX_POSTINC) & flags) in twim_xfer()
479 p_cb->busy = ((NRFX_TWIM_FLAG_NO_XFER_EVT_HANDLER & flags) || in twim_xfer()
480 (NRFX_TWIM_FLAG_REPEATED_XFER & flags)) ? false : true; in twim_xfer()
489 p_cb->repeated = (flags & NRFX_TWIM_FLAG_REPEATED_XFER) ? true : false; in twim_xfer()
490 p_cb->flags = flags; in twim_xfer()
499 nrfy_twim_tx_list_set(p_twim, NRFX_TWIM_FLAG_TX_POSTINC & flags); in twim_xfer()
500 nrfy_twim_rx_list_set(p_twim, NRFX_TWIM_FLAG_RX_POSTINC & flags); in twim_xfer()
505 NRFX_ASSERT(!(flags & NRFX_TWIM_FLAG_REPEATED_XFER)); in twim_xfer()
[all …]
Dnrfx_twi.c80 #define TWI_FLAG_NO_STOP(flags) (flags & NRFX_TWI_FLAG_TX_NO_STOP) argument
81 #define TWI_FLAG_SUSPEND(flags) (flags & NRFX_TWI_FLAG_SUSPEND) argument
82 #define TWI_FLAG_NO_HANDLER_IN_USE(flags) (flags & NRFX_TWI_FLAG_NO_XFER_EVT_HANDLER) argument
101 uint32_t flags; member
344 else if(TWI_FLAG_SUSPEND(p_cb->flags)) in twi_send_byte()
367 if ((p_cb->bytes_transferred == p_cb->curr_length - 1) && (!TWI_FLAG_SUSPEND(p_cb->flags))) in twi_receive_byte()
371 else if (p_cb->bytes_transferred == p_cb->curr_length && (!TWI_FLAG_SUSPEND(p_cb->flags))) in twi_receive_byte()
375 else if (p_cb->bytes_transferred == p_cb->curr_length && TWI_FLAG_SUSPEND(p_cb->flags)) in twi_receive_byte()
557 if ((p_cb->curr_length == 1) && (!TWI_FLAG_SUSPEND(p_cb->flags))) in twi_rx_start_transfer()
615 uint32_t flags) in twi_xfer() argument
[all …]
Dnrfx_spim.c743 uint32_t flags, in nrfx_spim_xfer_dcx() argument
746 (void)flags; in nrfx_spim_xfer_dcx()
803 uint32_t flags) in spim_xfer() argument
829 nrfy_spim_tx_list_set(p_spim, NRFX_SPIM_FLAG_TX_POSTINC & flags); in spim_xfer()
830 nrfy_spim_rx_list_set(p_spim, NRFX_SPIM_FLAG_RX_POSTINC & flags); in spim_xfer()
835 if (flags & NRFX_SPIM_FLAG_HOLD_XFER) in spim_xfer()
847 p_cb->disable_on_xfer_end = (flags & (NRFX_SPIM_FLAG_NO_XFER_EVT_HANDLER | in spim_xfer()
865 if (!(flags & NRFX_SPIM_FLAG_HOLD_XFER)) in spim_xfer()
886 if (!(flags & NRFX_SPIM_FLAG_HOLD_XFER)) in spim_xfer()
893 if (flags & NRFX_SPIM_FLAG_NO_XFER_EVT_HANDLER) in spim_xfer()
[all …]
Dnrfx_gpiote.c111 #define PIN_FLAG_IS_OUTPUT(flags) ((flags & PIN_FLAG_DIR_MASK) == PIN_FLAG_OUTPUT) argument
125 #define PIN_FLAG_TRIG_MODE_GET(flags) \ argument
126 (nrfx_gpiote_trigger_t)((flags & PIN_FLAG_TRIG_MODE_MASK) >> PIN_FLAG_TRIG_MODE_OFFSET)
146 #define PIN_GET_HANDLER_ID(flags) \ argument
147 ((flags & PIN_FLAG_HANDLER_PRESENT) \
148 ? (int32_t)((flags & PIN_HANDLER_ID_MASK) >> PIN_HANDLER_ID_SHIFT) \
166 #define PIN_GET_TE_ID(flags) ((flags & PIN_TE_ID_MASK) >> PIN_TE_ID_SHIFT) argument
Dnrfx_twis.c184 static inline bool nrfx_twis_check_bit(uint32_t flags, in nrfx_twis_check_bit() argument
187 return 0 != (flags & (1U << nrfx_event_to_bitpos(ev))); in nrfx_twis_check_bit()
200 static inline uint32_t nrfx_twis_clear_bit(uint32_t flags, in nrfx_twis_clear_bit() argument
203 return flags & ~(1U << nrfx_event_to_bitpos(ev)); in nrfx_twis_clear_bit()
Dnrfx_spi.c391 uint32_t flags) in nrfx_spi_xfer() argument
424 if (flags) in nrfx_spi_xfer()
Dnrfx_i2s.c349 uint8_t flags) in nrfx_i2s_start() argument
365 (void)(flags); in nrfx_i2s_start()
Dnrfx_usbd.c2078 if (0 == (p_transfer->flags & NRFX_USBD_TRANSFER_ZLP_FLAG)) in nrfx_usbd_ep_transfer()
2102 if (0 == (p_transfer->flags & NRFX_USBD_TRANSFER_ZLP_FLAG)) in nrfx_usbd_ep_transfer()
/hal_nordic-latest/nrfx/drivers/include/
Dnrfx_usbd.h255 uint32_t flags; //!< Transfer flags. member
275 .flags = (tx_flags) \
289 .flags = 0 \
Dnrfx_uarte.h318 uint32_t flags; ///< Flags. See @ref NRFX_UARTE_TX_DONE_FLAGS. member
473 uint32_t flags);
525 nrfx_err_t nrfx_uarte_rx_enable(nrfx_uarte_t const * p_instance, uint32_t flags);
Dnrfx_i2s.h297 uint8_t flags);
338 uint8_t flags);
Dnrfx_pwm.h287 uint32_t flags);
316 uint32_t flags);
Dnrfx_spim.h372 uint32_t flags);
405 uint32_t flags,
Dnrfx_spi.h283 uint32_t flags);
Dnrfx_twi.h316 uint32_t flags);
Dnrfx_twim.h328 uint32_t flags);
/hal_nordic-latest/nrfx/hal/
Dnrf_usbd.h662 NRF_STATIC_INLINE void nrf_usbd_eventcause_clear(NRF_USBD_Type * p_reg, uint32_t flags);
720 NRF_STATIC_INLINE void nrf_usbd_epstatus_clear(NRF_USBD_Type * p_reg, uint32_t flags);
748 NRF_STATIC_INLINE void nrf_usbd_epdatastatus_clear(NRF_USBD_Type * p_reg, uint32_t flags);
1109 NRF_STATIC_INLINE void nrf_usbd_eventcause_clear(NRF_USBD_Type * p_reg, uint32_t flags) in nrf_usbd_eventcause_clear() argument
1111 p_reg->EVENTCAUSE = flags; in nrf_usbd_eventcause_clear()
1148 NRF_STATIC_INLINE void nrf_usbd_epstatus_clear(NRF_USBD_Type * p_reg, uint32_t flags) in nrf_usbd_epstatus_clear() argument
1150 p_reg->EPSTATUS = flags; in nrf_usbd_epstatus_clear()
1166 NRF_STATIC_INLINE void nrf_usbd_epdatastatus_clear(NRF_USBD_Type * p_reg, uint32_t flags) in nrf_usbd_epdatastatus_clear() argument
1168 p_reg->EPDATASTATUS = flags; in nrf_usbd_epdatastatus_clear()
Dnrf_nfct.h719 NRF_STATIC_INLINE void nrf_nfct_tx_frame_config_set(NRF_NFCT_Type * p_reg, uint8_t flags);
766 NRF_STATIC_INLINE void nrf_nfct_rx_frame_config_set(NRF_NFCT_Type * p_reg, uint8_t flags);
1227 NRF_STATIC_INLINE void nrf_nfct_tx_frame_config_set(NRF_NFCT_Type * p_reg, uint8_t flags) in nrf_nfct_tx_frame_config_set() argument
1229 p_reg->TXD.FRAMECONFIG = flags; in nrf_nfct_tx_frame_config_set()
1249 NRF_STATIC_INLINE void nrf_nfct_rx_frame_config_set(NRF_NFCT_Type * p_reg, uint8_t flags) in nrf_nfct_rx_frame_config_set() argument
1251 p_reg->RXD.FRAMECONFIG = flags; in nrf_nfct_rx_frame_config_set()
/hal_nordic-latest/nrfx/haly/
Dnrfy_nfct.h538 NRFY_STATIC_INLINE void nrfy_nfct_tx_frame_config_set(NRF_NFCT_Type * p_reg, uint8_t flags) in nrfy_nfct_tx_frame_config_set() argument
540 nrf_nfct_rx_frame_config_set(p_reg, flags); in nrfy_nfct_tx_frame_config_set()
570 NRFY_STATIC_INLINE void nrfy_nfct_rx_frame_config_set(NRF_NFCT_Type * p_reg, uint8_t flags) in nrfy_nfct_rx_frame_config_set() argument
572 nrf_nfct_rx_frame_config_set(p_reg, flags); in nrfy_nfct_rx_frame_config_set()
/hal_nordic-latest/drivers/nrf_802154/sl/sl_opensource/include/protocol/
Dmpsl_fem_protocol_api.h154 uint32_t flags; member
/hal_nordic-latest/drivers/nrf_802154/driver/src/
Dnrf_802154_aes_ccm_acc_ecb.c259 const uint8_t flags, in b0_format() argument
262 p_b[NRF_802154_AES_CCM_B0_FIELD_FLAG_OCTET] = flags; in b0_format()
Dnrf_802154_trx.c823 if ((fem_caps.flags & MPSL_FEM_CAPS_FLAG_PA_SETUP_REQUIRED) != 0) in pa_modulation_fix_apply()
/hal_nordic-latest/nrfx/
DCHANGELOG.md198 …_EVT_HANDLER, NRFX_SPIM_FLAG_HOLD_XFER, or NRFX_SPIM_FLAG_REPEATED_XFER option flags are finalized.
393 …, CLOCK, SPIM and POWER drivers to resolve compilation warnings, such as 'flags' in the SPIM drive…