Go to the source code of this file.
◆ timer0_configureOneShot()
void timer0_configureOneShot |
( |
unsigned int |
count | ) |
|
Start Timer in oneshot countdown mode start value is count
- Parameters
-
count | start value in the counter > 0 |
◆ timer0_configurePeriodic()
void timer0_configurePeriodic |
( |
unsigned int |
count | ) |
|
Start counter in periodic countdown mode start value is count
Timer will roll over to the count value when it reaches 0
- Parameters
-
count | start value in the counter > 0 |
◆ timer0_enable()
void timer0_enable |
( |
bool |
is_enable | ) |
|
Enable or Disable timer0
- Parameters
-
is_enable | when 1 (true) timer0 is enable (start counting), 0 (false) timer0 is disabled |
◆ timer0_readValue()
unsigned int timer0_readValue |
( |
| ) |
|