EM78M612
Universal Serial Bus Microcontroller Series
RB (Low Pattern Counter Register) Default Value: (0B_0000_0000)
7
6
5
4
3
2
1
0
LP.7
LP.6
LP.5
LP.4
LP.3
LP.2
LP.1
LP.0
This register is used in pattern detecting application. If this function is disabled (IOCE[2] = 0),
the PDA function is disabled. RB register is also used as a general-purpose register.
IOC9 (Pattern Detecting Application Control Register) Default Value:(0B_0111_0000)
7
6
5
4
3
2
1
0
Sample Sample Sample
0
0
DB.2
DB.1
DB.0
Time.2 Time.1 Time.0
IOC9 [0~2] Deboucing control registers. This is used for Pattern Detecting Application.
There are seven degrees available to debounce the input signal noise.
IOC9 [4~6] Sample time selection registers. This is used for Pattern Detecting Application.
The default value is 111.
Sample
Time.2
Sample
Time.1
Sample
Time.0
Sample Rate
( Divide the frequency of external oscillator by )
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
÷ 1
÷ 2
÷ 4
÷ 8
÷ 16
÷ 32
÷ 64
÷ 128
IOC9[3&7] Undefined register. The default value is Zero.
The PDA includes an enable control bit, an input pin (P60), a prescaler, a Pattern Detecting
block, two special register (RA and RB), and two interrupts (high pattern counter interrupt
and low pattern counter interrupt).
To use this function, the enable control bit, IOCE[2] has to be set first. Otherwise the P60
will just be treated as an input only pin and the RA/RB as general purpose register.
As long as the IOCE[2] control bit is set to 1 and the P60 is set as input pin, the Pattern
This specification may change without further notice.
2004/4/28 V1.1
31