AT90PWM2B-16SE ATMEL [ATMEL Corporation], AT90PWM2B-16SE Datasheet - Page 175

no-image

AT90PWM2B-16SE

Manufacturer Part Number
AT90PWM2B-16SE
Description
8-bit Microcontroller with 8K Bytes In-System Programmable Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
4317J–AVR–08/10
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 PB2, replace DD_MOSI with DDB2 and DDR_SPI
with DDRB.
MISO
SCK
Pin
SS
1. See
direction of the user defined SPI pins.
SPI Pin Overrides
“Alternate Functions of Port B” on page 68
Direction, Master SPI
Input
User Defined
User Defined
(1)
for a detailed description of how to define the
Direction, Slave SPI
User Defined
Input
Input
AT90PWM2/3/2B/3B
175

Related parts for AT90PWM2B-16SE