Configure the period for the Sync Interrupt on the controller.
- Description:
- SyncInterruptPeriodSet configures the number of Controller firmware foreground samples between Sync interrupts. Therefore, an interrupt will be generated every [x] samples.
- Parameters
-
samples | The number of foreground cycles between successive interrupts from the controller. |
- Sample Code:
- Configure for a Sync interrupt every 10ms (assumes controller running at default 2000Hz sample rate)
- Note
- The Sync Interrupt is only intended for real-time operating systems.
- See also
- InterruptWait
- Examples
- StreamingMotionBufferManagement.cpp, SyncInterrupt.cpp, and UpdateBufferPoints.cpp.