LPCOpen Platform  v1.03
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NXP LPC11C24 Xpresso board support functions

Detailed Description

Data Structures

struct  PINMUX_GRP_T
 

Modules

 BOARD: NXP LPC11C24 Xpresso board build options
 

Function Documentation

void Board_ADC_Init ( void  )

Initialize pin muxing for ADC channel 0.

Sets up board specific ADC interface.

Returns
Nothing

Definition at line 159 of file board_nxp_xpresso_11c24.c.

void Board_Debug_Init ( void  )

Initializes board UART for output, required for printf redirection.

Returns
None

Definition at line 94 of file board_nxp_xpresso_11c24.c.

void Board_Init ( void  )

Set up and initialize all required blocks and functions related to the board hardware.

Returns
None

Definition at line 138 of file board_nxp_xpresso_11c24.c.

static void Board_LED_Init ( void  )
static

Definition at line 109 of file board_nxp_xpresso_11c24.c.

void Board_LED_Set ( uint8_t  LEDNumber,
bool  State 
)

Sets the state of a board LED to on or off.

Parameters
LEDNumber: LED number to set state for
State: true for on, false for off
Returns
None

Definition at line 116 of file board_nxp_xpresso_11c24.c.

bool Board_LED_Test ( uint8_t  LEDNumber)

Returns the current state of a board LED.

Parameters
LEDNumber: LED number to set state for
Returns
true if the LED is on, otherwise false

Definition at line 123 of file board_nxp_xpresso_11c24.c.

void Board_SSP_Init ( void  )

Initialize pin muxing for SSP interface.

Returns
Nothing

Definition at line 153 of file board_nxp_xpresso_11c24.c.

void Board_UART_Init ( void  )

Initialize pin muxing for UART interface.

Returns
Nothing

Definition at line 57 of file board_nxp_xpresso_11c24.c.

int Board_UARTGetChar ( void  )

Get a single character from the UART, required for scanf input.

Returns
EOF if not character was received, or character value

Definition at line 73 of file board_nxp_xpresso_11c24.c.

void Board_UARTPutChar ( char  ch)

Sends a single character on the UART, required for printf redirection.

Parameters
ch: character to send
Returns
None

Definition at line 63 of file board_nxp_xpresso_11c24.c.

void Board_UARTPutSTR ( char *  str)

Prints a string to the UART.

Parameters
str: Terminated string to output
Returns
None

Definition at line 84 of file board_nxp_xpresso_11c24.c.

void SystemCoreClockUpdate ( void  )

Update system core clock rate, should be called if the system has a clock rate change.

Returns
None

Definition at line 130 of file board_nxp_xpresso_11c24.c.

Variable Documentation

uint32_t SystemCoreClock

Current system clock rate, mainly used for sysTick.

System Core rate (defined in LPC_BOARD library module)

Definition at line 47 of file board_nxp_xpresso_11c24.c.