Electronic Components Datasheet Search
  English  ▼

X  

AT91 Datasheet(PDF) 125 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) 125 Page - ATMEL Corporation

Back Button AT91 Datasheet HTML 121Page - ATMEL Corporation 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 125 / 153 page
background image
125
AT91X40 Series
1354D–ATARM–08/02
Figure 45. Clock Control
Timer Counter Operating
Modes
Each Timer Counter channel can independently operate in two different modes:
•
Capture Mode allows measurement on signals
•
Waveform Mode allows wave generation
The Timer Counter Operating Mode is programmed with the WAVE bit in the TC Mode
Register. In Capture Mode, TIOA and TIOB are configured as inputs. In Waveform
Mode, TIOA is always configured to be an output and TIOB is an output if it is not
selected to be the external trigger.
Trigger
A trigger resets the counter and starts the counter clock. Three types of triggers are
common to both modes, and a fourth external trigger is available to each mode.
The following triggers are common to both modes:
•
Software Trigger: Each channel has a software trigger, available by setting SWTRG
in TC_CCR.
•
SYNC: Each channel has a synchronization signal SYNC. When asserted, this
signal has the same effect as a software trigger. The SYNC signals of all channels
are asserted simultaneously by writing TC_BCR (Block Control) with SYNC set.
•
Compare RC Trigger: RC is implemented in each channel and can provide a trigger
when the counter value matches the RC value if CPCTRG is set in TC_CMR.
The Timer Counter channel can also be configured to have an external trigger. In Cap-
ture Mode, the external trigger signal can be selected between TIOA and TIOB. In
Waveform Mode, an external event can be programmed on one of the following signals:
TIOB, XC0, XC1 or XC2. This external event can then be programmed to perform a trig-
ger by setting ENETRG in TC_CMR.
If an external trigger is used, the duration of the pulses must be longer than the system
clock (MCK) period in order to be detected.
Whatever the trigger used, it will be taken into account at the following active edge of the
selected clock. This means that the counter value may not read zero just after a trigger,
especially when a low frequency signal is selected as the clock.
QS
R
S
R
Q
CLKSTA
CLKEN
CLKDIS
Stop
Event
Disable
Event
Counter
Clock
Selected
Clock
Trigger



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