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

X  

ATtiny261A-MU 데이터시트(PDF) 75 Page - ATMEL Corporation

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

ATtiny261A-MU 데이터시트(HTML) 75 Page - ATMEL Corporation

Back Button ATtiny261A-MU Datasheet HTML 71Page - ATMEL Corporation ATtiny261A-MU Datasheet HTML 72Page - ATMEL Corporation ATtiny261A-MU Datasheet HTML 73Page - ATMEL Corporation ATtiny261A-MU Datasheet HTML 74Page - ATMEL Corporation ATtiny261A-MU Datasheet HTML 75Page - ATMEL Corporation ATtiny261A-MU Datasheet HTML 76Page - ATMEL Corporation ATtiny261A-MU Datasheet HTML 77Page - ATMEL Corporation ATtiny261A-MU Datasheet HTML 78Page - ATMEL Corporation ATtiny261A-MU Datasheet HTML 79Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 75 / 292 page
background image
75
8197A–AVR–10/09
ATtiny261A/461A/861A
OCF0B, but in 16-bit mode the match can set only the Output Compare Flag OCF0A as there is
only one Output Compare Unit. If the corresponding interrupt is enabled, the Output Compare
Flag generates an Output Compare interrupt. The Output Compare Flag is automatically cleared
when the interrupt is executed. Alternatively, the flag can be cleared by software by writing a log-
ical one to its I/O bit location. Figure 11-5 shows a block diagram of the Output Compare unit.
Figure 11-5. Output Compare Unit, Block Diagram
11.6.1
Compare Match Blocking by TCNT0 Write
All CPU write operations to the TCNT0H/L Register will block any Compare Match that occur in
the next timer clock cycle, even when the timer is stopped. This feature allows OCR0A/B to be
initialized to the same value as TCNT0 without triggering an interrupt when the Timer/Counter
clock is enabled.
11.6.2
Using the Output Compare Unit
Since writing TCNT0H/L will block all Compare Matches for one timer clock cycle, there are risks
involved when changing TCNT0H/L when using the Output Compare Unit, independently of
whether the Timer/Counter is running or not. If the value written to TCNT0H/L equals the
OCR0A/B value, the Compare Match will be missed.
11.7 Modes of Operation
The mode of operation, i.e., the behavior of the Timer/Counter and the Output Compare pins, is
defined by the Timer/Counter Width (TCW0), Input Capture Enable (ICEN0) and Wave Genera-
tion Mode (CTC0) bits. See “TCCR0A – Timer/Counter0 Control Register A” on page 82.
Table 11-3 summarises the different modes of operation.
11.7.1
Normal, 8-bit Mode
In Normal 8-bit mode (see Table 11-3), the counter (TCNT0L) is incrementing until it overruns
when it passes its maximum 8-bit value (MAX = 0xFF) and then restarts from the bottom (0x00).
OCFnx (Int.Req.)
= (8/16-bit Comparator )
OCRnx
DATA BUS
TCNTn
Table 11-3.
Modes of operation
Mode
ICEN0
TCW0
CTC0
Mode of Operation
TOP
Update of OCRx at
TOV Flag Set on
0000
Normal, 8-bit Mode
0xFF
Immediate
MAX (0xFF)
1001
CTC Mode, 8-bit
OCR0A
Immediate
MAX (0xFF)
2
0
1
X
Normal, 16-bit Mode
0xFFFF
Immediate
MAX (0xFFFF)
3
1
0
X
Input Capture Mode, 8-bit
0xFF
Immediate
MAX (0xFF)
4
1
1
X
Input Capture Mode, 16-bit
0xFFFF
Immediate
MAX (0xFFFF)



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