công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

AT90LS8535-4AI bảng dữ liệu(PDF) 43 Page - ATMEL Corporation

tên linh kiện AT90LS8535-4AI
Giải thích chi tiết về linh kiện  8-bit Microcontroller with 8K Bytes In-System Programmable Flash
PDF  127 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  ATMEL [ATMEL Corporation]
Trang chủ  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AT90LS8535-4AI bảng dữ liệu(HTML) 43 Page - ATMEL Corporation

Back Button AT90LS8535-4AI Datasheet HTML 39Page - ATMEL Corporation AT90LS8535-4AI Datasheet HTML 40Page - ATMEL Corporation AT90LS8535-4AI Datasheet HTML 41Page - ATMEL Corporation AT90LS8535-4AI Datasheet HTML 42Page - ATMEL Corporation AT90LS8535-4AI Datasheet HTML 43Page - ATMEL Corporation AT90LS8535-4AI Datasheet HTML 44Page - ATMEL Corporation AT90LS8535-4AI Datasheet HTML 45Page - ATMEL Corporation AT90LS8535-4AI Datasheet HTML 46Page - ATMEL Corporation AT90LS8535-4AI Datasheet HTML 47Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 43 / 127 page
background image
43
AT90S/LS8535
1041H–11/01
Timer/Counter Control Register (TCCR2). The interrupt enable/disable settings are
found in the Timer/Counter Interrupt Mask Register (TIMSK).
This module features a high-resolution and a high-accuracy usage with the lower pres-
caling opportunities. Similarly, the high prescaling opportunities make this unit useful for
lower speed functions or exact timing functions with infrequent actions.
The Timer/Counter supports an Output Compare function using the Output Compare
Register (OCR2) as the data source to be compared to the Timer/Counter contents.The
Output Compare function includes optional clearing of the counter on compare match
and action on the Output Compare Pin, PD7(OC2), on compare match. Writing to
PORTD7 does not set the OC2 value to a predetermined value.
Timer/Counter2 can also be used as an 8-bit Pulse Width Modulator. In this mode,
Timer/Counter2 and the Output Compare Register serve as a glitch-free, stand-alone
PWM with centered pulses. Refer to page 45 for a detailed description of this function.
Timer/Counter2 Control
Register – TCCR2
• Bit 7 – Res: Reserved Bit
This bit is a reserved bit in the AT90S8535 and always reads as zero.
• Bit 6 – PWM2: Pulse Width Modulator Enable
When set (one), this bit enables PWM mode for Timer/Counter2. This mode is described
on page 45.
• Bits 5, 4 – COM21, COM20: Compare Output Mode, Bits 1 and 0
The COM21 and COM20 control bits determine any output pin action following a com-
pare match in Timer/Counter2. Output pin actions affect pin PD7(OC2). This is an
alternative function to an I/O port and the corresponding direction control bit must be set
(one) to control an output pin. The control configuration is shown in Table 17.
Note:
In PWM mode, these bits have a different function. Refer to Table 19 for a detailed
description.
• Bit 3 – CTC2: Clear Timer/Counter on Compare Match
When the CTC2 control bit is set (one), Timer/Counter2 is reset to $00 in the CPU clock
cycle after a compare match. If the control bit is cleared, Timer/Counter2 continues
counting and is unaffected by a compare match. Since the compare match is detected in
the CPU clock cycle following the match, this function will behave differently when a
prescaling higher than 1 is used for the timer. When a prescaling of 1 is used and the
compare2 register is set to C, the timer will count as follows if CTC2 is set:
... | C-2 | C-1 | C | 0 | 1 |...
Bit
7
654
32
10
$25 ($45)
–
PWM2
COM21
COM20
CTC2
CS22
CS21
CS20
TCCR2
Read/Write
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0
Table 17. Compare Mode Select
COM21
COM20
Description
0
0
Timer/Counter disconnected from output pin OC2
0
1
Toggle the OC2 output line.
1
0
Clear the OC2 output line (to zero).
1
1
Set the OC2 output line (to one).



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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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