MYSON
TECHNOLOGY
MTV212A32
(Rev. 1.2)
Revision 1.2 - 18 - 2000/07/04
RCBBUF
(r) :
Slave IIC block B receive data buffer.
TXBBUF
(w) :
Slave IIC block B transmit data buffer.
SLVBADR
(w) :Slave IIC block B's enable and address.
ENslvB = 1
→
Enable slave IIC block B.
= 0
→
Disable slave IIC block B.
bit6-0 :
Slave IIC address B to which the slave block should respond.
8. Low Power Reset (LVR) & Watchdog Timer
When the voltage level of power supply is below 4.0V for a specific time, the LVR will generate a chip reset
signal. After the power supply is above 4.0V, LVR maintain in reset state for 144 Xtal cycle to guarantee the
chip exit reset condition with a stable X'tal oscillation.
The WatchDog Timer automatically generates a device reset when it is overflow. The interval of overflow is
0.25 sec x N, where N is a number from 1 to 8, and can be programmed via register WDT(2:0). The timer
function is disabled after power on reset, user can activate this function by setting WEN, and clear the timer
by set WCLR.
9. A/D converter
The MTV212A32 is equipped with three 6-bit A/D converters, S/W can select the current convert channel
by setting the SADC1/SADC0 bit. The refresh rate for the ADC is OSC freq./12288. The ADC compare the
input pin voltage with internal VDD*N/64 voltage (where N = 0 - 63). The ADC output value is N when pin
voltage is greater than VDD*N/64 and smaller than VDD*(N+1)/64.
Reg name
ADC
ADC
WDT
addr
10h (w)
10h (r)
18h (w)
bit7
ENADC
bit6
bit5
bit4
bit3
SADC3
ADC convert Result
bit2
SADC2
bit1
SADC1
bit0
SADC0
WEN
WCLR
WDT2
WDT1
WDT0
WDT
(w) :
Watchdog Timer control register.
= 1
→
Enable WatchDog Timer.
= 1
→
Clear WatchDog Timer.
WDT2: WDT0
= 0
→
overflow interval = 8 x 0.25 sec.
= 1
→
overflow interval = 1 x 0.25 sec.
= 2
→
overflow interval = 2 x 0.25 sec.
= 3
→
overflow interval = 3 x 0.25 sec.
= 4
→
overflow interval = 4 x 0.25 sec.
= 5
→
overflow interval = 5 x 0.25 sec.
= 6
→
overflow interval = 6 x 0.25 sec.
= 7
→
overflow interval = 7 x 0.25 sec.
WEN
WCLR
ADC
(w) :
ADC control.
ENADC
SADC0
SADC1
SADC2
SADC3
= 1
= 1
= 1
= 1
= 1
→
Enable ADC.
→
Select ADC0 pin input.
→
Select ADC1 pin input.
→
Select ADC2 pin input.
→
no action.
ADC
(r) :
ADC convert result.