![]() |
MKM34Z256VLx7 Bare Metal Software Drivers
R4.1.6
Reference Manual
|
This example shows typical use of the MMAU module instructions in both the main software loop and interrupt functions. The var_main
and var_isr
64-bit signed integer variables are updated using MMAU instructions in the main software loop and pit_callback function, respectively. Note that MMAU_StoreState()
function must be called at the entry of the pit_callback function and MMAU_RestoreState()
function at its exit to store and restore MMAU internal registers states.
The following FreeMASTER screenshot demonstrates var_main
and var_isr
variables changes. The FreeMASTER communicates via UART2 that is configured for 38400/8-N-1 and serviced by the application software in a polling mode. When using TWR-KM34Z75M board, connect USB port of your PC to the on-board OpenSDA's USB to serial bridge (J27).
IAR EWARM 7.40.7 | KEIL uVision 5.15 | CrossWorks 3.6 | ATOLLIC TrueStudio 5.3.0 | Kinetis Design Studio 3.0.0 |
---|---|---|---|---|
♦ | ♦ | ♦ | ♦ | ♦ |