19.6.9
Event Control
Name:
EVCTRL
Offset:
0x09
Reset:
0x00
Property: -
Bit
7
Access
Reset
Bits 2:1 – EVACT[1:0] Event Action
These bits define what type of event action the counter will increment or decrement.
Value
Name
0x0
EVACT_POSEDGE Count on positive edge event
0x1
EVACT_ANYEDGE Count on any edge event
0x2
EVACT_HIGHLVL
0x3
EVACT_UPDOWN Count on prescaled clock. The Event controls the count direction. Up-
Bit 0 – CNTEI Enable Count on Event Input
Value
Description
0
Counting on Event input is disabled
1
Counting on Event input is enabled according to EVACT bit field
©
2018 Microchip Technology Inc.
6
5
Description
Count on prescaled clock while event line is 1.
counting when the event line is 0, down-counting when the event line is
1.
16-bit Timer/Counter Type A (TCA)
4
3
Datasheet Preliminary
®
megaAVR
0-Series
2
1
EVACT[1:0]
R/W
R/W
0
0
DS40002015A-page 208
0
CNTEI
R/W
0
Need help?
Do you have a question about the megaAVR 0 Series and is the answer not in the manual?
Questions and answers