EXTENDED FUNCTION TIMER (EFT)
EXTENDED FUNCTION TIMER (Cont’d)
– If an event occurs on ICAP1 again before the
Counter reaches the OC1R value, then the
Counter will be reset again and the pulse gener-
ated might be longer than expected as in Figure
99.
Figure 99. One Pulse Mode Timing
– If a write operation is performed on CLR or ACLR
register before the Counter reaches the OC1R
value, then the Counter will be reset again and
the pulse generated might be longer than expect-
ed.
COUNTER .... FFFC FFFD FFFE
ICAP1
2ED0 2ED1 2ED2
2ED3
FFFC FFFD
OCMP1
OLVL2
OLVL1
compare1
Note: IEDG1=1, OC1R=2ED0h, OLVL1=0, OLVL2=1
OLVL2
COUNTER .... FFFC FFFD FFFE
ICAP1
0010 FFFC
2ED0 2ED1 2ED2 FFFC FFFD
2ED3
OCMP1
OLVL2
OLVL2
OLVL1
compare1
Note: IEDG1=1, OC1R=2ED0h, OLVL1=0, OLVL2=1
176/429
9