参数资料
型号: AC164127-8
厂商: Microchip Technology
文件页数: 7/16页
文件大小: 0K
描述: BOARD GRAPH DISPLAY 5.7 640X480
标准包装: 1
系列: PICtail™ Plus
主要目的: 显示器,LCD 显示器
嵌入式:
主要属性: 5.7" VGA TFT LCD
次要属性: 电阻式 4 线触控屏幕
已供物品:
Microchip Graphics Library Quick Reference Guide
Microchip Graphics Library Quick Reference Guide
August 22, 2011 – based on Graphics Library Version 3.01
This card contains brief API description. For complete API description, see Graphics Library Help File.
Predefined Types
GFX_COLOR
XCHAR
Device Driver Layer
Data type for color data. Dependent on the COLOR_DEPTH setting.
COLOR_DEPTH Data Type
8 typedef BYTE GFX_COLOR;
16 typedef WORD GFX_COLOR;
24 typedef DWORD GFX_COLOR;
Data type for characters. Set by macros in GraphicsConfig.h
macro XCHAR Data Type
#define USE_MULTIBYTECHAR signed int
#define USE_UNSIGNED_XCHAR unsigned char
non-of the above signed char
Device Driver Layer
void ResetDevice()
void PutPixel(SHORT x, SHORT y)
GFX_COLOR GetPixel(
SHORT x,
SHORT y)
void DisplayBrightness(WORD level)
WORD IsDeviceBusy()
WORD GetMaxX()
WORD GetMaxY()
void SetClip(BYTE control)
void SetClipRgn(
SHORT left,
SHORT top,
SHORT right,
SHORT bottom)
WORD GetClipLeft()
WORD GetClipRight()
WORD GetClipTop()
WORD GetClipBottom()
void SetColor(GFX_COLOR color)
GFX_COLOR GetColor()
void TransparentColorEnable(
GFX_COLOR color)
void TransparentColorDisable()
WORD GetTransparentColorStatus()
GFX_COLOR GetTransparentColor()
void SetActivePage(WORD page)
Description
Initialize the display interface and resets the display.
Renders the pixel located on the given x,y position with the
current set color.
Returns the pixel color located on the given x,y position.
Sets the brightness of the display (level: 0-100).
Returns a non-zero if display controller is busy with the
previous rendering operation. Zero if idle.
Returns the maximum horizontal coordinate.
Returns the maximum vertical coordinate.
Enables/disables clipping.
control definition
CLIP_DISABLE Disable clipping
CLIP_ENABLE Enable clipping
Sets the clipping region with the given coordinates.
Returns left clipping border.
Returns right clipping border.
Returns top clipping border.
Returns bottom clipping border.
Sets the current drawing color.
Returns the current drawing color.
Set the transparent color and enable the transparent color
feature for PutImage().
Graphics Config: USE_TRANSPARENT_COLOR
Disable the transparent color feature for PutImage().
Graphics Config: USE_TRANSPARENT_COLOR
Returns the current status of the transparent color feature of
PutImage().
return value definition
TRANSPARENT_COLOR_DISABLE feature is disabled
TRANSPARENT_COLOR_ENABLE feature is enabled
Graphics Config: USE_TRANSPARENT_COLOR
Returns the current transparent color set by
TransparentColorEnable().
Set the active page. Active page is the buffer used for
rendering. (1)
Device Driver Layer
void SetVisualPage(WORD page)
WORD CopyWindow(
DWORD srcAddr,
DWORD dstAddr,
WORD srcX, WORD srcY,
WORD dstX, WORD dstY,
WORD width,
WORD height)
WORD CopyPageWindow(
BYTE srcPage,
BYTE dstPage,
WORD srcX, WORD srcY,
WORD dstX, WORD dstY,
WORD width,
WORD height);
WORD CopyBlock(
DWORD srcAddr,
DWORD dstAddr,
DWORD srcOffset,
DWORD dstOffset,
WORD width,
WORD height);
void SwitchOnDoubleBuffering()
void SwitchOffDoubleBuffering()
BYTE IsDisplayUpdatePending()
void RequestDisplayUpdate(void)
void InvalidateAll()
void InvalidateRectangle(
WORD left,
WORD top,
WORD right,
WORD bottom);
void UpdateDisplayNow()
Description
Set the visible page. Visual page (display buffer ) is the page
shown on the display. (1)
Copies the contents of a window located in the address
defined by srcAddr and the pixel offset set by srcX and srcY
to an address location defined by dstAddr and the pixel offset
set by dstX and dstY. Size of the copied window is set by the
given width and height. (2)
Copies the contents of a window located in the page defined
by srcPage and the pixel offset set by srcX and srcY to
another page defined by dstPage and the pixel offset set by
dstX and dstY. Size of the copied window is set by the given
width and height. (1, 2)
Copies a block of pixels from the given source address
srcAddr with an offset srcOffset to a destination address given
by dstAddr with a given offset dstOffset. Size of the copied
block is set by the given width and height. (2)
Turn on the automatic management of double buffering. All
rendering will be performed on the currently set draw buffer.
Graphics Config: USE_DOUBLE_BUFFERING
Turn off the automatic management of double buffering. All
rendering will be performed on the currently set display buffer.
Graphics Config: USE_DOUBLE_BUFFERING
Returns the status of the display update set by
RequestDisplayUpdate().
Graphics Config: USE_DOUBLE_BUFFERING
Schedule synchronization of the contents of the draw buffer
and the display buffer at the next vertical blanking.
Graphics Config: USE_DOUBLE_BUFFERING
Marks the whole screen area as invalidated.
Graphics Config: USE_DOUBLE_BUFFERING
Invalidates the defined rectangular area in the display buffer.
On the next synchronization of the draw and display buffer,
the invalidated rectangle will be refreshed with the data in
the draw buffer.
Graphics Config: USE_DOUBLE_BUFFERING
Synchronizes the draw and display buffer immediately.
Graphics Config: USE_DOUBLE_BUFFERING
Notes:
1. The API is enabled only if the display controller supports multiple display buffers (or pages).
2. This is an optional feature and is implemented only if the display controller supports addressing of a block of pixel data .
Graphics Quick Reference Guide
7
相关PDF资料
PDF描述
AC164127-9 BOARD DEMO GRAPH TRULY7 800X480
AC164130 BOARD DAUGHT PICTL PLUS ECAN/LIN
AC164131 BOARD DAUGHTER USB PICTAIL PLUS
AC164132 BOARD DAUGHTER PICTAIL ETHERNET
AC164141 BOARD SMART CARD / SIM CARD
相关代理商/技术参数
参数描述
AC164127-9 功能描述:子卡和OEM板 Graphics Display 7" 800x480 Board RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
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