Home
last modified time | relevance | path

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

/hal_nordic-3.5.0/nrfx/drivers/src/
Dnrfx_pwm.c78 uint8_t flags; member
263 uint8_t flags, in start_playback() argument
267 p_cb->flags = flags; in start_playback()
286 if (flags & NRFX_PWM_FLAG_SIGNAL_END_SEQ0) in start_playback()
290 if (flags & NRFX_PWM_FLAG_SIGNAL_END_SEQ1) in start_playback()
295 if (flags & NRFX_PWM_FLAG_NO_EVT_FINISHED) in start_playback()
309 if (flags & NRFX_PWM_FLAG_START_VIA_TASK) in start_playback()
334 uint32_t flags) in nrfx_pwm_simple_playback() argument
350 if (flags & NRFX_PWM_FLAG_STOP) in nrfx_pwm_simple_playback()
354 else if (flags & NRFX_PWM_FLAG_LOOP) in nrfx_pwm_simple_playback()
[all …]
Dnrfx_twim.c96 uint32_t flags; member
392 uint32_t flags) in twim_xfer() argument
419 if ((NRFX_TWIM_FLAG_TX_POSTINC | NRFX_TWIM_FLAG_RX_POSTINC) & flags) in twim_xfer()
442 p_cb->busy = ((NRFX_TWIM_FLAG_NO_XFER_EVT_HANDLER & flags) || in twim_xfer()
443 (NRFX_TWIM_FLAG_REPEATED_XFER & flags)) ? false : true; in twim_xfer()
452 p_cb->repeated = (flags & NRFX_TWIM_FLAG_REPEATED_XFER) ? true : false; in twim_xfer()
453 p_cb->flags = flags; in twim_xfer()
462 nrfy_twim_tx_list_set(p_twim, NRFX_TWIM_FLAG_TX_POSTINC & flags); in twim_xfer()
463 nrfy_twim_rx_list_set(p_twim, NRFX_TWIM_FLAG_RX_POSTINC & flags); in twim_xfer()
468 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
328 else if(TWI_FLAG_SUSPEND(p_cb->flags)) in twi_send_byte()
351 if ((p_cb->bytes_transferred == p_cb->curr_length - 1) && (!TWI_FLAG_SUSPEND(p_cb->flags))) in twi_receive_byte()
355 else if (p_cb->bytes_transferred == p_cb->curr_length && (!TWI_FLAG_SUSPEND(p_cb->flags))) in twi_receive_byte()
359 else if (p_cb->bytes_transferred == p_cb->curr_length && TWI_FLAG_SUSPEND(p_cb->flags)) in twi_receive_byte()
541 if ((p_cb->curr_length == 1) && (!TWI_FLAG_SUSPEND(p_cb->flags))) in twi_rx_start_transfer()
599 uint32_t flags) in twi_xfer() argument
[all …]
Dnrfx_spim.c644 uint32_t flags, in nrfx_spim_xfer_dcx() argument
647 (void)flags; in nrfx_spim_xfer_dcx()
703 uint32_t flags) in spim_xfer() argument
729 nrfy_spim_tx_list_set(p_spim, NRFX_SPIM_FLAG_TX_POSTINC & flags); in spim_xfer()
730 nrfy_spim_rx_list_set(p_spim, NRFX_SPIM_FLAG_RX_POSTINC & flags); in spim_xfer()
735 if (flags & NRFX_SPIM_FLAG_HOLD_XFER) in spim_xfer()
748 if (!(flags & NRFX_SPIM_FLAG_HOLD_XFER)) in spim_xfer()
762 if (!(flags & NRFX_SPIM_FLAG_HOLD_XFER)) in spim_xfer()
769 if (flags & NRFX_SPIM_FLAG_NO_XFER_EVT_HANDLER) in spim_xfer()
785 uint32_t flags) in nrfx_spim_xfer() argument
[all …]
Dnrfx_gpiote.c97 #define PIN_FLAG_IS_OUTPUT(flags) ((flags & PIN_FLAG_DIR_MASK) == PIN_FLAG_OUTPUT) argument
111 #define PIN_FLAG_TRIG_MODE_GET(flags) \ argument
112 (nrfx_gpiote_trigger_t)((flags & PIN_FLAG_TRIG_MODE_MASK) >> PIN_FLAG_TRIG_MODE_OFFSET)
132 #define PIN_GET_HANDLER_ID(flags) \ argument
133 ((flags & PIN_FLAG_HANDLER_PRESENT) \
134 ? (int32_t)((flags & PIN_HANDLER_ID_MASK) >> PIN_HANDLER_ID_SHIFT) \
152 #define PIN_GET_TE_ID(flags) ((flags & PIN_TE_ID_MASK) >> PIN_TE_ID_SHIFT) argument
Dnrfx_twis.c185 static inline bool nrfx_twis_check_bit(uint32_t flags, in nrfx_twis_check_bit() argument
188 return 0 != (flags & (1U << nrfx_event_to_bitpos(ev))); in nrfx_twis_check_bit()
201 static inline uint32_t nrfx_twis_clear_bit(uint32_t flags, in nrfx_twis_clear_bit() argument
204 return flags & ~(1U << nrfx_event_to_bitpos(ev)); in nrfx_twis_clear_bit()
Dnrfx_spi.c376 uint32_t flags) in nrfx_spi_xfer() argument
408 if (flags) in nrfx_spi_xfer()
Dnrfx_i2s.c325 uint8_t flags) in nrfx_i2s_start() argument
337 (void)(flags); in nrfx_i2s_start()
Dnrfx_uarte.c333 uint32_t flags) in nrfx_uarte_tx() argument
335 (void)flags; in nrfx_uarte_tx()
Dnrfx_usbd.c2073 if (0 == (p_transfer->flags & NRFX_USBD_TRANSFER_ZLP_FLAG)) in nrfx_usbd_ep_transfer()
2101 if (0 == (p_transfer->flags & NRFX_USBD_TRANSFER_ZLP_FLAG)) in nrfx_usbd_ep_transfer()
/hal_nordic-3.5.0/nrfx/drivers/include/
Dnrfx_usbd.h255 uint32_t flags; //!< Transfer flags. member
275 .flags = (tx_flags) \
289 .flags = 0 \
Dnrfx_pwm.h275 uint32_t flags);
304 uint32_t flags);
Dnrfx_spim.h353 uint32_t flags);
386 uint32_t flags,
Dnrfx_i2s.h283 uint8_t flags);
Dnrfx_spi.h271 uint32_t flags);
Dnrfx_uarte.h269 uint32_t flags);
Dnrfx_twim.h315 uint32_t flags);
Dnrfx_twi.h304 uint32_t flags);
/hal_nordic-3.5.0/nrfx/hal/
Dnrf_usbd.h659 NRF_STATIC_INLINE void nrf_usbd_eventcause_clear(NRF_USBD_Type * p_reg, uint32_t flags);
717 NRF_STATIC_INLINE void nrf_usbd_epstatus_clear(NRF_USBD_Type * p_reg, uint32_t flags);
745 NRF_STATIC_INLINE void nrf_usbd_epdatastatus_clear(NRF_USBD_Type * p_reg, uint32_t flags);
1106 NRF_STATIC_INLINE void nrf_usbd_eventcause_clear(NRF_USBD_Type * p_reg, uint32_t flags) in nrf_usbd_eventcause_clear() argument
1108 p_reg->EVENTCAUSE = flags; in nrf_usbd_eventcause_clear()
1145 NRF_STATIC_INLINE void nrf_usbd_epstatus_clear(NRF_USBD_Type * p_reg, uint32_t flags) in nrf_usbd_epstatus_clear() argument
1147 p_reg->EPSTATUS = flags; in nrf_usbd_epstatus_clear()
1163 NRF_STATIC_INLINE void nrf_usbd_epdatastatus_clear(NRF_USBD_Type * p_reg, uint32_t flags) in nrf_usbd_epdatastatus_clear() argument
1165 p_reg->EPDATASTATUS = flags; in nrf_usbd_epdatastatus_clear()
Dnrf_nfct.h713 NRF_STATIC_INLINE void nrf_nfct_tx_frame_config_set(NRF_NFCT_Type * p_reg, uint8_t flags);
760 NRF_STATIC_INLINE void nrf_nfct_rx_frame_config_set(NRF_NFCT_Type * p_reg, uint8_t flags);
1221 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
1223 p_reg->TXD.FRAMECONFIG = flags; in nrf_nfct_tx_frame_config_set()
1243 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
1245 p_reg->RXD.FRAMECONFIG = flags; in nrf_nfct_rx_frame_config_set()
/hal_nordic-3.5.0/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-3.5.0/drivers/nrf_802154/driver/src/
Dnrf_802154_aes_ccm_acc_ecb.c195 const uint8_t flags, in b0_format() argument
198 p_b[NRF_802154_AES_CCM_B0_FIELD_FLAG_OCTET] = flags; in b0_format()
/hal_nordic-3.5.0/nrfx/
DCHANGELOG.md13 …_EVT_HANDLER, NRFX_SPIM_FLAG_HOLD_XFER, or NRFX_SPIM_FLAG_REPEATED_XFER option flags are finalized.
208 …, CLOCK, SPIM and POWER drivers to resolve compilation warnings, such as 'flags' in the SPIM drive…