Datasheet

ADuC7033
Rev. B | Page 100 of 140
High Voltage Interface Control Register
Name: HVCON
Address: 0xFFFF0804
Default Value: Updated by kernel
Access: Read/write
Function: This 8-bit register acts as a command byte interpreter for the high voltage control interface. Bytes written to this
register are interpreted as read or write commands to a set of four indirect registers related to the high voltage circuits.
The HVDAT register is used to store data to be written to, or read back from, the indirect registers.
Table 71. HVCON MMR Write Bit Designations
Bit Description
7 to 0 Command Byte. Interpreted as
0x00 = read back High Voltage Register HVCFG0 into HVDAT.
0x01 = read back High Voltage Register HVCFG1 into HVDAT.
0x02 = read back High Voltage Status Register HVSTA into HVDAT.
0x03 = read back High Voltage Status Register HVMON into HVDAT.
0x08 = write the value in HVDAT to the High Voltage Register HVCFG0.
0x09 = write the value in HVDAT to the High Voltage Register HVCFG1.
All other command bytes are reserved and should not be written by user code.
Table 72. HVCON MMR Read Bit Designations
Bit Description
7 to 3 Reserved.
2 Transmit Command to High Voltage Die Status.
1 = command completed successfully.
0 = command failed.
1 Read Command from High Voltage Die Status.
1 = command completed successfully.
0 = command failed.
0
Busy Bit (Read Only). When user code reads this register, Bit 0 should be interpreted as the busy signal for the high
voltage interface. This bit can be used to determine if a read request has completed. High voltage (read/write)
commands, as described previously in the High Voltage Peripheral Control Interface section, should not be written
to HVCON unless busy = 0.
1 = high voltage interface is busy and has not completed the previous command written to HVCON. Bit 1 and Bit 2 are
not valid.
0 = high voltage interface is not busy and has completed the command written to HVCON. Bit 1 and Bit 2 are valid.