Electronic Components Datasheet Search
  English  ▼

X  

AT91 Datasheet(PDF) 126 Page - ATMEL Corporation

Part # AT91
Description  ARM® Thumb® Microcontrollers
PDF  153 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AT91 Datasheet(HTML) 126 Page - ATMEL Corporation

Back Button AT91 Datasheet HTML 122Page - ATMEL Corporation AT91 Datasheet HTML 123Page - ATMEL Corporation AT91 Datasheet HTML 124Page - ATMEL Corporation AT91 Datasheet HTML 125Page - ATMEL Corporation AT91 Datasheet HTML 126Page - ATMEL Corporation AT91 Datasheet HTML 127Page - ATMEL Corporation AT91 Datasheet HTML 128Page - ATMEL Corporation AT91 Datasheet HTML 129Page - ATMEL Corporation AT91 Datasheet HTML 130Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 126 / 153 page
background image
126
AT91X40 Series
1354D–ATARM–08/02
Capture Operating Mode
This mode is entered by clearing the WAVE parameter in TC_CMR (Channel Mode
Register). Capture Mode allows the TC Channel to perform measurements such as
pulse timing, frequency, period, duty cycle and phase on TIOA and TIOB signals which
are inputs.
Figure 46 shows the configuration of the TC Channel when programmed in Capture
Mode.
Capture Registers A and B
(RA and RB)
Registers A and B are used as capture registers. This means that they can be loaded
with the counter value when a programmable event occurs on the signal TIOA.
The parameter LDRA in TC_CMR defines the TIOA edge for the loading of register A,
and the parameter LDRB defines the TIOA edge for the loading of Register B.
RA is loaded only if it has not been loaded since the last trigger or if RB has been loaded
since the last loading of RA.
RB is loaded only if RA has been loaded since the last trigger or the last loading of RB.
Loading RA or RB before the read of the last value loaded sets the Overrun Error Flag
(LOVRS) in TC_SR (Status Register). In this case, the old value is overwritten.
Trigger Conditions
In addition to the SYNC signal, the software trigger and the RC compare trigger, an
external trigger can be defined.
Bit ABETRG in TC_CMR selects input signal TIOA or TIOB as an external trigger.
Parameter ETRGEDG defines the edge (rising, falling or both) detected to generate an
external trigger. If ETRGEDG = 0 (none), the external trigger is disabled.
Status Register
The following bits in the status register are significant in Capture Operating Mode.
•
CPCS: RC Compare Status
There has been an RC Compare match at least once since the last read of the
status
•
COVFS: Counter Overflow Status
The counter has attempted to count past $FFFF since the last read of the status
•
LOVRS: Load Overrun Status
RA or RB has been loaded at least twice without any read of the corresponding reg-
ister, since the last read of the status
•
LDRAS: Load RA Status
RA has been loaded at least once without any read, since the last read of the status
•
LDRBS: Load RB Status
RB has been loaded at least once without any read, since the last read of the status
•
ETRGS: External Trigger Status
An external trigger on TIOA or TIOB 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 automati-
cally cleared when the Status Register is read.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com