Searched refs:ep (Results 1 – 3 of 3) sorted by relevance
111 #define NRFX_USBD_ASSERT_EP_VALID(ep) NRFX_ASSERT( \ argument112 ((NRF_USBD_EPIN_CHECK(ep) && (NRF_USBD_EP_NR_GET(ep) < NRF_USBD_EPIN_CNT )) \114 (NRF_USBD_EPOUT_CHECK(ep) && (NRF_USBD_EP_NR_GET(ep) < NRF_USBD_EPOUT_CNT))) \159 #define NRFX_USBD_EP_BITPOS(ep) \ argument160 ((NRF_USBD_EPIN_CHECK(ep) ? NRFX_USBD_EPIN_BITPOS_0 : NRFX_USBD_EPOUT_BITPOS_0) \161 + NRF_USBD_EP_NR_GET(ep))177 .ep = endpont, \366 static inline nrf_usbd_event_t nrfx_usbd_ep_to_endevent(nrfx_usbd_ep_t ep) in nrfx_usbd_ep_to_endevent() argument368 NRFX_USBD_ASSERT_EP_VALID(ep); in nrfx_usbd_ep_to_endevent()395 return (NRF_USBD_EPIN_CHECK(ep) ? epin_endev : epout_endev)[NRF_USBD_EP_NR_GET(ep)]; in nrfx_usbd_ep_to_endevent()[all …]
487 #define NRF_USBD_EP_NR_GET(ep) ((uint8_t)(((uint8_t)(ep)) & 0xFU)) argument499 #define NRF_USBD_EPIN_CHECK(ep) ( (((uint8_t)(ep)) & NRF_USBD_EP_DIR_Msk) == NRF_USBD_EP_DIR_IN ) argument511 #define NRF_USBD_EPOUT_CHECK(ep) ( (((uint8_t)(ep)) & NRF_USBD_EP_DIR_Msk) == NRF_USBD_EP_DIR_OUT ) argument521 #define NRF_USBD_EPISO_CHECK(ep) (NRF_USBD_EP_NR_GET(ep) >= NRF_USBD_EPISO_FIRST) argument531 #define NRF_USBD_EP_VALIDATE(ep) ( \ argument532 (NRF_USBD_EPIN_CHECK(ep) && (NRF_USBD_EP_NR_GET(ep) < NRF_USBD_EPIN_CNT)) \534 (NRF_USBD_EPOUT_CHECK(ep) && (NRF_USBD_EP_NR_GET(ep) < NRF_USBD_EPOUT_CNT)) \687 NRF_STATIC_INLINE uint32_t nrf_usbd_halted_get(NRF_USBD_Type const * p_reg, uint8_t ep);703 NRF_STATIC_INLINE bool nrf_usbd_ep_is_stall(NRF_USBD_Type const * p_reg, uint8_t ep);826 NRF_STATIC_INLINE size_t nrf_usbd_epout_size_get(NRF_USBD_Type const * p_reg, uint8_t ep);[all …]
194 nrfx_usbd_ep_t ep; /**< Endpoint number. */ member197 nrfx_usbd_ep_t ep; /**< Endpoint number. */ member602 void nrfx_usbd_ep_max_packet_size_set(nrfx_usbd_ep_t ep, uint16_t size);613 uint16_t nrfx_usbd_ep_max_packet_size_get(nrfx_usbd_ep_t ep);623 bool nrfx_usbd_ep_enable_check(nrfx_usbd_ep_t ep);637 void nrfx_usbd_ep_enable(nrfx_usbd_ep_t ep);646 void nrfx_usbd_ep_disable(nrfx_usbd_ep_t ep);674 nrfx_err_t nrfx_usbd_ep_transfer(nrfx_usbd_ep_t ep,694 nrfx_err_t nrfx_usbd_ep_handled_transfer(nrfx_usbd_ep_t ep,726 nrfx_usbd_ep_status_t nrfx_usbd_ep_status_get(nrfx_usbd_ep_t ep, size_t * p_size);[all …]