LPCOpen Platform  v1.03
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
LPC18xx/43xx State Configurable Timer Traffic Lights example

Detailed Description

Example description
This example implements the Traffic Lights example using State Configurable Timer module. The FSM is built by using FZM tool. The FZM tool can be downloded from :
SCT Tools

Special connection requirements

Build procedures:
LPC18xx/43xx example quickstart for Keil uVision4
LPC18xx/43xx example quickstart for IAR EWARM
LPC18xx/43xx example quickstart for Code Red Xpresso

Supported boards and board setup:
Hitex 1850 evaluation boards
Hitex 4350 evaluation boards
Keil 1857 evaluation boards
Keil 4357 evaluation boards

Submitting LPCOpen issues:
Community support for LPCOpen

Functions

void SCT_PinsConfigure (void)
 
void SCT_IRQHandler (void)
 SCT interrupt handler.
 
int main (void)
 Main entry point.
 

Variables

static uint16_t delay
 

Function Documentation

int main ( void  )

Main entry point.

Main program body.

Returns
Nothing

Definition at line 163 of file sct_trafficlight.c.

void SCT_IRQHandler ( void  )

SCT interrupt handler.

Returns
Nothing

Definition at line 146 of file sct_trafficlight.c.

void SCT_PinsConfigure ( void  )

Definition at line 86 of file sct_trafficlight.c.

Variable Documentation

uint16_t delay
static

Definition at line 75 of file sct_trafficlight.c.