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

X  

ATTINY817-MFR. 데이터시트(PDF) 151 Page - Microchip Technology

부품명 ATTINY817-MFR.
상세설명  AVR짰 Microcontroller with Core Independent Peripherals and picoPower짰 Technology
PDF  492 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  MICROCHIP [Microchip Technology]
홈페이지  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

ATTINY817-MFR. 데이터시트(HTML) 151 Page - Microchip Technology

Back Button ATTINY817-MFR. Datasheet HTML 147Page - Microchip Technology ATTINY817-MFR. Datasheet HTML 148Page - Microchip Technology ATTINY817-MFR. Datasheet HTML 149Page - Microchip Technology ATTINY817-MFR. Datasheet HTML 150Page - Microchip Technology ATTINY817-MFR. Datasheet HTML 151Page - Microchip Technology ATTINY817-MFR. Datasheet HTML 152Page - Microchip Technology ATTINY817-MFR. Datasheet HTML 153Page - Microchip Technology ATTINY817-MFR. Datasheet HTML 154Page - Microchip Technology ATTINY817-MFR. Datasheet HTML 155Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 151 / 492 page
background image
where N represents the prescaler divider used.
Dual-slope PWM
For dual-slope PWM generation, the period (T) is controlled by TCA.PER, while the values of TCA.CMPn
control the duty cycle of the WG output.
The figure below shows how for dual-slope PWM the counter counts repeatedly from BOTTOM to TOP
and then from TOP to BOTTOM. The waveform generator output is set on BOTTOM, cleared on compare
match when up-counting, and set on compare match when down-counting.
Figure 20-11. Dual-slope Pulse Width Modulation
MAX
TOP
BOTTOM
CNT
Waveform Output WOn
Period (T)
CMPn=BOTTOM
CMPn=TOP
"update"
"match"
CMPn
Using dual-slope PWM results in a lower maximum operation frequency compared to the single-slope
PWM operation.
The period register (TCA.PER) defines the PWM resolution. The minimum resolution is 2 bits
(TCA.PER=0x0003), and the maximum resolution is 16 bits (TCA.PER=MAX).
The following equation calculate the exact resolution for dual-slope PWM (RPWM_DS):
��PWM_DS=logPER+1
log2
The PWM frequency depends on the period setting (TCA.PER), the peripheral clock frequency (fCLK_PER),
and the prescaler divider used (CLKSEL in TCA.CTRLA). It is calculated by the following equation:
��PWM_DS=��CLK_PER
2��⋅PER
N represents the prescaler divider used.
Port Override for Waveform Generation
To make the waveform generation available on the Port pins, the corresponding Port pin direction must
be set as output (PORT.DIR[n]=1). The TCA will override the port pin values when the compare channel
is enabled (CMPnEN=1 in TCA.CTRLB) and a waveform generation mode is selected.
The figure below shows the port override for TCA. The timer/counter compare channel will override the
port pin output value (OUT) on the corresponding port pin. Enabling inverted I/O on the port pin
(INVEN=1 in PORT.PINn) inverts the corresponding WG output.
Figure 20-12. Port Override for Timer/Counter Type A
Waveform
OUT
CMPnEN
INVEN
WOn
ATtiny417/817
© 2017 Microchip Technology Inc.
Datasheet Complete
DS40001901B-page 151



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