Datasheet

50.7.17 TC QDEC Interrupt Enable Register
Name:  TC_QIER
Offset:  0xC8
Reset: 
Property:  Write-only
Bit 31 30 29 28 27 26 25 24
Access
Reset
Bit 23 22 21 20 19 18 17 16
Access
Reset
Bit 15 14 13 12 11 10 9 8
Access
Reset
Bit 7 6 5 4 3 2 1 0
MPE QERR DIRCHG IDX
Access
W W W W
Reset
Bit 3 – MPE Consecutive Missing Pulse Error
Value Description
0
No effect.
1
Enables the interrupt when an occurrence of MAXCMP consecutive missing pulses is detected.
Bit 2 – QERR Quadrature Error
Value Description
0
No effect.
1
Enables the interrupt when a quadrature error occurs on PHA, PHB.
Bit 1 – DIRCHG Direction Change
Value Description
0
No effect.
1
Enables the interrupt when a change on rotation direction is detected.
Bit 0 – IDX Index
Value Description
0
No effect.
1
Enables the interrupt when a rising edge occurs on IDX input.
SAM E70/S70/V70/V71 Family
T
imer Counter (TC)
© 2019 Microchip T
echnology Inc.
Datasheet
DS60001527D-page 1540