![]() |
MKM34Z256VLx7 Bare Metal Software Drivers
R4.1.6
Reference Manual
|
This example shows typical use of the General-Purpose Input/Output (GPIO) module for pin control and interrupt generation. The example installs the callback function port_callback
which services any falling edge interrupts that occurs on the PTD0 pin. When an interrupt occurs, the states of PTJ3 and PTJ4 pins, configured in an output mode, toggle. On TWR-KM34Z75M board the PTD0 pin is connected to SW2 push button and PTJ3 and PTJ4 are connected LED1 and LED2, respectively.
IAR EWARM 7.40.7 | KEIL uVision 5.15 | CrossWorks 3.6 | ATOLLIC TrueStudio 5.3.0 | Kinetis Design Studio 3.0.0 |
---|---|---|---|---|
♦ | ♦ | ♦ | ♦ | ♦ |