LPCOpen Platform  v1.03
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
LPC11xx 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:
LPC11xx example quickstart for Code Red Xpresso
LPC11xx example quickstart for Keil uVision4
LPC11xx example quickstart for IAR EWARM

Supported boards and board setup:
NXP Xpresso LPC11U14 board
NXP Xpresso LPC11C24 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
Always returns 0.

defined(CHIP_LPC175X_6X)

Definition at line 94 of file clkout.c.

void SysTick_Handler ( void  )

Handle interrupt from SysTick timer.

SysTick 1mS tick handler.

Returns
Nothing

Definition at line 82 of file clkout.c.

Variable Documentation

volatile uint32_t ticks100
static

Definition at line 64 of file clkout.c.