165
6174B–ATARM–07-Nov-05
AT91FR40162S Preliminary
• CPCSTOP: Counter Clock Stopped with RC Compare (Code Label
TC_CPCSTOP
)
0 = Counter clock is not stopped when counter reaches RC.
1 = Counter clock is stopped when counter reaches RC.
• CPCDIS: Counter Clock Disable with RC Compare (Code Label
TC_CPCDIS
)
0 = Counter clock is not disabled when counter reaches RC.
1 = Counter clock is disabled when counter reaches RC.
• EEVTEDG: External Event Edge Selection
• EEVT: External Event Selection
Note:
If TIOB is chosen as the external event signal, it is configured as an input and no longer generates waveforms.
• ENETRG: External Event Trigger Enable (Code Label
TC_ENETRG
)
0 = The external event has no effect on the counter and its clock. In this case, the selected external event only controls the
TIOA output.
1 = The external event resets the counter and starts the counter clock.
• CPCTRG: RC Compare Trigger Enable (Code Label
TC_CPCTRG
)
0 = RC Compare has no effect on the counter and its clock.
1 = RC Compare resets the counter and starts the counter clock.
• WAVE = 1 (Code Label
TC_WAVE
)
0 = Waveform Mode is disabled (Capture Mode is enabled).
1 = Waveform Mode is enabled.
EEVTEDG
Edge
Code Label
TC_EEVTEDG
0
0
None
TC_EEVTEDG_EDGE_NONE
0
1
Rising edge
TC_EEVTEDG_RISING_EDGE
1
0
Falling edge
TC_EEVTEDG_FALLING_EDGE
1
1
Each edge
TC_EEVTEDG_BOTH_EDGE
EEVT
Signal Selected as
External Event
TIOB Direction
Code Label
TC_EEVT
0
0
TIOB
Input
(1)
TC_EEVT_TIOB
0
1
XC0
Output
TC_EEVT_XC0
1
0
XC1
Output
TC_EEVT_XC1
1
1
XC2
Output
TC_EEVT_XC2