EM78P312N
8-Bit Microcontroller
|
|
|
| TC4M (1,1) | TC4FF |
|
|
|
|
|
| TC4 Interrupt | |
|
|
|
|
| F/F | /PWM, /PDO Pin |
11 |
|
| Clear |
| Clear | |
|
|
| Q | |||
fc/2 |
|
| TC4M(1,*) | Set | ||
fc/2 7 | MUX | Toggle | ||||
fc/2 3 | Overflow |
|
| |||
TC4 pin |
|
|
| Match |
|
|
|
|
|
|
|
| |
|
|
|
| Comparator |
|
|
| TC4CK | 3 |
|
|
|
|
|
|
|
|
|
| |
|
| TC4S |
|
|
|
|
|
| TC4CR | TCR4 |
|
|
|
|
|
| Fig. | Timer/Counter 4 Configuration |
|
5.11.1 Timer Mode
In Timer mode, counting up is performed using the internal clock. When the contents of the
5.11.2 Counter Mode
In Counter mode, counting up is performed on the rising edge of the external clock input pin (TC4 pin). When the contents of the
5.11.3 PDO Mode
In Programmable Divider Output (PDO) mode, counting up is performed using the internal clock. The contents of TCR4 are compared with the contents of the
Source Clock |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0 | 1 | 2 | 3 | n | 0 | 1 | n | 0 | 1 | n | 0 | 1 | 2 | ||||
TCR4 |
| n |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
F/F |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/PDO Pin |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TC4 Interrupt |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fig. 5-25 Timing Chart for PDO Mode
40 • | Product Specification (V1.0) 10.03.2006 |
(This specification is subject to change without further notice)