TC Channel Mode Register: Capture Mode
|
0x04 + x*0x40 [x=0..2] |
32 |
Read/Write |
0x00000000 |
|
3
64
-1
|
Clock Selection
Value | Name | Description |
---|
0 |
TIMER_CLOCK1 |
Clock
selected: internal PCK6 or PCK7 (TC0
only) clock signal (from
PMC) |
1 |
TIMER_CLOCK2 |
Clock
selected: internal MCK/8 clock signal (from
PMC) |
2 |
TIMER_CLOCK3 |
Clock
selected: internal MCK/32 clock signal (from
PMC) |
3 |
TIMER_CLOCK4 |
Clock
selected: internal MCK/128 clock signal (from
PMC) |
4 |
TIMER_CLOCK5 |
Clock
selected: internal SLCK clock signal (from
PMC) |
5 |
XC0 |
Clock
selected: XC0 |
6 |
XC1 |
Clock
selected: XC1 |
7 |
XC2 |
Clock
selected: XC2 |
Counter Clock Stopped with RB Loading
Value | Description |
---|
0 |
Counter
clock is not stopped when RB loading occurs. |
1 |
Counter
clock is stopped when RB loading occurs. |
Counter Clock Disable with RB Loading
Value | Description |
---|
0 |
Counter
clock is not disabled when RB loading occurs. |
1 |
Counter
clock is disabled when RB loading occurs. |
External Trigger Edge Selection
Value | Name | Description |
---|
0 |
NONE |
The clock is
not gated by an external signal. |
1 |
RISING |
Rising
edge |
2 |
FALLING |
Falling
edge |
3 |
EDGE |
Each
edge |
TIOAx or TIOBx External Trigger Selection
Value | Description |
---|
0 |
TIOBx is
used as an external trigger. |
1 |
TIOAx is
used as an external trigger. |
RC Compare Trigger Enable
Value | Description |
---|
0 |
RC Compare
has no effect on the counter and its clock. |
1 |
RC Compare
resets the counter and starts the counter clock. |
RA Loading Edge Selection
Value | Name | Description |
---|
0 |
NONE |
None |
1 |
RISING |
Rising edge
of TIOAx |
2 |
FALLING |
Falling edge
of TIOAx |
3 |
EDGE |
Each edge of
TIOAx |
RB Loading Edge Selection
Value | Name | Description |
---|
0 |
NONE |
None |
1 |
RISING |
Rising edge
of TIOAx |
2 |
FALLING |
Falling edge
of TIOAx |
3 |
EDGE |
Each edge of
TIOAx |
Loading Edge Subsampling Ratio
Value | Name | Description |
---|
0 |
ONE |
Load a
Capture register each selected edge. |
1 |
HALF |
Load a
Capture register every 2 selected edges. |
2 |
FOURTH |
Load a
Capture register every 4 selected edges. |
3 |
EIGHTH |
Load a
Capture register every 8 selected edges. |
4 |
SIXTEENTH |
Load a
Capture register every 16 selected edges. |