6 / 27 page
SCG9832
8-BIT MICROCONTROLLER
Score Concept Semiconductor Ltd.
6
Sept 2000
I/O ports
The microcontroller has one 7-bit output port and two software controllable 8-bit I/O ports.
For I/O port 0, there is a pull-low resistor when it is configured as in input mode, and this resistor
is disabled when it is in output mode.
For I/O port 1, it is floating when in input mode.
For Port 2, it is a 7-bit output port only.
Timers
The microcontroller has two programmable 8-bit timers (T0 and T1) for system timing. It has
also a real time timer and a watch dog timer when subsystem clock is employed. All the timers
can be enabled or disabled by configuring an internal register, TCONG. At CPU resets, all of
them are disabled.
T0 and T1 are up-counters and can be configured as either two 8-bit pre-scalar auto reload timer
or as a 16-bit pre-scalar auto reload timer. The timer overflow flag will be set if the timer
overflows. Then an interrupt will be generated if the corresponding interrupt enable bit is set to 1.
The real time timer provides 0.5 sec interrupt for RTC functions. Watch dog timer will overflow in
~1 sec and then will reset the CPU.