Home
last modified time | relevance | path

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

/bsp/ht32/libraries/usbd_library/src/
A Dusb_port.c14 USBDCore_TypeDef *gUSBCore; variable
89 IsRemoteWakeupAllowed = USBDCore_GetRemoteWakeUpFeature(&gUSBCore); in Suspend()
105 …if ((gUSBCore->Info.CurrentStatus == USER_USB_STATE_SUSPENDED) && ((HT_USB->CSR & 0xC0) == 0x40)) … in Suspend()
126 if (IsRemoteWakeupAllowed == TRUE && USBDCore_IsSuspend(&gUSBCore) == TRUE) in Suspend()
160 gUSBCore = pCore; in USB_Configuration()
183gUSBCore->pDriver = (u32 *)&gUSBDriver; /* Initiate memory pointer of USB driver … in USB_Configuration()
184gUSBCore->Power.CallBack_Suspend.func = Suspend; /* Install suspend call back function into US… in USB_Configuration()
188 …USBDCore_Init(gUSBCore); /* Initiate USB Core layer … in USB_Configuration()
A Dht32_usbd_int.c276 IsRemoteWakeupAllowed = USBDCore_GetRemoteWakeUpFeature(&gUSBCore); in Suspend()
313 if (IsRemoteWakeupAllowed == TRUE && USBDCore_IsSuspend(&gUSBCore) == TRUE) in Suspend()
/bsp/ht32/libraries/HT32_STD_5xxxx_FWLib/library/HT32F5xxxx_Driver/src/
A Dht32_serial.c324 __ALIGN4 USBDCore_TypeDef gUSBCore; variable
333 USBDCore_IRQHandler(&gUSBCore); in USB_IRQHandler()
430gUSBCore.pDriver = (u32 *)&gUSBDriver; /* Initiate memory pointer of USB driver … in SERIAL_USBDInit()
431 …USBDDesc_Init(&gUSBCore.Device.Desc); /* Initiate memory pointer of descriptor … in SERIAL_USBDInit()
432 …USBDClass_Init(&gUSBCore.Class); /* Initiate USB Class layer … in SERIAL_USBDInit()
433 …USBDCore_Init(&gUSBCore); /* Initiate USB Core layer … in SERIAL_USBDInit()
438 …USBDCore_MainRoutine(&gUSBCore); /* USB core main routine … in SERIAL_USBDInit()
441 gUSBCore.Info.CurrentFeature.Bits.bSelfPowered = TRUE; in SERIAL_USBDInit()
442 …USBDCore_MainRoutine(&gUSBCore); /* USB core main routine … in SERIAL_USBDInit()
/bsp/ht32/libraries/HT32_STD_1xxxx_FWLib/library/HT32F1xxxx_Driver/src/
A Dht32_serial.c329 __ALIGN4 USBDCore_TypeDef gUSBCore; variable
338 USBDCore_IRQHandler(&gUSBCore); in USB_IRQHandler()
424gUSBCore.pDriver = (u32 *)&gUSBDriver; /* Initiate memory pointer of USB driver …
425 …USBDDesc_Init(&gUSBCore.Device.Desc); /* Initiate memory pointer of descriptor …
426 …USBDClass_Init(&gUSBCore.Class); /* Initiate USB Class layer …
427 …USBDCore_Init(&gUSBCore); /* Initiate USB Core layer …
432 …USBDCore_MainRoutine(&gUSBCore); /* USB core main routine …
435 gUSBCore.Info.CurrentFeature.Bits.bSelfPowered = TRUE;
436 …USBDCore_MainRoutine(&gUSBCore); /* USB core main routine …

Completed in 14 milliseconds