A000046 Arduino, A000046 Datasheet - Page 124
![MCU, MPU & DSP Development Tools Uno](/photos/15/92/159298/arduinounofront_sml.jpg)
A000046
Manufacturer Part Number
A000046
Description
MCU, MPU & DSP Development Tools Uno
Manufacturer
Arduino
Series
-r
Type
MCUr
Specifications of A000046
Processor To Be Evaluated
ATmega328
Interface Type
USB, I2C, SPI
Dimensions
2.7 in x 2.1 in
Operating Supply Voltage
5 V
Contents
Board
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
ATmega328
- Current page: 124 of 448
- Download datasheet (13Mb)
15.8
15.8.1
8161D–AVR–10/09
Compare Match Output Unit
Compare Output Mode and Waveform Generation
The Compare Output mode (COM1x1:0) bits have two functions. The Waveform Generator uses
the COM1x1:0 bits for defining the Output Compare (OC1x) state at the next compare match.
Secondly the COM1x1:0 bits control the OC1x pin output source.
schematic of the logic affected by the COM1x1: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 COM1x1:0 bits are shown. When referring to the
OC1x state, the reference is for the internal OC1x Register, not the OC1x pin. If a system reset
occur, the OC1x Register is reset to “0”.
Figure 15-5. Compare Match Output Unit, Schematic
The general I/O port function is overridden by the Output Compare (OC1x) from the Waveform
Generator if either of the COM1x1:0 bits are set. However, the OC1x 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 OC1x pin (DDR_OC1x) must be set as output before the OC1x value is visi-
ble on the pin. The port override function is generally independent of the Waveform Generation
mode, but there are some exceptions. Refer to
details.
The design of the Output Compare pin logic allows initialization of the OC1x state before the out-
put is enabled. Note that some COM1x1:0 bit settings are reserved for certain modes of
operation.
The COM1x1:0 bits have no effect on the Input Capture unit.
The Waveform Generator uses the COM1x1:0 bits differently in normal, CTC, and PWM modes.
For all modes, setting the COM1x1:0 = 0 tells the Waveform Generator that no action on the
OC1x Register is to be performed on the next compare match. For compare output actions in the
COMnx1
COMnx0
FOCnx
clk
I/O
See Section “15.11” on page 134.
Waveform
Generator
ATmega48PA/88PA/168PA/328P
D
D
D
PORT
DDR
OCnx
Q
Q
Q
Table
15-1,
1
0
Table 15-2
Figure 15-5
and
shows a simplified
Table 15-3
OCnx
Pin
124
for
Related parts for A000046
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![A000082](/images/no-image3.png)
Part Number:
Description:
Daughter Cards & OEM Boards ARDUINO UNO PROTO PCB REV 3
Manufacturer:
Arduino
![A000083](/images/no-image3.png)
Part Number:
Description:
Daughter Cards & OEM Boards ARDUINO SHIELD PROTO KIT REV 3
Manufacturer:
Arduino
![A000081](/images/no-image3.png)
Part Number:
Description:
Daughter Cards & OEM Boards ARDUINO MEGA PROTO KIT REV 3
Manufacturer:
Arduino
![A000080](/images/no-image3.png)
Part Number:
Description:
Daughter Cards & OEM Boards ARDUINO MEGA PROTO PCB REV 3
Manufacturer:
Arduino
![K000007](/images/no-image3.png)
Part Number:
Description:
Development Boards & Kits - AVR ARDUINO STARTER KIT W/ UNO REV3
Manufacturer:
Arduino
![A000064](/images/no-image3.png)
Part Number:
Description:
RF Development Tools ARDUINO SHIELD WIRELESS PROTO
Manufacturer:
Arduino
Datasheet:
![A000065](/images/no-image3.png)
Part Number:
Description:
RF Development Tools ARDUINO SHIELD WIRELESS WITH SD
Manufacturer:
Arduino
Datasheet:
![A000035](/photos/15/87/158783/gettingstarted_tmb.jpg)
Part Number:
Description:
Development Software Getting started w/Arduino
Manufacturer:
Arduino
![A000031](/photos/15/88/158818/arduinoethernetshield_tmb.jpg)
Part Number:
Description:
Ethernet Modules & Development Tools Ethernet Shield for Arduino
Manufacturer:
Arduino
![LILYPAD](/photos/15/93/159314/lilypad_3_tmb.jpg)
Part Number:
Description:
MCU, MPU & DSP Development Tools LilyPad Arduino Main Board
Manufacturer:
Arduino
![A000005](/photos/24/11/241196/13t9275-30-web_tmb.jpg)
Part Number:
Description:
ARDUINO NANO Board
Manufacturer:
Arduino
Datasheet:
![A000056](/images/no-image3.png)
Part Number:
Description:
Ethernet Modules & Development Tools ETHERNET SHEILD PoE FOR ARDUINO
Manufacturer:
Arduino
Datasheet:
![A000048](/photos/18/99/189989/4243185_tmb.jpg)
Part Number:
Description:
ATMEGA328 MCU IC W/ Arduino UNO Bootloader
Manufacturer:
Arduino
Datasheet:
![X000001](/images/no-image3.png)
Part Number:
Description:
Memory Cards MICRO SD CARD 1GB WITH SD ADAPTER
Manufacturer:
Arduino