| 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
dualcore_emwin.c File Reference

## Detailed Description

emWin Example application source code This file provides functions using emWin library.

Definition in file dualcore_emwin.c.

`#include "lpc43xx_dualcore_config.h"`
`#include "ipc_example.h"`
`#include "ipc_msg.h"`
`#include "GUI.h"`
`#include "DIALOG.h"`

Go to the source code of this file.

## Macros
#define | ID_FRAMEWIN_0 (GUI_ID_USER + 0x0A)
#define | ID_TEXT_0 (GUI_ID_USER + 0x0B)
#define | ID_BUTTON_0 (GUI_ID_USER + 0x0C)
#define | ID_BUTTON_1 (GUI_ID_USER + 0x0D)
#define | ID_BUTTON_2 (GUI_ID_USER + 0x0E)
#define | ID_TEXT_1 (GUI_ID_USER + 0x10)
#define | ID_TEXT_2 (GUI_ID_USER + 0x11)
#define | ID_TEXT_3 (GUI_ID_USER + 0x12)
#define | ID_TEXT_4 (GUI_ID_USER + 0x13)
#define | ID_TEXT_5 (GUI_ID_USER + 0x14)
#define | ID_EDIT_0 (GUI_ID_USER + 0x15)
#define | ID_EDIT_1 (GUI_ID_USER + 0x16)
#define | TSC_CHECK_DELAY (20)
#define | GUI_BUF_ADDR 0x28050000
| GUI buffers required for emwin library.
#define | GUI_NUMBYTES ((1024 * 1024) * 2)
#define | GUI_BLOCKSIZE (0x128)
#define | GUI_BUF LOCATE_AT(GUI_BUF_ADDR)
#define | FRAME_BUF LOCATE_AT(FRAMEBUFFER_ADDR)

## Functions
static void | lcd_update_remoteip (uint32_t new_remote_ip)
static void | lcd_update_values (WM_HWIN hWin_up)
static void | lcd_update_hostip (uint32_t host_ip)
void | SysTick_Enable (uint32_t period)
| System Tick enable function.
void | EVENT_lwip_http_access (uint32_t addr)
void | EVENT_lwip_addr_changed (uint32_t new_addr)
| Event handler to notify IP address change to other tasks This is a weak function implementation, other tasks/applicaitons can override the function with its own implementation.
void | EMWIN_Init (void)
| emWin dual core example initialisation function
void | emwin_tasks (void)
| emWin dual core example task

## Variables
volatile uint32_t | host_ip_addr
volatile uint32_t | remote_ip_addr
static volatile int | start = 0
static volatile short | counter = 0
static WM_HWIN | hWin
volatile int | tsc_init_done = 0
| Touch screen initialisation done flag.
GUI_BUF U32 | GUI_Memory [GUI_NUMBYTES/sizeof(U32)]
U32 | GUI_Memory_Size = GUI_NUMBYTES
U32 | GUI_Block_Size = GUI_BLOCKSIZE
FRAME_BUF uint16_t | Frame_Buf [C_GLCD_H_SIZE *C_GLCD_V_SIZE]