![]() |
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_debug_console.h"
Functions | |
int | main (void) |
Uses a switch to controll a LED. More... | |
void | BOARD_SW_IRQ_HANDLER (void) |
Interrupt service fuction of switch. More... | |
Variables | |
volatile bool | isButtonPress |
void BOARD_SW_IRQ_HANDLER | ( | void | ) |
This function toogles LED1
int main | ( | void | ) |
Function prototype for main function.
This function toogles LED1 when press SW.
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
volatile bool isButtonPress |