| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
board_ea_devkit_17884088.h File Reference
`#include "chip.h"`
`#include "board_api.h"`
`#include "lpc_phy.h"`
`#include "lpc_norflash.h"`
`#include "lpc_nandflash.h"`
`#include "lpc_nandflash_k9f1g.h"`
`#include "uda1380.h"`

Go to the source code of this file.

## Macros
#define | BOARD_EA_DEVKIT_17884088
#define | FRAMEBUFFER_ADDR EMC_ADDRESS_DYCS0
#define | I2CDEV_UDA1380_ADDR 0x1A
#define | UDA1380_I2C_BUS I2C0
#define | LEDS_LED1 0x01
#define | LEDS_LED2 0x02
#define | LEDS_LED3 0x04
#define | LEDS_LED4 0x08
#define | LEDS_NO_LEDS 0x00
#define | BUTTONS_BUTTON1 0x01
#define | NO_BUTTON_PRESSED 0x00
#define | JOY_UP 0x01
#define | JOY_DOWN 0x02
#define | JOY_LEFT 0x04
#define | JOY_RIGHT 0x08
#define | JOY_PRESS 0x10
#define | BOARD_LCD EA320x240
#define | NANDFLASH_READY_PORT 2
#define | NANDFLASH_READY_PIN 21

## Functions
void | Board_ENET_GetMacADDR (uint8_t *mcaddr)
| Returns the MAC address assigned to this board.
void | Board_UART_Init (LPC_USART_T *pUART)
| Initialize pin muxing for a UART.
void | Board_Audio_Init (LPC_I2S_T *pI2S, int micIn)
| Sets up board specific I2S interface and UDA1380 CODEC.
void | Board_SSP_Init (LPC_SSP_T *pSSP)
| Initialize pin muxing for SSP interface.
void | Board_I2C_Init (I2C_ID_T id)
| Sets up board specific I2C interface.
STATIC INLINE void | Board_I2C_EnableFastPlus (I2C_ID_T id)
| Sets up I2C Fast Plus mode.
STATIC INLINE void | Board_I2C_DisableFastPlus (I2C_ID_T id)
| Disable I2C Fast Plus mode and enables default mode.
void | Board_CAN_Init (LPC_CAN_T *pCAN)
| Sets up board specific CAN interface.
void | Board_LCD_Init (void)
| Initialize LCD Interface.
void | Board_InitLCDController (void)
| Initialize the LCD controller on the QVGA (320x240) TFT LCD.
void | Board_InitTouchController (void)
| Initialize touchscreen controller.
bool | Board_GetTouchPos (int16_t *pX, int16_t *pY)
| Get Touch coordinates.
void | Board_SetLCDBacklight (uint8_t Intensity)
| Set LCD Backlight.
void | Board_Buttons_Init (void)
| Initialize buttons on the board.
uint32_t | Buttons_GetStatus (void)
| Get button status.
void | Board_Joystick_Init (void)
| Initialize Joystick.
uint8_t | Joystick_GetStatus (void)
| Get Joystick status.
void | Board_RTC_EV_Init (void)
| Sets up board specific Event Monitor/Recorder interface.
void | Serial_CreateStream (void *Stream)
| Create Serial Stream.
void | Board_SDC_Init (void)
| Sets up board specific SDC peripheral.
STATIC INLINE void | Board_NorFlash_WriteCmd (uint32_t addr, uint16_t data)
| Write on address lines and data lines which are being connected to NOR Flash.
STATIC INLINE uint16_t | Board_NorFlash_ReadCmdData (uint32_t addr)
| Read command data returned by NOR Flash.
STATIC INLINE void | Board_NorFlash_WriteWord (uint32_t addr, uint16_t data)
| Write 16-bit data to NOR Flash.
STATIC INLINE uint16_t | Board_NorFlash_ReadWord (uint32_t addr)
| Read 16-bit data from NOR Flash.
void | Board_NANDFLash_Init (void)
| Read 16-bit data from NOR Flash.
STATIC INLINE bool | Board_NANDFLash_GetReady (void)
| Poll NAND Ready/Busy signal.
STATIC INLINE void | Board_NANDFLash_WriteCmd (uint8_t cmd)
| Write a command to NAND Flash.
STATIC INLINE void | Board_NANDFLash_WriteAddr (uint8_t addr)
| Write a address byte to NAND Flash.
STATIC INLINE void | Board_NANDFLash_WriteByte (uint8_t data)
| Write a byte to NAND Flash.
STATIC INLINE uint8_t | Board_NANDFLash_ReadByte (void)
| Read data byte from Nand Flash.

## Variables
const LCD_Config_T | EA320x240