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

X  

ATtiny261-ESXZ 데이터시트(PDF) 111 Page - ATMEL Corporation

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

ATtiny261-ESXZ 데이터시트(HTML) 111 Page - ATMEL Corporation

Back Button ATtiny261-ESXZ Datasheet HTML 107Page - ATMEL Corporation ATtiny261-ESXZ Datasheet HTML 108Page - ATMEL Corporation ATtiny261-ESXZ Datasheet HTML 109Page - ATMEL Corporation ATtiny261-ESXZ Datasheet HTML 110Page - ATMEL Corporation ATtiny261-ESXZ Datasheet HTML 111Page - ATMEL Corporation ATtiny261-ESXZ Datasheet HTML 112Page - ATMEL Corporation ATtiny261-ESXZ Datasheet HTML 113Page - ATMEL Corporation ATtiny261-ESXZ Datasheet HTML 114Page - ATMEL Corporation ATtiny261-ESXZ Datasheet HTML 115Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 111 / 227 page
background image
111
7753C–AVR–07/09
ATtiny261/ATtiny461/ATtiny861
16.9
Fault Protection Unit
The Timer/Counter1 incorporates a Fault Protection unit that can disable the PWM output pins, if
an external event is triggered. The external signal indicating an event can be applied via the
external interrupt INT0 pin or alternatively, via the analog-comparator unit. The Fault Protection
unit is illustrated by the block diagram shown in Figure 16-18. The elements of the block diagram
that are not directly a part of the Fault Protection unit are gray shaded.
Figure 16-18. Fault Protection Unit Block Diagram
When the Fault Protection mode is enabled by the Fault Protection Enable (FPEN1) bit and a
change of the logic level (an event) occurs on the external interrupt pin (INT0), alternatively on
the Analog Comparator output (ACO), and this change confirms to the setting of the edge detec-
tor, a Fault Protection mode will be triggered. When a Fault Protection is triggered, the COM1x
bits are cleared, Output Comparators are disconnected from the PWM output pins and the
PORTB register bits are connected on the PWM output pins. The Fault Protection Enable
(FPEN1) is automatically cleared at the same system clock as the COM1nx bits are cleared. If
the Fault Protection Interrupt Enable bit (FPIE1) is set, a Fault Protection interrupt is generated
and the FPEN1 bit is cleared. Alternatively the FPEN1 bit can be polled by software to figure out
when the Timer/Counter has entered to Fault Protection mode.
16.9.1
Fault Protection Trigger Source
The main trigger source for the Fault Protection unit is the external interrupt pin (INT0). Alterna-
tively the Analog Comparator output can be used as trigger source for the Fault Protection unit.
The Analog Comparator is selected as trigger source by setting the Fault Protection Analog
Comparator (FPAC1) bit in the Timer/Counter1 Control Register (TCCR1D). Be aware that
changing trigger source can trigger a Fault Protection mode. Therefore it is recommended to
clear the FPF1 flag after changing trigger source, setting edge detector or enabling the Fault
Protection.
Both the external interrupt pin (INT0) and the Analog Comparator output (ACO) inputs are sam-
pled using the same technique as for the T0 pin (Figure 13-1 on page 70). The edge detector is
also identical. However, when the noise canceler is enabled, additional logic is inserted before
the edge detector, which increases the delay by four system clock cycles. An Input Capture can
also be triggered by software by controlling the port of the INT0 pin.
16.9.2
Noise Canceler
The noise canceler improves noise immunity by using a simple digital filtering scheme. The
noise canceler input is monitored over four samples, and all four must be equal for changing the
output that in turn is used by the edge detector.
The noise canceler is enabled by setting the Fault Protection Noise Canceler (FPNC1) bit in
Timer/Counter1 Control Register D (TCCR1D). When enabled the noise canceler introduces
additional four system clock cycles of delay from a change applied to the input. The noise can-
celer uses the system clock and is therefore not affected by the prescaler.
Analog
Comparator
Noise
Canceler
INT0
Edge
Detector
FPAC1
FPNC1
FPES1
ACO*
FPEN1
Timer/Counter1
FAULT_PROTECTION (Int. Req.)



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