-
Notifications
You must be signed in to change notification settings - Fork 0
Timers
Ryan Summers edited this page Sep 5, 2015
·
32 revisions
This page documentation on the use of Timer Functions within SUBLIBinal.
- Timer_Type
- Clock_Divider
Definition:
typedef struct TIMER_CONFIG {
Timer_Type which_timer; ///< The timer to configure
uint frequency;
uint pbclk;
void (*callback); ///< The function to call when the timer is triggered
boolean enabled; ///< Tells if the timer is enabled
}Timer_Config; ///< Configuration struct for any timer
SUBLIBinal was created by the Palouse Robosub Club.