AT32UC3C2512C Automotive Atmel Corporation, AT32UC3C2512C Automotive Datasheet - Page 1053

no-image

AT32UC3C2512C Automotive

Manufacturer Part Number
AT32UC3C2512C Automotive
Description
Manufacturer
Atmel Corporation
34.6.3
9166C–AVR-08/11
Interrupts
Figure 34-7. Timer Block Diagram
The user can set the timer count direction by writing to the CF.TSDIR bit. The counting direction
is taken into account when a trigger occurs. The counting direction is shown in SR.CNTDIR.
The user has to set the initial direction of counting by writing to CF.TSDIR. When the timer is
triggered, i.e. each time a toggle direction event occurs, the counter changes counting direction.
If the counter reaches 0, it will be stuck at 0 as long as the counting direction is down.
The QDEC has one interrupt request line connected to the interrupt controller. The sources of
this interrupt are:
• The QEPI interrupt to detect the index signal.
• The CMP interrupt to detect a compare match.
• The CAP interrupt to detect that the QDEC counter value has been saved in the CAP register
• The OVR interrupt to detect that a capture event was received without the CAP register
• The PCRO interrupt to detect a roll-over of the position counter. In Timer/Counter mode, the
toggle direction event
due to the capture event.
having been read since the last capture event. In OCD mode, reading the CAP register does
not clear the memory of the last capture event.
roll over occurs when (PC = 0xFFFF and RC != RCTOP), when PC = TOP.PCTOP or when
RC = RCTOP.
Clock Control
CF.TSDIR
CF.UPD
up/down
control
GCLK_QDEC
CLK_QDEC_INT
compare event
DIR
CMP
trigger event
CNT
TOP
CAP
AT32UC3C
capture event
1053

Related parts for AT32UC3C2512C Automotive