![]() |
LPCOpen Platform
v1.03
LPCOpen Platform for NXP LPC Microcontrollers
|
Example description
This SWIM example draws some color bars on the display, animates a simple ball, and shows the LCD VCOMP IRQ interrupt rate (number of LCD refresh cycles).
Special connection requirements
There are no special connection requirements for this example.
Build procedures:
LPC18xx/43xx example quickstart for Keil uVision4
LPC18xx/43xx example quickstart for IAR EWARM
LPC18xx/43xx example quickstart for Code Red Xpresso
Supported boards and board setup:
Keil 1857 evaluation boards
Keil 4357 evaluation boards
Submitting LPCOpen issues:
Community support for LPCOpen
Macros | |
| #define | FONT font_x6x13 |
| #define | DISPLAY_WIDTH BOARD_LCD.PPL |
| #define | DISPLAY_HEIGHT BOARD_LCD.LPP |
Functions | |
| static void | lcd_colorbars (void) |
| void | LCD_IRQHandler (void) |
| LCD VCOMP Interrupt Handler. | |
| int | main (void) |
| Main entry point. | |
Variables | |
| static uint16_t * | framebuffer = (uint16_t *) FRAMEBUFFER_ADDR |
| static volatile uint32_t | frame_rate_counter |
| #define DISPLAY_HEIGHT BOARD_LCD.LPP |
Definition at line 77 of file swim_color_bars.c.
| #define DISPLAY_WIDTH BOARD_LCD.PPL |
Definition at line 76 of file swim_color_bars.c.
| #define FONT font_x6x13 |
Definition at line 73 of file swim_color_bars.c.
|
static |
Definition at line 88 of file swim_color_bars.c.
| void LCD_IRQHandler | ( | void | ) |
| int main | ( | void | ) |
Main entry point.
Main program body.
Definition at line 232 of file swim_color_bars.c.
|
static |
Definition at line 71 of file swim_color_bars.c.
|
static |
Definition at line 68 of file swim_color_bars.c.