EMC EM78612 User Manual
Page 19
EM78612
Universal Serial Bus Microcontroller
Product Specification (V1.0) 03.22.2006
•••• 17
(This specification is subject to change without further notice)
CONT (Control Register)
7
6
5
4
3
2
1
0
RW_E
/INT
TSR2
TSR1
TSR0
PSR2
PSR1
PSR0
NOTE
The CONT register can be read by the instruction "CONTR" and written by the
instruction “CONTW."
CONT [0~2]
WatchDog Timer prescaler bits. These three bits are used as the
prescaler of WatchDog Timer.
CONT [3~5]
TCC Timer prescaler bits.
The relationship between the prescaler value and these bits are as shown below:
PSR2/TSR2
PSR1/TSR1
PSR0/TSR0
TCC Rate
WDT Rate
( 8mS )
0
0
0
6MHz / 2
8 ms
0
0
1
6MHz / 4
16 ms
0
1
0
6MHz / 8
32 ms
0
1
1
6MHz / 16
64 ms
1
0
0
6MHz / 32
128 ms
1
0
1
6MHz / 64
256 ms
1
1
0
6MHz / 128
512 ms
1
1
1
6MHz / 256
1024 ms
CONT [6] Interrupt enable control bit. This bit toggles Interrupt function between
enable and disable. It is set to 1 by the interrupt disable instruction "DISI"
and reset by the interrupt enable instructions "ENI" or "RETI."
0: Enable the Interrupt function.
1: Disable the Interrupt function.
CONT [7] Remote wake-up enable bit. This bit is set to 1, if host enables device to
remote wake-up PC. It could be modified by SetFeature() & ClearFeature()
Request.
IOC5 ~IOC7 I/O Port Direction Control Registers
Each bit controls the I/O direction of three I/O ports ( Port5~Port7 ) respectively. When
these bits are set to 1, the relative I/O pins become input pins. Similarly, the I/O pins
becomes outputs when the relative control bits are cleared.
1: Input direction.
0: Output direction.