Electronic Components Datasheet Search
  English  ▼

X  

ATtiny48 Datasheet(PDF) 106 Page - ATMEL Corporation

Part # ATtiny48
Description  8-bit Microcontroller with 4/8K Bytes In-System Programmable Flash
PDF  266 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATtiny48 Datasheet(HTML) 106 Page - ATMEL Corporation

Back Button ATtiny48 Datasheet HTML 102Page - ATMEL Corporation ATtiny48 Datasheet HTML 103Page - ATMEL Corporation ATtiny48 Datasheet HTML 104Page - ATMEL Corporation ATtiny48 Datasheet HTML 105Page - ATMEL Corporation ATtiny48 Datasheet HTML 106Page - ATMEL Corporation ATtiny48 Datasheet HTML 107Page - ATMEL Corporation ATtiny48 Datasheet HTML 108Page - ATMEL Corporation ATtiny48 Datasheet HTML 109Page - ATMEL Corporation ATtiny48 Datasheet HTML 110Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 106 / 266 page
background image
106
8008C–AVR–03/09
ATtiny48/88
Table 12-4 shows the COM1x1:0 bit functionality when the WGM13:0 bits are set to the phase
correct or the phase and frequency correct, PWM mode.
Note:
1. A special case occurs when OCR1A/OCR1B equals TOP and COM1A1/COM1B1 is set. See
“Phase Correct PWM Mode” on page 98. for more details.
• Bits 3,2 – Reserved
These bits are reserved and will always read zero.
• Bit 1:0 – WGM11:0: Waveform Generation Mode
Combined with the WGM13:2 bits found in the TCCR1B Register, these bits control the counting
sequence of the counter, the source for maximum (TOP) counter value, and what type of wave-
form generation to be used, see Table 12-5.
Table 12-4.
Compare Output Mode, Phase Correct and Phase & Frequency Correct PWM(1)
COM1A1
COM1B1
COM1A0
COM1B0
Description
0
0
Normal port operation, OC1A/OC1B disconnected.
01
WGM13:0 = 8, 9, 10 or 11: Toggle OC1A on Compare Match, OC1B
disconnected (normal port operation). For all other WGM1 settings, normal
port operation, OC1A/OC1B disconnected.
10
Clear OC1A/OC1B on Compare Match when up-counting. Set OC1A/OC1B
on Compare Match when downcounting.
11
Set OC1A/OC1B on Compare Match when up-counting. Clear OC1A/OC1B
on Compare Match when downcounting.
Table 12-5.
Waveform Generation Mode Bit Description
Mode
WGM
13
WGM
12
WGM
11
WGM
10
Timer/Counter
Mode of Operation
TOP
Update of
OCR1
x at
TOV1 Flag
Set on
000
00
Normal
0xFFFF
Immediate
MAX
1
0
0
0
1
PWM, Phase Correct, 8-bit
0x00FF
TOP
BOTTOM
2
0
0
1
0
PWM, Phase Correct, 9-bit
0x01FF
TOP
BOTTOM
3
0
0
1
1
PWM, Phase Correct, 10-bit
0x03FF
TOP
BOTTOM
401
00
CTC
OCR1A
Immediate
MAX
501
01
Fast PWM, 8-bit
0x00FF
TOP
TOP
601
10
Fast PWM, 9-bit
0x01FF
TOP
TOP
701
11
Fast PWM, 10-bit
0x03FF
TOP
TOP
8
1
0
0
0
PWM, Phase & Frequency Correct
ICR1
BOTTOM
BOTTOM
9
1
0
0
1
PWM, Phase & Frequency Correct
OCR1A
BOTTOM
BOTTOM
10
1
0
1
0
PWM, Phase Correct
ICR1
TOP
BOTTOM
11
1
0
1
1
PWM, Phase Correct
OCR1A
TOP
BOTTOM
12
11
00
CTC
ICR1
Immediate
MAX
13
1
1
0
1
(Reserved)
14
11
10
Fast PWM
ICR1
TOP
TOP
15
11
11
Fast PWM
OCR1A
TOP
TOP



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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