
HD66841
33
Internal Registers
The HD66841 has an address register (AR) and 16 data registers (R0–R15), HD66841 has 8 palette
registers (P1–P8). Write the address of a register to be used into the address register (AR). (HD66841: but
only after setting the PS bit of control register 1 (R0) to 0 for a data register or 1 for a palette register.)
The MPU transfers data to the register corresponding to the written address.
Registers are valid only in the internal register programming method, they are invalid (don’t care) in the pin
programming method.
1. Address Registers (AR)
The address register (Figure 18) is used to select one of the 16 data registers or 8 palette registers. It can
select any data register (or palette register) according to the register address written to it by the MPU. The
address register itself is selected if the RS signal is set low.
2. Control Registers 1 (R0)
Control register (Figure 19) is composed of 4 bits whose functions are described below. Reading from and
writing into invalid bits are possible. However, these operations do not affect the LSI function.
DCK bit
DCK = 1: The DOTCLK signal generated internally.
DCK = 0: The DOTCLK signal is supplied externally.
DSP bit
DSP = 1: The DISPTMG signal is generated internally.
DCK = 0: The DSPTMG signal is supplied externally. (However, note that if DCK is 1, the DISPTMG
signal is generated internally even if DSP is 0.)
Data bit
Value
3
2
1
0
Register address
AR
Figure 18 Address Register
Data bit
Function for HD66840
Function for HD66841
3
DIZ
2
PS
1
DSP
DSP
0
DCK
DCK
R0
Figure 19 Control Register 1