Data Sheet

638
Atmel | SMART SAM D21 [DATASHEET]
Atmel-42181G–SAM-D21_Datasheet–09/2015
29.8.7 Event Control
Name: EVCTRL
Offset: 0x0A
Reset: 0x0000
Property: Write-Protected, Enable-Protected
z Bits 15:14 – 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 13:12 – MCEOx: Match or Capture Channel x Event Output Enable
These bits control whether event match or capture on channel x is enabled or not and generated for every match
or capture.
0: Match/Capture event on channel x is disabled and will not be generated.
1: Match/Capture event on channel x is enabled and will be generated for every compare/capture.
These bits are not enable-protected.
z Bits 11:9 – 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 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 coun-
ter overflows/underflows.
0: Overflow/Underflow event is disabled and will not be generated.
1: Overflow/Underflow event is enabled and will be generated for every counter overflow/underflow.
This bit is not enable-protected.
z Bits 7:6 – 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 Bit 5 – TCEI: TC Event Input
This bit is used to enable input events to the TC.
0: Incoming events are disabled.
1: Incoming events are enabled.
This bit is not enable-protected.
Bit151413121110 9 8
MCEO1 MCEO0 OVFEO
Access R R R/W R/W R R R R/W
Reset00000000
Bit76543210
TCEI TCINV EVACT[2:0]
Access R R R/W R/W R R/W R/W R/W
Reset00000000