std_period        108 core/usb_sync.c         int std_period = EngDrvRead(GPIO_VSYNC_MAX);
std_period        114 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        116 core/usb_sync.c         if (std_period - cur_cnt < 10)                               // if too close to overflow, wait for the next period
std_period        118 core/usb_sync.c             sync_period -= (std_period - cur_cnt);
std_period        129 core/usb_sync.c         *(volatile int*)(GPIO_VSYNC_MAX) = std_period; // back to standard timing on next period