Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/Atmel/ATSAM4S4B/TC0/QIMR#0x0
QDEC Interrupt Mask Register
Index
Direction Change
Quadrature Error
https://github.com/cmsis-svd/cmsis-svd-data