![]() |
LPCOpen Platform for LPC18XX/43XX microcontrollers
18XX43XX
LPCOpen Platform for the NXP LPC18XX/43XX family of Microcontrollers
|
The board support software API functions provide some simple abstracted functions used across multiple LPCOpen board examples. See BOARD: Common board functions for the functions defined by this board support layer.
Modules | |
| BOARD: LPC4357 Keil MCB board build options | |
Functions | |
| void | Board_ADC_Init (void) |
| Sets up board specific ADC interface. More... | |
| void | Board_I2C_Init (I2C_ID_T id) |
| Sets up board specific I2C interface. More... | |
| STATIC INLINE void | Board_I2C_EnableFastPlus (I2C_ID_T id) |
| Sets up I2C Fast Plus mode. More... | |
| STATIC INLINE void | Board_I2C_DisableFastPlus (I2C_ID_T id) |
| Disable I2C Fast Plus mode and enables default mode. More... | |
| void | Board_GPIO_Int_Init (void) |
| Initializes board specific GPIO Interrupt. More... | |
| void | Board_SDMMC_Init (void) |
| Sets up board specific SDMMC interface. More... | |
| void | Board_SSP_Init (LPC_SSP_T *pSSP) |
| Sets up board specific SSP interface. More... | |
| void | Board_ENET_GetMacADDR (uint8_t *mcaddr) |
| Returns the MAC address assigned to this board. More... | |
| void | Board_UART_Init (LPC_USART_T *pUART) |
| Initialize pin muxing for a UART. More... | |
| void | Board_LCD_Init (void) |
| Initialize the LCD interface. More... | |
| void | Board_InitLCDController (void) |
| Initializes the LCD Controller. More... | |
| void | Board_InitTouchController (void) |
| Initialize touchscreen controller. More... | |
| bool | Board_GetTouchPos (int16_t *pX, int16_t *pY) |
| Get touch screen position (Polled mode) More... | |
| bool | Board_I2C_GetTouchPos (int16_t *pX, int16_t *pY) |
| Get touch screen position (Interrupt Based) More... | |
| void | Board_SetLCDBacklight (uint8_t Intensity) |
| Set LCD Backlight. More... | |
| void | Board_Buttons_Init (void) |
| Initializes board specific buttons. More... | |
| void | Board_Joystick_Init (void) |
| Initializes board specific joystick. More... | |
| uint8_t | Joystick_GetStatus (void) |
| Initialize joystick interface on board. More... | |
| uint32_t | Buttons_GetStatus (void) |
| Returns button(s) state on board. More... | |
| void | Board_Audio_Init (LPC_I2S_T *pI2S, int micIn) |
| Sets up board specific I2S interface and UDA1380. More... | |
Variables | |
| const LCD_CONFIG_T | MCB4300_LCD |
| #define BOARD_LCD MCB4300_LCD |
| #define TSC_I2C_ADDR (0x82 >> 1) /* Touchscreen 7-bit I2C address */ |
| void Board_ADC_Init | ( | void | ) |
| void Board_Audio_Init | ( | LPC_I2S_T * | pI2S, |
| int | micIn | ||
| ) |
Sets up board specific I2S interface and UDA1380.
| pI2S | : Pointer to I2S interface to initialize |
| micIn | : If 1 selects MIC as input device, if 0 selects LINE_IN |
Sets up board specific I2S interface and UDA1380.
| pI2S | : Pointer to I2S register interface used on this board |
| micIn | : If 1 MIC will be used as input, if 0 LINE_IN will be used |
Sets up board specific I2S interface and UDA1380.
| pI2S | : Pointer to I2S register interface used on this board |
| micIn | : If 1 selects MIC as input device, If 0 selects LINE_IN |
| pI2S | : Pointer to I2S register interface used on this board |
| micIn | : If 1 MIC will be used as input, if 0 LINE_IN will be used |
| void Board_Buttons_Init | ( | void | ) |
| void Board_ENET_GetMacADDR | ( | uint8_t * | mcaddr | ) |
| bool Board_GetTouchPos | ( | int16_t * | pX, |
| int16_t * | pY | ||
| ) |
Get touch screen position (Polled mode)
| pX | : pointer to X position |
| pY | : pointer to Y position |
Get touch screen position (Polled mode)
| pX | : Pointer to x-Coord to populate |
| pY | : Pointer to y-Coord to populate |
| void Board_GPIO_Int_Init | ( | void | ) |
Initializes board specific GPIO Interrupt.
Disable I2C Fast Plus mode and enables default mode.
| id | : Must always be I2C0 |
Sets up I2C Fast Plus mode.
| id | : Must always be I2C0 |
| bool Board_I2C_GetTouchPos | ( | int16_t * | pX, |
| int16_t * | pY | ||
| ) |
Get touch screen position (Interrupt Based)
| pX | : pointer to X position |
| pY | : pointer to Y position |
| void Board_I2C_Init | ( | I2C_ID_T | id | ) |
Sets up board specific I2C interface.
| id | : I2C Interface ID (I2C0, I2C1 ... etc) |
| id | : I2C Peripheral ID (I2C0, I2C1) |
| id | : I2C Peripheral ID (I2C0 or I2C1) |
| id | : I2C Peripheral ID (I2C0, I2C1) |
| void Board_InitLCDController | ( | void | ) |
| void Board_InitTouchController | ( | void | ) |
| void Board_Joystick_Init | ( | void | ) |
| void Board_LCD_Init | ( | void | ) |
| void Board_SDMMC_Init | ( | void | ) |
| void Board_SetLCDBacklight | ( | uint8_t | Intensity | ) |
Set LCD Backlight.
Set LCD Backlight.
| Intensity | : Backlight intensity (0 = off, >=1 = on) |
| void Board_SSP_Init | ( | LPC_SSP_T * | pSSP | ) |
| void Board_UART_Init | ( | LPC_USART_T * | pUART | ) |
| uint32_t Buttons_GetStatus | ( | void | ) |
| uint8_t Joystick_GetStatus | ( | void | ) |
| const LCD_CONFIG_T MCB4300_LCD |
1.8.3.1