参数资料
型号: DM300014
厂商: Microchip Technology
文件页数: 60/72页
文件大小: 0K
描述: BOARD DEMO DSPICDEM 1.1 GEN PURP
标准包装: 1
dsPICDEM? 1.1 Development Board User’s Guide
B.3
COMMANDS
B.3.1
Command Structure
All commands recognized by the LCD controller are one to three bytes in length.
The command structure is designed to follow a simple rule that allows the interface to
be self-synchronizing at the command level (i.e., if a command is corrupted for some
reason, the controller can resynchronize on the command stream without special error
recovery procedures). The rule is that the first byte of a command always has its
MSB = 1 and the remaining bytes of the command have their MSB = 0 . There is an
exception to the rule that MSB = 0 for all bytes except the first byte. Some of the column
commands can have data in the MSB of their second byte and thus, may violate this
rule. The processing code in the LCD controller will parse these special commands and
allow the command exception.
All commands follow the form of a leading identification byte followed by zero to three
data bytes. The data bytes are not condensed or combined with other data, or modified
from the native form of the data. There is no handshaking or flow control required
because of the speed and buffer depth of the controller. This greatly simplifies the
interface on the dsPIC side since there is little advantage to putting wrappers around
the individual commands. Nothing needs to be done to the data other than to send it.
B.3.2
Command Types
The LCD has three data types, each based on its own independent coordinate
systems. The data types are:
? Character
? Pixel
? Column
Associated with each coordinate system is a “current” position of which each is
independent of the other. These positions are:
? CharPos
? PixPos
? ColPos
B.3.2.1
CHARACTERS
The character commands are used to write characters to the display. The character
coordinates are based on a 5 x 7 dot font justified to the upper left corner of the 6 x 8
box. The character cursor is a 5-pixel wide horizontal line that is justified to the lower
left corner of the 6 x 8 box and can be turned on or off, or can be set to blink.
Character operators are based on character coordinates R and C (i.e., Row and
Column). The current position, CharPos , specifies both the location of the character
cursor and the default position that the next character command will use. The home
position is the top left of the LCD display, ChrPos = (0,0).
The LCD accommodates four character rows (0-3) and 20 character columns (0-19).
Unless otherwise specified, incrementing ChrPosC beyond column 19 will wrap to the
next row (i.e., ChrPosC = 0 and ChrPosR + 1). If ChrPosR exceeds 3, it will wrap to
row 0.
DS70099B-page 56
Advance Information
? 2003 Microchip Technology Inc.
相关PDF资料
PDF描述
DM300016 BOARD DEMO DSPICDEM STARTER
DM300017 BOARD DEMO DSPICDEM STARTER
DM300020 BOARD DEV DSPICDEM MC1 MOTORCTRL
DM300021 MODULE PWR DSPICDEM MC1H HV 3PHS
DM300022 MODULE PWR DSPICDEM MC1L LV 3PHS
相关代理商/技术参数
参数描述
DM300015 功能描述:KIT DESIGN W/DM300014 RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:*
DM300016 功能描述:开发板和工具包 - PIC / DSPIC dsPICDEM Starter RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM300017 功能描述:开发板和工具包 - PIC / DSPIC dsPICDEM 28P Starter RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM300017 制造商:Microchip Technology Inc 功能描述:Microcontroller Development To
DM300018 功能描述:开发板和工具包 - PIC / DSPIC dsPICDEM 2 Demo Brd RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压: