LPCOpen Platform  v1.03
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
board_nxp_xpresso_812.h File Reference
#include "chip.h"
#include "board_api.h"

Go to the source code of this file.

Macros

#define LPC8XX_USE_XTAL_OSC   1 /* Set 0 if using on-chip IRC instead of external oscillator */
 
#define BOARD_NXP_XPRESSO_812
 
#define LPC8XX_USE_ACMP_I1   (1) /* 0 to not configure ACMP_I1 to use pin choice below */
 
#define LPC8XX_ACMP_O_PINx   (PIO15) /* This value selects the output P0.x pin for the ACMP Output Function */
 

Functions

void Board_UART_Init (LPC_USART_T *pUART)
 Initialize pin muxing for UART interface.
 
void Board_SPI_Init (LPC_SPI_T *pSPI)
 Initialize pin muxing for SPI interface.
 
void Board_I2C_Init (void)
 Initialize pin muxing and clock for I2C interface.