std_period 107 core/usb_sync.c int std_period = EngDrvRead(GPIO_VSYNC_MAX); std_period 113 core/usb_sync.c int sync_period = std_period * 2 + cur_cnt; // schedule the end of extended period at t = t(synch pulse) + sync_time std_period 115 core/usb_sync.c if (std_period - cur_cnt < 10) // if too close to overflow, wait for the next period std_period 117 core/usb_sync.c sync_period -= (std_period - cur_cnt); std_period 128 core/usb_sync.c *(volatile int*)(GPIO_VSYNC_MAX) = std_period; // back to standard timing on next period