at83c5122 ATMEL Corporation, at83c5122 Datasheet - Page 146

no-image

at83c5122

Manufacturer Part Number
at83c5122
Description
At83c5123 C51 Microcontroller With Usb And Smart Card Reader Interfaces
Manufacturer
ATMEL Corporation
Datasheet
Serial Peripheral DATa Register
(SPDAT)
146
AT8xC5122/23
The Serial Peripheral Data Register (Table 87) is a read/write buffer for the receive data
register. A write to SPDAT places data directly into the shift register. No transmit buffer
is available in this model.
A read of the SPDAT returns the value located in the receive buffer and not the content
of the shift register.
Table 87. Serial Peripheral Data Register - SPDAT (C5h)
Reset Value = XXXX XXXXb
Bit Number
7-0
R7
7
Mnemonic Description
R7:0
Bit
R6
6
Receive data bits
SPCON, SPSTA and SPDAT registers may be read and written at any time while
there is no on-going exchange. However, special care should be taken when
writing to them while a transmission is on-going:
Do not change SPR2, SPR1 and SPR0
Do not change CPHA and CPOL
Do not change MSTR
Clearing SPEN would immediately disable the peripheral
Writing to the SPDAT will cause an overflow
R5
5
R4
4
R3
3
R2
2
R1
1
4202E–SCR–06/06
R0
0

Related parts for at83c5122