35 void USB_Power_Event (uint32_t power) {
46 void USB_Reset_Event (
void) {
58 void USB_Suspend_Event (
void) {
69 void USB_Resume_Event (
void) {
80 void USB_WakeUp_Event (
void) {
91 void USB_SOF_Event (
void) {
103 void USB_Error_Event (uint32_t error) {
113 #if USB_CONFIGURE_EVENT
114 void USB_Configure_Event (
void) {
116 if (USB_Configuration) {
128 #if USB_INTERFACE_EVENT
129 void USB_Interface_Event (
void) {
139 #if USB_FEATURE_EVENT
140 void USB_Feature_Event (
void) {
145 #define P_EP(n) ((USB_EP_EVENT & (1 << (n))) ? USB_EndPoint##n : NULL)
148 void (*
const USB_P_EP[USB_LOGIC_EP_NUM]) (uint32_t event) = {
163 void USB_EndPoint1 (uint32_t event) {
165 static uint16_t serialState;
169 temp = CDC_GetSerialState();
170 if (serialState != temp) {
172 CDC_NotificationIn();
185 void USB_EndPoint2 (uint32_t event) {
196 void USB_EndPoint3 (uint32_t event) {