14.3.10.2 Direction Change Interrupt
The PCNTn_PCNT module sets the DIRCNG interrupt flag (PCNTn_IF register) for EXTCLKQUAD and OVSQUAD1X-4X modes when
the direction of the quadrature code changes. The behavior of this interrupt in the EXTCLKQUAD mode is illustrated by
14.13 PCNT Direction Change Interrupt (DIRCNG) Generation on page 374
Standard async
handshake
interface
PCNTn_S0IN
PCNTn_S1IN
Interrupt
X
X
Invalid pulse generated when
the shaft changes direction
n+1
n+2
n+3
n+2
PCNTn_CNT
n
Delay from the shaft physically
changed direction until the
counter direction is changed
and the interrupt is generated
Figure 14.13. PCNT Direction Change Interrupt (DIRCNG) Generation
EFM32JG1 Reference Manual
PCNT - Pulse Counter
silabs.com
| Smart. Connected. Energy-friendly.
Preliminary Rev. 0.6 | 374