MYSON
TECHNOLOGY
MTV212A32
(Rev. 1.2)
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 addr
bit7
bit6
bit5
ADC
10h (w) ENADC
ADC
10h (r)
WDT
18h (w) WEN WCLR
bit4
bit3
bit2
bit1
bit0
SADC3 SADC2 SADC1 SADC0
ADC convert Result
WDT2 WDT1 WDT0
WDT (w) :
Watchdog Timer control register.
WEN
= 1 → Enable WatchDog Timer.
WCLR
= 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.
ADC (w) :
ADC control.
ENADC
=1
SADC0
=1
SADC1
=1
SADC2
=1
SADC3
=1
→ Enable ADC.
→ Select ADC0 pin input.
→ Select ADC1 pin input.
→ Select ADC2 pin input.
→ no action.
ADC (r) :
ADC convert result.
Revision 1.2
- 18 -
2000/07/04