![]() |
MKM34Z256VLx7 Bare Metal Software Drivers
R4.1.6
Reference Manual
|
This example shows use of the Low-Power Timer (LPTMR) in energy saving application. The device is placed in either Very Low Power Wait (VLPW) or Very Low Power Stop (VLPS) mode most of the time. It resumes operation when LPTMR interrupt is asserted. The LPTMR is programmed to reset and assert interrupt request when value of counter (CNR) is equal to compare (CMR) and increments. Timer is controlled by internal 1 kHz low power clock and compare (CMR) is set to generate interrupt event every 8 seconds.
IAR EWARM 7.40.7 | KEIL uVision 5.15 | CrossWorks 3.6 | ATOLLIC TrueStudio 5.3.0 | Kinetis Design Studio 3.0.0 |
---|---|---|---|---|
♦ | ♦ | ♦ | ♦ | ♦ |