0% found this document useful (0 votes)
37 views2 pages

µC/GUI: Efficient GUI for Embedded Systems

Widgets are windows with object properties like buttons and lists. Dialogs are windows that request input from the user through widgets. μC/GUI is a graphical user interface for embedded applications that works with various CPUs, LCDs, and in single or multi-task environments. It includes drivers for touch screens and popular LCD controllers.

Uploaded by

Saket Warade
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views2 pages

µC/GUI: Efficient GUI for Embedded Systems

Widgets are windows with object properties like buttons and lists. Dialogs are windows that request input from the user through widgets. μC/GUI is a graphical user interface for embedded applications that works with various CPUs, LCDs, and in single or multi-task environments. It includes drivers for touch screens and popular LCD controllers.

Uploaded by

Saket Warade
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Widgets: Widgets are windows with object type properties:

buttons, radio buttons, scroll bars, check boxes, list boxes and
more. Widgets are called controls in the Windows world.

µC/GUI is a universal graphical software for embedded Dialogs: Dialogs are normally windows that appear in order to
applications. It is designed to provide an efficient, processor request input from the user. It may contain multiple widgets,
and LCD controller independent graphical user interface to any requesting information from the user through various
application using a graphical LCD. It works in single as well as selections, or it may take the form of a message box that
in multi-task environments. µC/GUI can be adapted to just simply provides information (such as a note or warning to the
about any size of physical or virtual display with a LCD user) and an "OK" button.
controller and CPU.
Touch Screen: Touch screen support that is now included in
µC/GUI comes with ALL the source code. In fact, the source the basic package contains a low level driver that handles the
code is probably the cleanest and most consistent code of any analog input (from two 8 bit or better A/D converter channels),
Embedded Graphical User Interface. All services provided by debouncing and calibration of the touch screen. This module is
µC/GUI starts with a prefix related to the module to which its optional because you don't have to include it in your product if
belongs to (e.g.: 'GUI', 'WM' ). This makes it easier to know you don't have a touch screen.
that the functions refer to GUI services in your application.
Also, the services are neatly grouped by categories: Antialiasing: Smoothes curves and diagonal lines by
GUI_Disp???() for 2DGraphics, GUI_AA_???() for Antialiasing, "blending" the background color with that of the foreground.
etc.
Multiple displays: Windows can be placed in any layer or
µC/GUI works with just about all CPUs and unlike other GUIs display and drawing operations can be used on any layer or
which requires a C++ compiler, µC/GUI is written in 100% display. Multiple layers or multiple displays are handled the
ANSI-C. Processors from 8 to 32 bits will run µC/GUI; 16-bit same way (Using the same API routines) and are simply
CPUs or better are advisable for performance considerations. referred to as multiple layers, even if the particular embedded
system uses multiple displays. The µC/GUI viewer allows you
to look at every individual layer (display), but in the case of
multiple layer systems also to look at the actual output (the
composite view).

LCD Drivers: Micrium provides driver for the most popular


LCD controllers.

PC TOOLS
µC/GUI comes with a suite of development tools to facilitate
your project development.
µC/GUI includes a simulation environment under MSVC++. It
can be used to write and test the entire user-interface on the
PC (all routines are 100% identical to your embedded
application, no matter what CPU or LCD you are using). This
makes debugging and development easy and convenient.
Generating screen-shots of the LCD is a snap. These
screenshots can then be inserted into documentation.

JPEG display simulation of


a target system using a
Optional add-on modules allow you to customize the memory bitmap image of the actual
footprint required and features required by your application. hardware.
The modules are:

Memory Devices: Used to prevent the display from flickering


when using drawing operations of overlapping items.

Window Manager: Allows you to create and handle different


Windows of any size.
µC/GUI View, a separate program shows the contents of the SMALL FOOTPRINT
simulated LCD even during debugging.

The memory requirements vary depending on which parts of


the software are used and how efficient your target compiler is.
It is therefore not possible to specify precise values, but the
following apply to typical systems.

Small systems (no window manager)


RAM: 100 bytes
Stack: 500 bytes
ROM: 10-25 kb (depending on the functionality used)

Big systems (including window manager and widgets)


RAM: 2-6 kb (depending on number of windows
µC/GUI Bitmap converter required)
The bitmap converter is intended as a tool to convert bitmaps Stack: 1200 bytes
from a PC format to a C file. The bitmap converter displays the ROM: 30-60 kb (depending on the functionality used)
converted image.
Note that ROM requirements will increase if your application
A number of simple functions can be performed with the bitmap uses many fonts. All values are rough estimates and cannot
converter, including flipping the bitmap horizontally or vertically, be guaranteed.
rotating it, and inverting the bitmap indices or colors.

SAMPLES
µC/GUI is delivered as source code. Multiple samples of
source code are included with the µC/GUI package. Samples
are providing a simple introduction to some of the µC/GUI
features. For example:
2D Graphics
Antialiasing
Color Management
Windows/Widgets/Dialogs
Fonts
Memory devices (Anti-flickering)
Simulation of hardkeys with the PC simulation
µC/GUI Font converter environment
With the font converter and editor you can convert any font
available on your Windows-PC into a "C"-file which can be USER MANUAL
compiled and linked with your application. This way the font µC/GUI source code is structured and well documented. In
can be displayed on your LCD using µC/GUI. Proportional addition to the software quality of the source code, the µC/GUI
fonts are supported; fonts for foreign languages can be created user manual contains over 500 pages describing the functions
the same way. API.

This is an example
combining a large
portion of µC/GUI
features.
Empowering
Embedded
Systems

You might also like