AN1368
14. USE_BITMAP_FLASH:
Supports bit map
7.
Touch Screen Definitions: These #defines
images stored in the internal Flash of the
microcontroller to be used in the application.
15. USE_BITMAP_EXTERNAL: Supports bit map
provide the definitions and setup information of
ADC channels used for sensing a touch in touch
screen-enabled applications.
images stored in the external memory (serial or
parallel Flash) to be used in the application. The
application needs to implement a function, WORD
ExternalMemoryCallback (EXTDATA
*memory, LONG offset, WORD nCount,
void *buffer) , to get data from the external
memory.
8.
9.
RTCC Definitions: These #defines provide
setup information for the RTCC module if an
internal Real-Time Clock (RTC) is used in the
application.
Communication Definitions: These
#defines provide the definitions and setup
information of communication modules, such as
Note:
Refer to the Microchip Graphics Library
Help file for the latest set of configuration
options.
UART/USB channels used for communication
proposes in the application.
10. Application-Specific Definitions: Any other
application-specific hardware definitions can be
HardwareProfile.h
This file is used to configure hardware for an application
and is similar to the usage as in other Microchip software
libraries. If a HardwareProfile.h already exists in the
application, the following definitions can be added to it,
and if not, a new file with the following definitions must
be created. This file mainly contains the following
sections:
included here.
Refer to any graphics demo distributed with the
Microchip Graphics Library for specific details or for
use as an example.
Note: Refer to the Microchip Graphics Library
Help file for the latest set of configuration
definitions.
1.
2.
3.
4.
5.
GetSystemClock(): This macro must return
the frequency of the system clock in Hertz.
GetPeripheralClock(): This macro must
return the frequency of the peripheral clock in
Hertz. In PIC24 microcontrollers, this is half of
the system clock. For more information on
PIC32 devices, refer to the respective device
data sheet.
GetInstructionClock(): This macro must
return the frequency of the instruction clock in
Hertz. In PIC24 microcontrollers, this is half of
the system clock, and in PIC32 microcontrollers,
this is the same as the system clock.
Display Related Settings: These settings
contain a set of #defines which defines the
various display related parameters, such as the
type of the display (TFT or CSTN or MSTN),
resolution of the screen, color depth, display
clock speed, various display timing parameters,
address of the draw buffer and frame buffer
among others.
I/ O Ports for Keys: Provide definitions of the I/O
pins used in the application. These can be used
as inputs for switches or outputs to turn on LEDs,
or application controlled pins to enable specific
hardware.
OTHER GRAPHICS LIBRARIES FOR
PIC MICROCONTROLLER
Apart from Microchip, there are various third parties
that provide a graphics library for PIC MCUs. For
example:
? Segger ’s emWin Graphics Library
? Micrium’s μC/GUI
CONCLUSION
Support for embedded graphics is becoming important
in recent user interface applications. Microchip
supports their customers in multiple ways by providing
development tools, graphic libraries, graphic-enabled
microcontrollers (PIC24FJ256DA210) with extensive
documentation, demo codes and support. Microchip’s
graphics solutions can be successfully used for many
embedded graphics applications resulting in less time
to market and lower cost.
6.
External Memory Definitions:
These
#defines provide the definitions of port pins
and/or module initialization, such as for SPI,
I 2 C? or PMP to interface to the microcontroller
with the external memory (EEPROM, Flash or
SD Card).
? 2011 Microchip Technology Inc.
DS01368A-page 27
相关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