поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

ATmega32A датащи(PDF) 77 Page - ATMEL Corporation

номер детали ATmega32A
подробное описание детали  8-bit Microcontroller with 32K Bytes In-System Programmable Flash
PDF  352 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  ATMEL [ATMEL Corporation]
домашняя страница  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATmega32A датащи(HTML) 77 Page - ATMEL Corporation

Back Button ATmega32A Datasheet HTML 73Page - ATMEL Corporation ATmega32A Datasheet HTML 74Page - ATMEL Corporation ATmega32A Datasheet HTML 75Page - ATMEL Corporation ATmega32A Datasheet HTML 76Page - ATMEL Corporation ATmega32A Datasheet HTML 77Page - ATMEL Corporation ATmega32A Datasheet HTML 78Page - ATMEL Corporation ATmega32A Datasheet HTML 79Page - ATMEL Corporation ATmega32A Datasheet HTML 80Page - ATMEL Corporation ATmega32A Datasheet HTML 81Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 77 / 352 page
background image
77
8155B–AVR–07/09
ATmega32A
the OCR0 value, the compare match will be missed, resulting in incorrect waveform generation.
Similarly, do not write the TCNT0 value equal to BOTTOM when the counter is downcounting.
The setup of the OC0 should be performed before setting the Data Direction Register for the port
pin to output. The easiest way of setting the OC0 value is to use the Force Output Compare
(FOC0) strobe bits in Normal mode. The OC0 Register keeps its value even when changing
between waveform generation modes.
Be aware that the COM0[1:0] bits are not double buffered together with the compare value.
Changing the COM0[1:0] bits will take effect immediately.
14.6
Compare Match Output Unit
The Compare Output mode (COM0[1:0]) bits have two functions. The Waveform Generator uses
the COM0[1:0] bits for defining the Output Compare (OC0) state at the next compare match.
Also, the COM0[1:0] bits control the OC0 pin output source. Figure 14-4 shows a simplified
schematic of the logic affected by the COM0[1:0] bit setting. The I/O Registers, I/O bits, and I/O
pins in the figure are shown in bold. Only the parts of the general I/O port Control Registers
(DDR and PORT) that are affected by the COM0[1:0] bits are shown. When referring to the OC0
state, the reference is for the internal OC0 Register, not the OC0 pin. If a System Reset occur,
the OC0 Register is reset to “0”.
Figure 14-4. Compare Match Output Unit, Schematic
The general I/O port function is overridden by the Output Compare (OC0) from the Waveform
Generator if either of the COM0[1:0] bits are set. However, the OC0 pin direction (input or out-
put) is still controlled by the Data Direction Register (DDR) for the port pin. The Data Direction
Register bit for the OC0 pin (DDR_OC0) must be set as output before the OC0 value is visible
on the pin. The port override function is independent of the Waveform Generation mode.
The design of the output compare pin logic allows initialization of the OC0 state before the out-
put is enabled. Note that some COM01:0 bit settings are reserved for certain modes of
operation. See “Register Description” on page 84.
PORT
DDR
DQ
DQ
OCn
Pin
OCn
DQ
Waveform
Generator
COMn1
COMn0
0
1
FOCn
clk
I/O



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



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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