Electronic Components Datasheet Search
  English  ▼

X  

MC68340 Datasheet(PDF) 351 Page - Freescale Semiconductor, Inc

Part # MC68340
Description  Integrated Processor with DMA User?셲 Manual
PDF  441 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

MC68340 Datasheet(HTML) 351 Page - Freescale Semiconductor, Inc

Back Button MC68340 Datasheet HTML 347Page - Freescale Semiconductor, Inc MC68340 Datasheet HTML 348Page - Freescale Semiconductor, Inc MC68340 Datasheet HTML 349Page - Freescale Semiconductor, Inc MC68340 Datasheet HTML 350Page - Freescale Semiconductor, Inc MC68340 Datasheet HTML 351Page - Freescale Semiconductor, Inc MC68340 Datasheet HTML 352Page - Freescale Semiconductor, Inc MC68340 Datasheet HTML 353Page - Freescale Semiconductor, Inc MC68340 Datasheet HTML 354Page - Freescale Semiconductor, Inc MC68340 Datasheet HTML 355Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 351 / 441 page
background image
MOTOROLA
MC68340 USER’S MANUAL
8- 7
to its location in the SR. See Figure 8-4 for a depiction of this mode. If the timing gate is
disabled (CR TGE bit is cleared),
TGATE
≈ has no effect on the operation of the timer;
thus the input capture function is inoperative. At all times, the
TGATE
≈ level bit (TGL) in
the SR reflects the level of the
TGATE
≈ signal.
COUNTER
CLOCK
COUNTER
COUNTER
REGISTER
TGATE
TOUT
Modex Bits in Control Register = 000
Preload 1 Register = 8
Compare Register = 7
TGE Bit of Status Register = 1
TG Bit in Status Register Initially = 0
OCx Bits in Control Register = 10
0
0
8
7
6
5
4
3
2
1
0
7
7
8
8
0
1
2
3
4
5
6
7
8
0
0
0
8
7
6
6
6
6
2
1
0
8
8
8
0
1
2
3
6
6
6
7
8
0
0
TG SET
TG CLEARED
TG SET
TIMEOUT
TC SET
TC SET
ENABLE
Figure 8-4. Input Capture/Output Compare Mode
Since the counter is not affected by
TGATE
≈, it continues to decrement on the falling
edge of the counter clock and load from the PREL1 at timeout, regardless of the value of
TGATE
≈.
When the counter counts down to the value contained in the COM, this condition is
reflected by setting the timer compare (TC) and compare (COM) bits in the SR. TOUTx
responds as selected by the OCx bits in the CR. The output level (OUT) bit in the SR
reflects the value on TOUTx. Shadowing does not affect this operation.
If the counter counts down to $0000, a timeout is detected, causing the SR timeout
interrupt (TO) bit to be set and the SR COM bit to be cleared. On the next falling edge of
the counter clock after the timeout is detected, the value in PREL1 is again loaded into the
counter. TOUTx responds as selected by the CR OCx bits.
A square-wave generator can be implemented by programming the CR OCx bits to toggle
mode. The value in the COM should be one-half the value in PREL1 to cause an event to
happen twice in the countdown.
This mode can be used as a pulse-width modulator by programming the CR OCx bits to
zero mode or one mode. The value in the PREL1 specifies the frequency, and the COM
determines the pulse width. The pulse widths can be changed by writing a new value to
the COM.
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com



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