cycle_t modm::CycleCounter::cycles |
( |
| ) |
|
|
inline |
- Returns
- the difference in cycles between start and stop.
void modm::CycleCounter::initialize |
( |
bool force] |
[[maybe_unused] = false , |
|
|
uint8_t |
overhead = 4 |
|
) |
| |
|
inline |
- Parameters
-
force | overwrite previous timer configuration |
overhead | total number of overhead cycles |
uint32_t modm::CycleCounter::microseconds |
( |
| ) |
|
|
inline |
- Returns
- the difference in microseconds between start and stop.
uint32_t modm::CycleCounter::milliseconds |
( |
| ) |
|
|
inline |
- Returns
- the difference in milliseconds between start and stop.
uint32_t modm::CycleCounter::nanoseconds |
( |
| ) |
|
|
inline |
- Returns
- the difference in nanoseconds between start and stop.
The documentation for this class was generated from the following file: