Skip to content
Ryan Summers edited this page Sep 5, 2015 · 32 revisions

This page documentation on the use of Timer Functions within SUBLIBinal.

Please Refer to the links below to the relevant information.

Important Structures:

Enumerations:

  • Timer_Type
  • Clock_Divider

Functions available:

Timer_Config

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

Clone this wiki locally