|
theCore C++ embedded framework
|
Functions | |
| void | enable () |
| Enables timer, start counting. More... | |
| void | disable () |
| Disables timer, stop counting. More... | |
| uint32_t | speed () |
| Gets speed in which timer generate events. More... | |
| uint32_t | events () |
| Gets amount of events occurred so far. More... | |
| void ecl::systmr::enable | ( | ) |
Enables timer, start counting.
| void ecl::systmr::disable | ( | ) |
Disables timer, stop counting.
| uint32_t ecl::systmr::speed | ( | ) |
Gets speed in which timer generate events.
Each event generates interrupt, but not necessarily timer interrupt is passed to the user. In other words, each event will wake-up processor. Useful in conjunction with WFI.
| System | timer events generation speed in Hz. |
| uint32_t ecl::systmr::events | ( | ) |
Gets amount of events occurred so far.
Events counter may not reset after disable() call.
| Amount | of events occured so far |