Ejemplo n.º 1
0
/*********************************************************************
*
*       _OnStatusChange
*
*/
static void _OnStatusChange(void * pContext) {
  (void)pContext;

  _State = USB_GetState();
  OS_EVENT_Pulse(&_Event);
}
Ejemplo n.º 2
0
/**********************************************************
*
*       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]);
}