This package has the limited feature 8051 library for PSoC 3 and the full feature library for PSoC 4 and PSoC 5LP.emWin is provided as a library package that can be manually included in a project.PSoC 6 ModusToolbox 2.0: \docs\UM03001_emWin5.pdfĬode Examples: PSoC Creator Code ExamplesĮmWin Software: SEGGER emWin Graphic Library Version 5.46.PSoC 6 Mbed OS: \docs\UM03001_emWin5.pdf.
From the user guide, select the display driver.ģ) Copy library and configuration files: Depending on the selected core option and display driver, copy the relevant files into the project.Ĥ) Port APIs and display configuration: Write Port API functions to communicate with the display and update emWin’s Port access functions with pointer to these functions. The method to select the option for different platforms can be found in the respective Getting Started documentation.Ģ) Select display driver: The list of display drivers and display controllers supported by these drivers can be found in the emWin user guide. Some of these steps may be optional depending on the device family and design platform.ġ) Select emWin core: emWin supports various combinations of OS and Touch support. The block diagram shows the emWin design flow. The application layer uses the functions provided by the emWin GUI framework to perform graphic operations on the display. The application layer allocates display memory that is used by the display driver.
The emWin display driver uses these functions to communicate with the display. The application layer implements Port API functions that control the hardware interface and perform operations like command write, single byte data write, multiple byte data writes, etc. Peripheral drivers are the hardware interface to the display like SPI, UART, parallel interface, etc. The display drivers interface with different types of display controllers. The GUI framework has functions like displaying text, bitmap images, widgets and drawing 2D graphics (lines, rectangles, circles etc).
The block diagram below shows the high-level details of how emWin integrates into an application.ĮmWin Library has two parts, the GUI framework and the display drivers. Supported features vary as shown in the table. Cypress has licensed the emWin library from SEGGER and offers it free to PSoC® customers.ĮmWin can be used with PSoC 3, PSoC 4, PSoC 5LP, and PSoC 6 MCUs. Developed by SEGGER Microcontroller, emWin is extremely popular in the embedded industry. emWin is compatible with single-task and multitask environments. Examples include home appliances as well as automotive, IoT, and industrial applications. It provides an efficient, processor- and display-controller-independent graphics platform for applications that need a display. EmWin is an embedded graphic library and graphical user interface (GUI) framework.