![]() |
MKM34Z256VLx7 Bare Metal Software Drivers
R4.1.6
Reference Manual
|
This example shows typical use of the Low-Power Timer (LPTMR) operation in a free-running, timer counter mode. Timer is controlled by internal 1 kHz low power clock and it counts until overflow when counter resets. The timer content is read by LPTMR_ReadCnt()
macro and stored to counter
variable in a software loop.
You can leverage IAR Embedded Workbench IDE's "Live Watch" debugging window, which is intended to visualize values of variables during debugging. The screenshot below demonstrates on-line monitoring counter
variable during debugging.
IAR EWARM 7.40.7 | KEIL uVision 5.15 | CrossWorks 3.6 | ATOLLIC TrueStudio 5.3.0 | Kinetis Design Studio 3.0.0 |
---|---|---|---|---|
♦ | ♦ | ♦ | ♦ | ♦ |