English
Language : 

W921E400A Datasheet, PDF (23/53 Pages) Winbond – 4-BIT MICROCONTROLLER
W921E400A/W921C400
There are 4-channel inputs to the comparator negative (can be programmed to positive) terminal, but
only one channel will be active at a time. The control register is shown below.
ANIMUX register: (address = 019H, default data = 0H)
b3
b2
b1
b0
Reserved Reserved
b1 b0
00
01
10
11
Enable
ANI0
ANI1
ANI2
ANI3
The content of 8-bit D/A converter is divided into D/A MSB data register (DAMSB) and D/A LSB data
register (DALSB). The block diagram is shown below.
• D/A Converter Control Register:
DACTL register: (address = 016H, default data = 0H)
b3
b2
b1
b0
Reserved
Reserved
0: D/A converter stop
1: D/A converter start
0:Vrang = (2/3)V DD
1:Vrang = 1.5V
When the DACTL register bit0 is set by software, the 8-bit D/A converter starts converting. The only
way to disable the D/A converter is to reset the bit0 of the DACTL register using the software control.
The power source of the D/A converter can be selected from the (2/3)VDD or 1.5V by programming
the DACTL register bit2.
• D/A Converter LSB Data Register
DALSB register: (address = 017H, default data = 0H)
b3
b2
b1
b0
• D/A Converter MSB Data Register
DAMSB register: (address = 018H, default data = 0H)
b3
b2
b1
b0
- 23 -
Publication Release Date: July 1999
Revision A3