Home
last modified time | relevance | path

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

/hal_nordic-3.4.0/nrfx/drivers/src/
Dnrfx_pwm.c78 uint8_t flags; member
247 uint8_t flags, in start_playback() argument
251 p_cb->flags = flags; in start_playback()
270 if (flags & NRFX_PWM_FLAG_SIGNAL_END_SEQ0) in start_playback()
274 if (flags & NRFX_PWM_FLAG_SIGNAL_END_SEQ1) in start_playback()
279 if (flags & NRFX_PWM_FLAG_NO_EVT_FINISHED) in start_playback()
296 if (flags & NRFX_PWM_FLAG_START_VIA_TASK) in start_playback()
321 uint32_t flags) in nrfx_pwm_simple_playback() argument
337 if (flags & NRFX_PWM_FLAG_STOP) in nrfx_pwm_simple_playback()
341 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.c651 uint32_t flags, in nrfx_spim_xfer_dcx() argument
654 (void)flags; in nrfx_spim_xfer_dcx()
707 uint32_t flags) in spim_xfer() argument
731 nrfy_spim_tx_list_set(p_spim, NRFX_SPIM_FLAG_TX_POSTINC & flags); in spim_xfer()
732 nrfy_spim_rx_list_set(p_spim, NRFX_SPIM_FLAG_RX_POSTINC & flags); in spim_xfer()
737 if (flags & NRFX_SPIM_FLAG_HOLD_XFER) in spim_xfer()
748 if (!(flags & NRFX_SPIM_FLAG_HOLD_XFER)) in spim_xfer()
765 if (flags & NRFX_SPIM_FLAG_NO_XFER_EVT_HANDLER) in spim_xfer()
781 uint32_t flags) in nrfx_spim_xfer() argument
790 NRFX_ASSERT(!(flags & NRFX_SPIM_FLAG_HOLD_XFER) || in nrfx_spim_xfer()
[all …]
Dnrfx_gpiote.c94 #define PIN_FLAG_IS_OUTPUT(flags) ((flags & PIN_FLAG_DIR_MASK) == PIN_FLAG_OUTPUT) argument
108 #define PIN_FLAG_TRIG_MODE_GET(flags) \ argument
109 (nrfx_gpiote_trigger_t)((flags & PIN_FLAG_TRIG_MODE_MASK) >> PIN_FLAG_TRIG_MODE_OFFSET)
129 #define PIN_GET_HANDLER_ID(flags) \ argument
130 ((flags & PIN_FLAG_HANDLER_PRESENT) \
131 ? (int32_t)((flags & PIN_HANDLER_ID_MASK) >> PIN_HANDLER_ID_SHIFT) \
149 #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.c2055 if (0 == (p_transfer->flags & NRFX_USBD_TRANSFER_ZLP_FLAG)) in nrfx_usbd_ep_transfer()
2083 if (0 == (p_transfer->flags & NRFX_USBD_TRANSFER_ZLP_FLAG)) in nrfx_usbd_ep_transfer()
/hal_nordic-3.4.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.h348 uint32_t flags);
381 uint32_t flags,
Dnrfx_i2s.h283 uint8_t flags);
Dnrfx_spi.h271 uint32_t flags);
Dnrfx_uarte.h269 uint32_t flags);
Dnrfx_twi.h304 uint32_t flags);
Dnrfx_twim.h315 uint32_t flags);
/hal_nordic-3.4.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.h645 NRF_STATIC_INLINE void nrf_nfct_tx_frame_config_set(NRF_NFCT_Type * p_reg, uint8_t flags);
692 NRF_STATIC_INLINE void nrf_nfct_rx_frame_config_set(NRF_NFCT_Type * p_reg, uint8_t flags);
1105 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
1107 p_reg->TXD.FRAMECONFIG = flags; in nrf_nfct_tx_frame_config_set()
1127 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
1129 p_reg->RXD.FRAMECONFIG = flags; in nrf_nfct_rx_frame_config_set()
/hal_nordic-3.4.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.4.0/nrfx/
DCHANGELOG.md191 …, CLOCK, SPIM and POWER drivers to resolve compilation warnings, such as 'flags' in the SPIM drive…