Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

ATmega16A Datasheet(PDF) 111 Page - ATMEL Corporation

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

ATmega16A Datasheet(HTML) 111 Page - ATMEL Corporation

Back Button ATmega16A Datasheet HTML 107Page - ATMEL Corporation ATmega16A Datasheet HTML 108Page - ATMEL Corporation ATmega16A Datasheet HTML 109Page - ATMEL Corporation ATmega16A Datasheet HTML 110Page - ATMEL Corporation ATmega16A Datasheet HTML 111Page - ATMEL Corporation ATmega16A Datasheet HTML 112Page - ATMEL Corporation ATmega16A Datasheet HTML 113Page - ATMEL Corporation ATmega16A Datasheet HTML 114Page - ATMEL Corporation ATmega16A Datasheet HTML 115Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 111 / 352 page
background image
111
8154B–AVR–07/09
ATmega16A
Note:
1. A special case occurs when OCR1A/OCR1B equals TOP and COM1A1/COM1B1 is set. In
this case the compare match is ignored, but the set or clear is done at BOTTOM. See “Fast
PWM Mode” on page 101. for more details.
Table 16-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 103. for more details.
• Bit 3 – FOC1A: Force Output Compare for Channel A
• Bit 2 – FOC1B: Force Output Compare for Channel B
The FOC1A/FOC1B bits are only active when the WGM13:0 bits specifies a non-PWM mode.
However, for ensuring compatibility with future devices, these bits must be set to zero when
TCCR1A is written when operating in a PWM mode. When writing a logical one to the
FOC1A/FOC1B bit, an immediate compare match is forced on the Waveform Generation unit.
The OC1A/OC1B output is changed according to its COM1x1:0 bits setting. Note that the
FOC1A/FOC1B bits are implemented as strobes. Therefore it is the value present in the
COM1x1:0 bits that determine the effect of the forced compare.
Table 16-3.
Compare Output Mode, Fast PWM(1)
COM1A1/COM1B1
COM1A0/COM1B0
Description
0
0
Normal port operation, OC1A/OC1B disconnected.
0
1
WGM13:0 = 15: Toggle OC1A on Compare Match,
OC1B disconnected (normal port operation).
For all other WGM13:0 settings, normal port
operation, OCnA/OCnB disconnected.
1
0
Clear OC1A/OC1B on compare match, set
OC1A/OC1B at BOTTOM,
(non-inverting mode)
1
1
Set OC1A/OC1B on compare match, clear
OC1A/OC1B at BOTTOM,
(inverting mode)
Table 16-4.
Compare Output Mode, Phase Correct and Phase and Frequency Correct PWM
(1)
COM1A1/COM1B1
COM1A0/COM1B0
Description
0
0
Normal port operation, OC1A/OC1B disconnected.
0
1
WGM13:0 = 9 or 14: Toggle OCnA on Compare
Match, OCnB disconnected (normal port
operation).
For all other WGM13:0 settings, normal port
operation, OC1A/OC1B disconnected.
1
0
Clear OC1A/OC1B on compare match when up-
counting. Set OC1A/OC1B on compare match
when downcounting.
1
1
Set OC1A/OC1B on compare match when up-
counting. Clear OC1A/OC1B on compare match
when downcounting.



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