ata6616 ATMEL Corporation, ata6616 Datasheet - Page 166

no-image

ata6616

Manufacturer Part Number
ata6616
Description
Microcontroller With Lin Transceiver, 5v Regulator And Watchdog
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ata6616-P3QW
Manufacturer:
ATMEL
Quantity:
950
Part Number:
ata6616-P3QW
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ata6616C
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ata6616C-P3QW
Manufacturer:
ATMEL
Quantity:
887
166
ATA6616/ATA6617 [Preliminary]
When the SPI is enabled, the data direction of the MOSI, MISO, SCK, and SS pins is overridden
according to
“Alternate Port Functions” on page
Table 4-39.
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.
Note:
MOSI
MISO
SCK
Pin
SS
1. See
how to define the direction of the user defined SPI pins.
Table
SPI Pin Overrides
Direction, Master SPI
User Defined
Input
User Defined
User Defined
Section 4.10.3.4 “Alternate Functions of Port B” on page 105
4-39. For more details on automatic port overrides, refer to
(1)
96.
DRAFT
Direction, Slave SPI
Input
User Defined
Input
Input
for a detailed description of
Section 4.10.3
9132A–AUTO–10/08

Related parts for ata6616