Lines Matching refs:event
93 NRF_STATIC_INLINE void nrf_usbhs_event_clear(NRF_USBHS_Type * p_reg, nrf_usbhs_event_t event);
104 NRF_STATIC_INLINE bool nrf_usbhs_event_check(NRF_USBHS_Type const * p_reg, nrf_usbhs_event_t event);
115 …_STATIC_INLINE bool nrf_usbhs_event_get_and_clear(NRF_USBHS_Type * p_reg, nrf_usbhs_event_t event);
126 nrf_usbhs_event_t event);
192 NRF_STATIC_INLINE void nrf_usbhs_event_clear(NRF_USBHS_Type * p_reg, nrf_usbhs_event_t event) in nrf_usbhs_event_clear() argument
194 *((volatile uint32_t *)((uint8_t *)p_reg + (uint32_t)event)) = 0x0UL; in nrf_usbhs_event_clear()
195 nrf_event_readback((uint8_t *)p_reg + (uint32_t)event); in nrf_usbhs_event_clear()
198 NRF_STATIC_INLINE bool nrf_usbhs_event_check(NRF_USBHS_Type const * p_reg, nrf_usbhs_event_t event) in nrf_usbhs_event_check() argument
200 return nrf_event_check(p_reg, event); in nrf_usbhs_event_check()
203 …F_STATIC_INLINE bool nrf_usbhs_event_get_and_clear(NRF_USBHS_Type * p_reg, nrf_usbhs_event_t event) in nrf_usbhs_event_get_and_clear() argument
205 bool ret = nrf_usbhs_event_check(p_reg, event); in nrf_usbhs_event_get_and_clear()
208 nrf_usbhs_event_clear(p_reg, event); in nrf_usbhs_event_get_and_clear()
214 nrf_usbhs_event_t event) in nrf_usbhs_event_address_get() argument
216 return ((uint32_t)p_reg + (uint32_t)event); in nrf_usbhs_event_address_get()