C8051F340/1/2/3/4/5/6/7
21.2.3. Timer 2 Capture Modes: USB
When T2CE = ‘1’, Timer 2 will operate in one of two special capture modes. The capture event can be selected between a USB
TMR2CN |
|
|
|
|
| |
T T T T T T T T |
|
|
|
|
| |
F F F 2 2 R 2 2 |
|
|
|
|
| |
2 2 2 C S 2 C X | CKCON |
|
|
|
| |
H L L E P | S C |
|
|
|
| |
E L S L | T T T T T T S S |
|
|
| ||
N I | K | 3 3 2 2 1 0 | C C |
|
|
|
T |
|
|
|
| ||
| M M M M M M A A |
|
|
| ||
|
|
|
|
| ||
|
| H L H L | 1 0 |
|
|
|
SYSCLK / 12 | 0 |
|
|
| TL2 | To SMBus |
|
|
|
| |||
|
| 0 |
|
| Overflow |
|
|
| TR2 | TCLK |
|
| |
External Clock / 8 | 1 |
| TMR2L | TMR2H | ||
|
|
| ||||
|
|
|
|
| ||
SYSCLK |
| 1 |
|
|
|
|
USB | 0 |
|
|
| ||
|
|
|
| Capture | TMR2RLL | TMR2RLH |
|
|
|
|
| ||
1 |
|
|
| |||
Falling Edge |
|
|
| |||
|
|
|
| |||
|
|
| T2CSS | Enable | Interrupt |
|
|
|
|
|
|
To ADC, SMBus
Figure 21.6. Timer 2 Capture Mode (T2SPLIT = ‘0’)
Rev. 0.5 | 253 |