Home
last modified time | relevance | path

Searched refs:bitpos (Results 1 – 4 of 4) sorted by relevance

/hal_nordic-latest/nrfx/drivers/src/
Dnrfx_usbd.c704 static inline nrfx_usbd_ep_t bit2ep(uint8_t bitpos) in bit2ep() argument
707 return (nrfx_usbd_ep_t)((bitpos >= NRFX_USBD_EPOUT_BITPOS_0) ? in bit2ep()
708 NRF_USBD_EPOUT(bitpos - NRFX_USBD_EPOUT_BITPOS_0) : NRF_USBD_EPIN(bitpos)); in bit2ep()
856 uint8_t bitpos = (uint8_t)NRF_CTZ(ep_waiting); in usbd_ep_abort_all() local
857 if (!NRF_USBD_EPISO_CHECK(bit2ep(bitpos))) in usbd_ep_abort_all()
859 usbd_ep_abort(bit2ep(bitpos)); in usbd_ep_abort_all()
861 ep_waiting &= ~(1U << bitpos); in usbd_ep_abort_all()
1147 static void usbd_ep_data_handler(nrfx_usbd_ep_t ep, uint8_t bitpos) in usbd_ep_data_handler() argument
1151 m_ep_ready |= (1U << bitpos); in usbd_ep_data_handler()
1175 if (0 == (m_ep_dma_waiting & (1U << bitpos))) in usbd_ep_data_handler()
[all …]
/hal_nordic-latest/nrfx/haly/
Dnrfy_common.h64 #define NRFY_INT_BITPOS_TO_EVENT(bitpos) (((bitpos) << 2) + 0x100) argument
/hal_nordic-latest/nrfx/helpers/
Dnrfx_flag32_allocator.c53 bool nrfx_flag32_is_allocated(nrfx_atomic_t mask, uint8_t bitpos) in nrfx_flag32_is_allocated() argument
55 return (mask & NRFX_BIT(bitpos)) ? false : true; in nrfx_flag32_is_allocated()
Dnrfx_flag32_allocator.h78 bool nrfx_flag32_is_allocated(nrfx_atomic_t mask, uint8_t bitpos);