전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

ATtiny45 데이터시트(PDF) 84 Page - ATMEL Corporation

부품명 ATtiny45
상세설명  8-bit Microcontroller with 2/4/8K Bytes In-System Programmable Flash
PDF  196 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  ATMEL [ATMEL Corporation]
홈페이지  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATtiny45 데이터시트(HTML) 84 Page - ATMEL Corporation

Back Button ATtiny45 Datasheet HTML 80Page - ATMEL Corporation ATtiny45 Datasheet HTML 81Page - ATMEL Corporation ATtiny45 Datasheet HTML 82Page - ATMEL Corporation ATtiny45 Datasheet HTML 83Page - ATMEL Corporation ATtiny45 Datasheet HTML 84Page - ATMEL Corporation ATtiny45 Datasheet HTML 85Page - ATMEL Corporation ATtiny45 Datasheet HTML 86Page - ATMEL Corporation ATtiny45 Datasheet HTML 87Page - ATMEL Corporation ATtiny45 Datasheet HTML 88Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 84 / 196 page
background image
84
7598H–AVR–07/09
ATtiny25/45/85
14.1.1
Timer/Counter1 Control Register - TCCR1
• Bit 7- CTC1 : Clear Timer/Counter on Compare Match
When the CTC1 control bit is set (one), Timer/Counter1 is reset to $00 in the CPU clock cycle
after a compare match with OCR1C register value. If the control bit is cleared, Timer/Counter1
continues counting and is unaffected by a compare match.
• Bit 6- PWM1A: Pulse Width Modulator A Enable
When set (one) this bit enables PWM mode based on comparator OCR1A in Timer/Counter1
and the counter value is reset to $00 in the CPU clock cycle after a compare match with OCR1C
register value.
• Bits 5,4 - COM1A1, COM1A0: Comparator A Output Mode, Bits 1 and 0
The COM1A1 and COM1A0 control bits determine any output pin action following a compare
match with compare register A in Timer/Counter1. Output pin actions affect pin PB1 (OC1A).
Since this is an alternative function to an I/O port, the corresponding direction control bit must be
set (one) in order to control an output pin. Note that OC1A is not connected in normal mode.
In PWM mode, these bits have different functions. Refer to Table 14-4 on page 90 for a detailed
description.
• Bits 3 .. 0 - CS13, CS12, CS11, CS10: Clock Select Bits 3, 2, 1, and 0
The Clock Select bits 3, 2, 1, and 0 define the prescaling source of Timer/Counter1.
Bit
7
6
5
4
3
2
1
0
$30 ($50)
CTC1
PWM1A
COM1A1
COM1A0
CS13
CS12
CS11
CS10
TCCR1
Read/Write
R/W
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 14-1.
Comparator A Mode Select
COM1A1
COM1A0
Description
0
0
Timer/Counter Comparator A disconnected from output pin OC1A.
0
1
Toggle the OC1A output line.
1
0
Clear the OC1A output line.
1
1
Set the OC1A output line
Table 14-2.
Timer/Counter1 Prescale Select
CS13
CS12
CS11
CS10
Asynchronous
Clocking Mode
Synchronous
Clocking Mode
0
0
0
0
T/C1 stopped
T/C1 stopped
00
0
1
PCK
CK
0
0
1
0
PCK/2
CK/2
0
0
1
1
PCK/4
CK/4
0
1
0
0
PCK/8
CK/8
0
1
0
1
PCK/16
CK/16
0
1
1
0
PCK/32
CK/32



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


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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