155
6174B–ATARM–07-Nov-05
AT91FR40162S Preliminary
The tables below show which parameter in TC_CMR is used to define the effect of each event.
If two or more events occur at the same time, the priority level is defined as follows:
1.
Software Trigger
2.
External Event
3.
RC Compare
4.
RA or RB Compare
18.5.3
Status
The following bits in the status register are significant in Waveform Mode:
• CPAS: RA Compare Status
There has been a RA Compare match at least once since the last read of the status
• CPBS: RB Compare Status
There has been a RB Compare match at least once since the last read of the status
• CPCS: RC Compare Status
There has been a RC Compare match at least once since the last read of the status
• COVFS: Counter Overflow
Counter has attempted to count past $FFFF since the last read of the status
• ETRGS: External Trigger
External trigger has been detected since the last read of the status
Note:
All the status bits are set when the corresponding event occurs and they are automatically cleared
when the Status Register is read.
Parameter
TIOA Event
ASWTRG
Software Trigger
AEEVT
External Event
ACPC
RC Compare
ACPA
RA Compare
Parameter
TIOB Event
BSWTRG
Software Trigger
BEEVT
External Event
BCPC
RC Compare
BCPB
RB Compare