English
Language : 

SAM4L Datasheet, PDF (816/1185 Pages) ATMEL Corporation – ATSAM ARM-based Flash MCU
30.9.2 Channel Mode Register: Capture Mode
Name:
CMR
Access Type:
Read/Write
Offset:
0x04 + n * 0x40
Reset Value:
0x00000000
ATSAM4L4/L2
31
30
29
28
27
26
-
-
-
-
-
-
23
22
21
20
19
18
-
-
-
-
LDRB
15
14
13
12
11
10
WAVE
CPCTRG
-
-
-
ABETRG
7
6
5
4
3
2
LDBDIS
LDBSTOP
BURST
CLKI
This register can only be written if write protect is disabled (WPMR.WPEN is zero).
• LDRB: RB Loading Selection
LDRB
0
1
2
3
Edge
none
rising edge of TIOA
falling edge of TIOA
each edge of TIOA
• LDRA: RA Loading Selection
LDRA
0
1
2
3
Edge
none
rising edge of TIOA
falling edge of TIOA
each edge of TIOA
• WAVE
1: Capture mode is disabled (Waveform mode is enabled).
0: Capture mode is enabled.
• CPCTRG: RC Compare Trigger Enable
1: RC Compare resets the counter and starts the counter clock.
0: RC Compare has no effect on the counter and its clock.
25
24
-
-
17
16
LDRA
9
8
ETRGEDG
1
0
TCCLKS
42023C–SAM–02/2013
816