/********************************************************************* * * _OnStatusChange * */ static void _OnStatusChange(void * pContext) { (void)pContext; _State = USB_GetState(); OS_EVENT_Pulse(&_Event); }
/********************************************************** * * USB_OS_Signal * * Function description * Wake the task waiting for receiption * * Add. info * This routine is typically called from within an interrupt * service routine */ void USB_OS_Signal(unsigned EPIndex) { OS_EVENT_Pulse(&_aEvent[EPIndex]); }