#include <stdio.h>
#include "fsl_lptmr_driver.h"
#include "board.h"
#include "fsl_debug_console.h"
|
void | lptmr_isr_callback (void) |
| LPTMR interrupt callback. More...
|
|
int | main (void) |
| The example uses LPTMR to generate interrupt each 1 second. When interrupt occurs, LED1 changes status & print to terminal. More...
|
|
void lptmr_isr_callback |
( |
void |
| ) |
|
Function prototype for main function.
Use LPTMR in Time Counter mode
When hit compare value, set counter back to zero
bypass prescaler
use 1kHz Low Power Clock
volatile uint32_t lptmrCounter |