36.8.9. Event Control
Name:
EVCTRL
Offset:
0x20
Reset:
0x00000000
Property:
PAC Write-Protection, Enable-Protected
Bit
31
30
29
28
27
26
25
24
MCEO3
MCEO2
MCEO1
MCEO0
Access
R/W
R/W
R/W
R/W
Reset
0
0
0
0
Bit
23
22
21
20
19
18
17
16
MCEI3
MCEI2
MCEI1
MCEI0
Access
R/W
R/W
R/W
R/W
Reset
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/W
R/W
R/W
Reset
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
Bit 10 – CNTEO: Timer/Counter Event Output Enable
This bit is used to enable the counter cycle event. When enabled, an event will be generated on begin or
end of counter cycle depending of CNTSEL[1:0] settings.
Value
Description
0
Counter cycle output event is disabled and will not be generated.
1
Counter cycle output event is enabled and will be generated depend of CNTSEL[1:0] value.
Bit 9 – TRGEO: Retrigger Event Output Enable
This bit is used to enable the counter retrigger event. When enabled, an event will be generated when the
counter retriggers operation.
Value
Description
0
Counter retrigger event is disabled and will not be generated.
1
Counter retrigger event is enabled and will be generated for every counter retrigger.
Bit 8 – OVFEO: Overflow/Underflow Event Output Enable
This bit is used to enable the overflow/underflow event. When enabled an event will be generated when
the counter reaches the TOP or the ZERO value.
Atmel SAM L22G / L22J / L22N [DATASHEET]
Atmel-42402E-SAM L22G / L22J / L22N_Datasheet_Complete-07/2016
850