Enable or disable the service thread.
- Description:
- ServiceThreadEnableSet configures the service thread.
- Parameters
-
enable | True = service thread is running, false = service thread is stopped. |
- Sample Code:
- Stop the service thread before starting to use the controller's Sync interrupt.
- Note
The service thread is started automatically by default when the controller is initialized. It should only be disabled if using the periodic Sync interrupt from the controller.
- See also
- InterruptEnable
- Examples
- SyncInterrupt.cpp.