![]() |
Kinetis SDK v.1.2 Demo Applications User's Guide
Rev. 0
Freescale Semiconductor, Inc.
|
#include <stdio.h>
#include "board.h"
#include "gpio_pins.h"
#include "fsl_pit_driver.h"
#include "fsl_debug_console.h"
Macros | |
#define | BOARD_PIT_INSTANCE |
Functions | |
int | main (void) |
Simple example for PIT driver Measure the time of the generated pulse using oscilloscope on LED1 and LED2. LED2 will toggle faster 2 times than LED1. Find the pin of LED1, LED2 from gpio_pins.c and board schematics. More... | |
Variables | |
volatile bool | pitIsrFlag [2] |
#define BOARD_PIT_INSTANCE |
int main | ( | void | ) |
Function prototype for main function.
Example single timer period and interrupt on multiple channels
receiveBuff | Buffer used to hold received data |
Return code from each SSD function
Address of the target location
Return protection status
Number of longword or phrase to be verified
0=normal, 1=user, 2=factory - margin read for reading
Indicate LED is brighter or dimmer
Use LPTMR in Time Counter mode
When hit compare value, set counter back to zero
bypass prescaler
use 1kHz Low Power Clock
volatile bool pitIsrFlag[2] |