Electronic Components Datasheet Search
  English  ▼

X  

AT90PWM2 Datasheet(PDF) 125 Page - ATMEL Corporation

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

AT90PWM2 Datasheet(HTML) 125 Page - ATMEL Corporation

Back Button AT90PWM2 Datasheet HTML 121Page - ATMEL Corporation AT90PWM2 Datasheet HTML 122Page - ATMEL Corporation AT90PWM2 Datasheet HTML 123Page - ATMEL Corporation AT90PWM2 Datasheet HTML 124Page - ATMEL Corporation AT90PWM2 Datasheet HTML 125Page - ATMEL Corporation AT90PWM2 Datasheet HTML 126Page - ATMEL Corporation AT90PWM2 Datasheet HTML 127Page - ATMEL Corporation AT90PWM2 Datasheet HTML 128Page - ATMEL Corporation AT90PWM2 Datasheet HTML 129Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 125 / 365 page
background image
125
AT90PWM2/3
4317B–AVR–02/05
16-bit Timer/Counter
Register Description
Timer/Counter1 Control
Register A – TCCR1A
• Bit 7:6 – COMnA1:0: Compare Output Mode for Channel A
• Bit 5:4 – COMnB1:0: Compare Output Mode for Channel B
The COMnA1:0 and COMnB1:0 control the Output Compare pins (OCnA and OCnB
respectively) behavior. If one or both of the COMnA1:0 bits are written to one, the OCnA
output overrides the normal port functionality of the I/O pin it is connected to. If one or
both of the COMnB1:0 bit are written to one, the OCnB output overrides the normal port
functionality of the I/O pin it is connected to. However, note that the Data Direction Reg-
ister (DDR) bit corresponding to the OCnA or OCnB pin must be set in order to enable
the output driver.
When the OCnA or OCnB is connected to the pin, the function of the COMnx1:0 bits is
dependent of the WGMn3:0 bits setting. Table 47 shows the COMnx1:0 bit functionality
when the WGMn3:0 bits are set to a Normal or a CTC mode (non-PWM).
Table 48 shows the COMnx1:0 bit functionality when the WGMn3:0 bits are set to the
fast PWM mode.
Bit
7
6
5
4
321
0
COM1A1
COM1A0
COM1B1
COM1B0
–
–
WGM11
WGM10
TCCR1A
Read/Write
R/W
R/W
R/W
R/W
R
R
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0
Table 47. Compare Output Mode, non-PWM
COMnA1/COMnB
1
COMnA0/COMnB
0
Description
0
0
Normal port operation, OCnA/OCnB
disconnected.
0
1
Toggle OCnA/OCnB on Compare Match.
1
0
Clear OCnA/OCnB on Compare Match (Set
output to low level).
1
1
Set OCnA/OCnB on Compare Match (Set output
to high level).
Table 48. Compare Output Mode, Fast PWM(1)
COMnA1/COMnB
1
COMnA0/COMnB
0
Description
0
0
Normal port operation, OCnA/OCnB
disconnected.
0
1
WGMn3:0 = 14 or 15: Toggle OC1A on Compare
Match, OC1B disconnected (normal port
operation). For all other WGM1 settings, normal
port operation, OC1A/OC1B disconnected.
1
0
Clear OCnA/OCnB on Compare Match, set
OCnA/OCnB at TOP
1
1
Set OCnA/OCnB on Compare Match, clear
OCnA/OCnB at 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