![]() |
Kinetis SDK v.1.2 Demo Applications User's Guide
Rev. 0
Freescale Semiconductor, Inc.
|
#include <stdio.h>
#include "board.h"
#include "fsl_os_abstraction.h"
#include "fsl_pdb_driver.h"
#include "fsl_debug_console.h"
Macros | |
#define | PDB_INSTANCE |
Functions | |
int | main (void) |
PDB normal timer. More... | |
Variables | |
volatile uint32_t | pdbIntCounter |
#define PDB_INSTANCE |
int main | ( | void | ) |
Function prototype for main function.
This function uses PDB to generate a constant period of time. Each time, PDB expires, interrupt occurres.
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 uint32_t pdbIntCounter |