Atmel Xplained Pro Evaluation Kit for the ATSAMD21J18A Microcontroller ATSAMD21-XPRO ATSAMD21-XPRO Data Sheet

Product codes
ATSAMD21-XPRO
Page of 1018
696
Atmel | SMART SAM D21 [DATASHEET]
Atmel-42181C–SAM-D21_Datasheet–07/2014
30.8.10 Event Control
Name:
EVCTRL
Offset:
0x20
Reset:
0x00000000
Property:
Write-Protected
z
Bits 31:28 – Reserved
These bits are unused and reserved for future use. For compatibility with future devices, always write these bits to 
zero when this register is written. These bits will always return zero when read.
z
Bits 27:24 – MCEOx [x=3..0]: Match or Capture Channel x Event Output Enable
These bits control if the Match/capture event on channel x is enabled and will be generated for every match or 
capture.
0: Match/capture x event is disabled and will not be generated.
1: Match/capture x event is enabled and will be generated for every compare/capture on channel x.
z
Bits 23:20 – Reserved
These bits are unused and reserved for future use. For compatibility with future devices, always write these bits to 
zero when this register is written. These bits will always return zero when read.
z
Bits 19:16 – MCEIx [x=3..0]: Match or Capture Channel x Event Input Enable
These bits indicate if the Match/capture x incoming event is enabled
These bits are used to enable match or capture input events to the CCx channel of TCC.
0: Incoming events are disabled.
1: Incoming events are enabled.
Bit
31
30
29
28
27
26
25
24
MCEO3
MCEO2
MCEO1
MCEO0
Access
R
R
R
R
R/W
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
0
Bit
23
22
21
20
19
18
17
16
MCEI3
MCEI2
MCEI1
MCEI0
Access
R
R
R
R
R/W
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
0
Bit
15
14
13
12
11
10
9
8
TCEI1
TCEI0
TCINV1
TCINV0
CNTEO
TRGEO
OVFEO
Access
R/W
R/W
R/W
R/W
R
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
0
Bit
7
6
5
4
3
2
1
0
CNTSEL[1:0]
EVACT1[2:0]
EVACT0[2:0]
Access
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
0