Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/usb/common/nrf_usbd_common/
Dnrf_usbd_common.c165 static nrfx_drv_state_t m_drv_state = NRFX_DRV_STATE_UNINITIALIZED; variable
1103 if (m_drv_state != NRFX_DRV_STATE_UNINITIALIZED) { in nrf_usbd_common_init()
1108 m_drv_state = NRFX_DRV_STATE_INITIALIZED; in nrf_usbd_common_init()
1140 __ASSERT_NO_MSG(m_drv_state == NRFX_DRV_STATE_INITIALIZED); in nrf_usbd_common_uninit()
1143 m_drv_state = NRFX_DRV_STATE_UNINITIALIZED; in nrf_usbd_common_uninit()
1148 __ASSERT_NO_MSG(m_drv_state == NRFX_DRV_STATE_INITIALIZED); in nrf_usbd_common_enable()
1196 m_drv_state = NRFX_DRV_STATE_POWERED_ON; in nrf_usbd_common_enable()
1210 __ASSERT_NO_MSG(m_drv_state != NRFX_DRV_STATE_UNINITIALIZED); in nrf_usbd_common_disable()
1233 m_drv_state = NRFX_DRV_STATE_INITIALIZED; in nrf_usbd_common_disable()
1244 __ASSERT_NO_MSG(m_drv_state == NRFX_DRV_STATE_POWERED_ON); in nrf_usbd_common_start()
[all …]