Download Print this page

Description Of Software - Renesas H8S Series User Manual

Lcd display using 1/4 duty drive (lcd controller/driver)
Hide thumbs Also See for H8S Series:

Advertisement

4.

Description of Software

(1) Modules
Table 3 shows the modules used in this sample task.
Table 3 Modules
Module
Label
Main routine
main
(2) Arguments
No arguments are used in this sample task.
(3) Internal Registers Used
The internal registers used in this sample task are shown in table 4.
Table 4 Internal Registers Used
Register
Bit Name
LPCR
DTS1
DTS0
CMX
SGS3
SGS2
SGS1
SGS0
REJ06B0486-0100/Rev.1.00
LCD Display Using 1/4 Duty Drive (LCD Controller/Driver)
Performs initial settings for LCD RAM and LCD controller/driver, and
displays information on LCD
Description
LCD port control register
Duty cycle select 1 and 0
The combination of DTS1 and DTS0 selects static
mode, or 1/2, 1/3, or 1/4 duty.
• DTS1 = 1, DTS0 = 1: 1/4 duty selected
Common function select
Specifies whether or not the same waveform is to be
output from multiple pins to increase the common
drive power when not all common pins are used
because of the duty setting.
• CMX = 0: Same waveform not output from multiple
common pins not used because of duty setting
• CMX = 1: Same waveform output from multiple
common pins not used because of duty setting
Segment driver select 3 to 0
These bits select the segment drivers to be used.
• SGS3 = 0, SGS2 = 0, SGS1 = 1, SGS0 = 1: Pins
SEG40 to SEG17 function as segment drivers and
SEG16 to SEG1 function as port pins
March 2005
Description
Address
H'FFFC30
Bit 7
Bit 6
Bit 5
Bit 3
Bit 2
Bit 1
Bit 0
H8S Family
Set Value
H'C3
DTS1 = 1
DTS0 = 1
0
SGS3 = 0
SGS2 = 0
SGS1 = 1
SGS0 = 1
Page 12 of 19

Advertisement

loading