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

Detailed Description

Example description
This example shows how to use the SYSCTL driver to driver a specific clock source on the CLKOUT pin. To use this example, you'll need to connect an oscilloscope to the CLKOUT pin on your board. See the comments in the code for mapped pins for supported boards.

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

Functions

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

Variables

static volatile uint32_t ticks100
 

Function Documentation

int main ( void  )

main routine for CLKOUT example

Main program body.

Returns
Function should not exit.

defined(CHIP_LPC175X_6X)

Definition at line 93 of file clkout.c.

void SysTick_Handler ( void  )

Handle interrupt from SysTick timer.

SysTick 1mS tick handler.

Returns
Nothing

Definition at line 81 of file clkout.c.

Variable Documentation

volatile uint32_t ticks100
static

Definition at line 63 of file clkout.c.