|
7220 Datasheet, PDF (101/303 Pages) Renesas Technology Corp – 8-BIT SINGLE-CHIP MICROCOMPUTER | |||
|
◁ |
FUNCTIONAL DESCRIPTION
2.11 CRT display function
2.11.1 Display position
The display positions of characters are specified in units called a âblockâ. There are 2 blocks, block 1 and
block 2. Up to 24 characters can be displayed in 1 block (refer to â2.11.3 Memory for displayâ).
The display position of each block in both horizontal and vertical directions can be set by software.
The horizontal direction is common to all blocks, and is selected from 64-step display positions in units of
4 TC (TC = oscillation cycle for display).
The display position in the vertical direction is selected from 128-step display positions for each block in
units of 4 scanning lines. The display position in the vertical direction is determined by counting the
horizontal sync signal (HSYNC).
At this time, it starts to count the rising edge (falling edgeV) of HSYNC signal from after about 1 machine cycle
of rising edge (falling edgeV) of VSYNC signal. So interval from rising edge (falling edgeV) of HSYNC signal
needs enough time (2 machine cycles or more) for avoiding jitter.
V:The polarity of HSYNC and VSYNC signals can select by the CRT port control register (address 00EC16).
When clearing corresponding bits to â0,â positive polarity is selected, when setting to â1,â negative
polarity is selected. Refer to â2.11.7 CRT output pin controlâ for detail.
VSYNC signal input
8 machine cycles or more (See note 4)
VSYNC control signal
in microcomputer
Period of counting
HSYNC signal
0.125 µs to 0.25 µs (See note 2)
(See note 3)
HSYNC signal input
8 machine cycles or more
(See note 4)
â
â
â
â
â
â
Not count 1
2
3
4
5
When bits 0 and 1 of the CRT port control register (address 00EC16)
are set to â1â (negative polarity)
Note 1: The vertical position is determined by counting falling
edge of HSYNC signal after rising edge of VSYNC control
signal in the microcomputer.
2: At f(XIN) = 8 MHz
3: Do not generate falling edge of HSYNC signal near rising edge
of VSYNC control signal in microcomputer to avoid jitter.
4: Pulse width of VSYNC and of HSYNC signals needs 8 machine
cycles or more.
Fig. 2.11.4 Count method of synchronous signal
2-74
7220 Group Userâs Manual
|
▷ |