ata6616 ATMEL Corporation, ata6616 Datasheet - Page 181

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
4.15.5
4.15.5.1
4.15.5.2
9132A–AUTO–10/08
DRAFT
Register Descriptions
USIDR – USI Data Register
USIBR – USI Buffer Register
• Bits 7:0 – USID7..0: USI Data
When accessing the USI Data Register (USIDR) the Serial Register can be accessed directly. If
a serial clock occurs at the same cycle the register is written, the register will contain the value
written and no shift is performed. A (left) shift operation is performed depending of the
USICS1..0 bits setting. The shift operation can be controlled by an external clock edge, by a
Timer/Counter0 Compare Match, or directly by software using the USICLK strobe bit. Note that
even when no wire mode is selected (USIWM1..0 = 0) both the external data input (DI/SDA) and
the external clock input (USCK/SCL) can still be used by the USI Data Register.
The output pin in use, DO or SDA depending on the wire mode, is connected via the output latch
to the most significant bit (bit 7) of the Data Register. The output latch is open (transparent) dur-
ing the first half of a serial clock cycle when an external clock source is selected (USICS1 = 1),
and constantly open when an internal clock source is used (USICS1 = 0). The output will be
changed immediately when a new MSB written as long as the latch is open. The latch ensures
that data input is sampled and data output is changed on opposite clock edges.
Note that the corresponding Data Direction Register to the pin must be set to one for enabling
data output from the USI Data Register.
• Bits 7:0 – USID7..0: USI Buffer
The content of the Serial Register is loaded to the USI Buffer Register when the transfer is com-
pleted, and instead of accessing the USI Data Register (the Serial Register) the USI Data Buffer
can be accessed when the CPU reads the received data. This gives the CPU time to handle
other program tasks too as the controlling of the USI is not so timing critical. The USI flags as set
same as when reading the USIDR register.
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
USID7
USIB7
R/W
R
7
0
7
0
USID6
USIB6
R/W
R
6
0
6
0
ATA6616/ATA6617 [Preliminary]
USID5
USIB5
R/W
R
5
0
5
0
USID4
USIB4
R/W
R
4
0
4
0
USID3
USIB3
R/W
R
3
0
3
0
USID2
USIB2
R/W
R
2
0
2
0
USID1
USIB1
R/W
R
1
0
1
0
USID0
USIB0
R/W
R
0
0
0
0
USIDR
USIBR
181

Related parts for ata6616