/* * Handles the USB driver global events. */ static void sof_handler(USBDriver *usbp) { (void)usbp; osalSysLockFromISR(); sduSOFHookI(&SDU1); sduSOFHookI(&SDU2); osalSysUnlockFromISR(); }
/* * Handles the Start of Frame event. */ static void sof_handler(USBDriver *usbp) { (void)usbp; osalSysLockFromISR(); sduSOFHookI(&OUTPUT_CHANNEL); osalSysUnlockFromISR(); }