AN1368
SOFTWARE
The basic software component required for any
graphics application is a Software Display Driver which
provides one basic operation (i.e., setting the color of a
pixel). A driver may also implement APIs to draw
fundamental shapes, for instance, a line, rectangle,
bar, circle, text, image and so on. The Software Display
Driver must be written for every separate graphics
driver used. More complex graphic elements, like
labels, buttons, check boxes, sliders and progress bars
are implemented in higher layers, which in turn, use the
Software Display Driver.
Microchip provides a ‘free to use on PIC MCU’ software
library, called “Microchip Graphics Library”, which
contains the above discussed drivers and higher
layers. Several demos are distributed with the graphics
library which the user can run out of the box on the
appropriate development tools.
Features of the Microchip Graphics Library are:
? Works with 16-bit and 32-bit PIC ? MCUs, as well
as dsPIC ? DSCs
? Modular design, compile only what is required
? Supports multiple user interfaces
? Not dependent on display size or resolution
? Low-cost, full-featured development tools
? Utilities to import fonts and images
? Free to Microchip customers
? Includes multiple low-level drivers
The structure of the Microchip Graphics Library is
shown in Figure 22 .
The Microchip Graphics Library v2.11 is distributed
along with the Microchip Applications Library and is
available for download at www.microchip.com/MAL.
FIGURE 22:
STRUCTURE OF MICROCHIP GRAPHICS LIBRARY
Application Layer
User Message Interface
(Touch Screen, Keypad, and so on)
Graphic Object Layer
(Button, Slider, Edit Box, and so on)
Graphic Primitive Layer
(Line, Circle, Bar, and so on)
Display Device Driver Layer
(PutPixel, SetColor, and so on)
Graphic Display Controller/Display Panel
Note:
The Microchip Graphics Library Version 2.11 is explained here. In future, the software structure may be modified. Refer
to the Help file of your Microchip Graphics Library for the latest information.
The Graphics Display Controller is the hardware module
consisting of the frame buffer and Display Controller.
The remaining layers are the software layers. The
Microchip Graphics Library is organized in a set of
folders under the folder, ‘Microchip Solutions’. The ‘C’
files are in the folder, Microchip Solutions/Microchip/
Graphics , and the header files are in the folder,
Microchip Solutions/Microchip/Include/Graphics . The
? 2011 Microchip Technology Inc.
development board-specific files are in the folder,
Microchip Solutions/Board Support Package . The
project path must be set to point to these folders.
Starting from the bottom-most Software layer to the
top-most layer, the functionality of each layer and the
files responsible for those layers are explained further
in the following sections. For more information, refer to
the Help file of the Microchip Graphics Library.
DS01368A-page 21
相关PDF资料
AC164130 BOARD DAUGHT PICTL PLUS ECAN/LIN
AC164131 BOARD DAUGHTER USB PICTAIL PLUS
AC164132 BOARD DAUGHTER PICTAIL ETHERNET
AC164141 BOARD SMART CARD / SIM CARD
AC164142 BOARD DAUGHTER PWR LINE MODEM
AC164144 LLC PICTAIL PLUS DAUGHTR BRD
AC164145 BOARD DAUGHTER PWR LINE MODEM
AC243005-1 KIT MEMORY SERIAL SUPERFLASH 1
相关代理商/技术参数
AC164128 功能描述:子卡和OEM板 dsPICDEM Motor Cntrl PICtail Plus RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
AC164129 功能描述:子卡和OEM板 Audio PICtail Plus Daughter Board RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
AC164130 功能描述:网络开发工具 ECAN/LIN PICtail Plus Daughter Board RoHS:否 制造商:Rabbit Semiconductor 产品:Development Kits 类型:Ethernet to Wi-Fi Bridges 工具用于评估:RCM6600W 数据速率:20 Mbps, 40 Mbps 接口类型:802.11 b/g, Ethernet 工作电源电压:3.3 V
AC164130-2 功能描述:子卡和OEM板 CAN/LIN PICtail Plus Daughter Board RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
AC164131 功能描述:子卡和OEM板 USB PICtail Plus Daughter Board RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
AC164132 功能描述:以太网开发工具 100Mbps Ethernet PICtail Plus DB RoHS:否 制造商:Micrel 产品:Evaluation Boards 类型:Ethernet Transceivers 工具用于评估:KSZ8873RLL 接口类型:RMII 工作电源电压:
AC164133 功能描述:电源管理IC开发工具 dsPIC BuckBoost PICtail Daughtr Brd RoHS:否 制造商:Maxim Integrated 产品:Evaluation Kits 类型:Battery Management 工具用于评估:MAX17710GB 输入电压: 输出电压:1.8 V
AC164133 制造商:Microchip Technology Inc 功能描述:Buck/Boost Converter PICtail P