AT91FR40161 ATMEL Corporation, AT91FR40161 Datasheet - Page 129

no-image

AT91FR40161

Manufacturer Part Number
AT91FR40161
Description
The AT91FR40161 Features 136 K Bytes of On-chip SRAM, 2M Bytes of Flash, an External Bus Interface, a 3-channel Timer/Counter, 2 ...
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT91FR40161-CI
Manufacturer:
TI
Quantity:
101
Part Number:
AT91FR40161-CI
Manufacturer:
Atmel
Quantity:
10 000
Output Controller
Status
1354D–ATARM–08/02
The output controller defines the output level changes on TIOA and TIOB following an
event. TIOB control is used only if TIOB is defined as output (not as an external event).
The following events control TIOA and TIOB: software trigger, external event and RC
compare. RA compare controls TIOA and RB compare controls TIOB. Each of these
events can be programmed to set, clear or toggle the output as defined in the corre-
sponding parameter in TC_CMR.
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
The following bits in the status register are significant in Waveform Mode:
Note:
Parameter
ASWTRG
AEEVT
ACPC
ACPA
Parameter
BSWTRG
BEEVT
BCPC
BCPB
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
All the status bits are set when the corresponding event occurs and they are automati-
cally cleared when the Status Register is read.
TIOA Event
Software Trigger
External Event
RC Compare
RA Compare
TIOB Event
Software Trigger
External Event
RC Compare
RB Compare
AT91X40 Series
129

Related parts for AT91FR40161