ATMEGA16U2-16AU Atmel, ATMEGA16U2-16AU Datasheet - Page 140

no-image

ATMEGA16U2-16AU

Manufacturer Part Number
ATMEGA16U2-16AU
Description
8-bit Microcontrollers - MCU 16K Flash
Manufacturer
Atmel
Datasheet

Specifications of ATMEGA16U2-16AU

Product Category
8-bit Microcontrollers - MCU
Rohs
yes
Core
AVR
Data Bus Width
8 bit
Program Memory Size
16 KB
Data Ram Size
1.25 KB
Data Rom Size
512 B
Program Memory Type
Flash
Factory Pack Quantity
1250
7799D–AVR–11/10
Functions” on page
Table 17-1.
Note:
The following code examples show how to initialize the SPI as a Master and how to perform a
simple transmission. DDR_SPI in the examples must be replaced by the actual Data Direction
Register controlling the SPI pins. DD_MOSI, DD_MISO and DD_SCK must be replaced by the
actual data direction bits for these pins. E.g. if MOSI is placed on pin PB5, replace DD_MOSI
with DDB5 and DDR_SPI with DDRB.
MOSI
MISO
SCK
Pin
SS
1. See
direction of the user defined SPI pins.
SPI Pin Overrides
“Alternate Functions of Port B” on page 74
Direction, Master SPI
User Defined
Input
User Defined
User Defined
72.
(1)
ATmega8U2/16U2/32U2
for a detailed description of how to define the
Direction, Slave SPI
Input
User Defined
Input
Input
140

Related parts for ATMEGA16U2-16AU