Manual

20
Low-Level Programming
3.2 D/A Data Format
The base address from Base+0 to Base+3 is used for D/A conversion. The
analog output channels and its corresponding registers are specified by table
3.2.
CH NO. CHANNEL 1 CHANNEL 2
High byte Base+0 Base+2
Low byte Base+1 Base+3
Table 3.2
Address : BASE + 0 & BASE + 1
Attribute:
write only
Data Format : (for D/A Channel 1)
Bit 7 6 5 4 3 2 1 0
Base + 0 X X X X DA11 DA10 DA9 DA8
Base + 1 DA7 DA6 DA5 DA4 DA3 DA2 DA1 DA0
Address : BASE + 2 & BASE + 3
Attribute:
write only
Data Format: (for D/A Channel 2)
Bit 7 6 5 4 3 2 1 0
Base + 2 X X X X DA11 DA10 DA9 DA8
Base + 3 DA7 DA6 DA5 DA4 DA3 DA2 DA1 DA0
DA11 .. DA0:
Digital to Analog data.
DA0
is the Least Significant Bit, and
DA11
is the Most Significant Bit.
X:
Don't care.