LPCOpen Platform  v1.03
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
LPC8xx Simple blinky example

Detailed Description

Example description
The Blinky example is known as the "Hello, World!" of embedded programming. This example will flash an LED on your board at a periodic rate and output the timer information on the UART port. This example uses sysTick.

Special connection requirements
There are no special connection requirements for this example.

Build procedures:
LPC8xx example quickstart for IAR EWARM
LPC8xx example quickstart for Keil uVision4
LPC8xx example quickstart for Code Red Xpresso

Supported boards and board setup:
NXP Xpresso LPC812 board

Submitting LPCOpen issues:
Community support for LPCOpen

Macros

#define TICKRATE_HZ   (10) /* 10 ticks per second */
 

Functions

void SysTick_Handler (void)
 Handle interrupt from SysTick timer.
 
int main (void)
 main routine for blinky example
 

Macro Definition Documentation

#define TICKRATE_HZ   (10) /* 10 ticks per second */

Definition at line 62 of file blinky.c.

Function Documentation

int main ( void  )

main routine for blinky example

Main program body.

Returns
Function should not exit.

defined(CHIP_LPC175X_6X)

Definition at line 89 of file blinky.c.

void SysTick_Handler ( void  )

Handle interrupt from SysTick timer.

SysTick 1mS tick handler.

Returns
Nothing

Definition at line 80 of file blinky.c.