Serial peripheral data register (spdat) – Rainbow Electronics AT89C5122 User Manual
Page 146

146
AT8xC5122/23
4202E–SCR–06/06
Serial Peripheral DATa Register
(SPDAT)
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.
Reset Value = XXXX XXXXb
Table 87. Serial Peripheral Data Register - SPDAT (C5h)
7
6
5
4
3
2
1
0
R7
R6
R5
R4
R3
R2
R1
R0
Bit Number
Bit
Mnemonic Description
7-0
R7:0
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
- MAX14514 (14 pages)
- MAX16825 (15 pages)
- MAX16800 (9 pages)
- MAX6931 (14 pages)
- MAX6920 (10 pages)
- MAX6959 (19 pages)
- MAX15025 (16 pages)
- EVK2 (2 pages)
- MAX13256 (17 pages)
- MAX6964 (23 pages)
- MAX6948B (28 pages)
- MAX17117 (22 pages)
- MAX6934 (16 pages)
- MAX5048 (9 pages)
- MAX15054 (9 pages)
- AT6010LV (28 pages)
- AT83C24NDS (42 pages)
- AT83C21GC (6 pages)
- AT42QT1012 (6 pages)
- ATF16LV8C (11 pages)
- ATA6823 (28 pages)
- 71M6542G (165 pages)
- ATV2500BQL (21 pages)
- ATV750BL (19 pages)
- ATA6839 (17 pages)
- BA6229 (3 pages)
- ATF16V8C (18 pages)
- ATMOS™ 1M60 (26 pages)
- ATF1504ASVL (29 pages)
- BA6955N (9 pages)
- ATF1500ABV (15 pages)
- BA6219BFP-Y (7 pages)
- AT77C102B (19 pages)
- AT90SCR050 (4 pages)
- BA6208F (2 pages)
- ATA6625 (22 pages)
- ATA6664 (20 pages)
- ATF1516ASL (13 pages)
- ATF20V8BQL (18 pages)
- ATA6827 (15 pages)
- AT83C26 (77 pages)
- AT77C104B (36 pages)
- ATA6830 (23 pages)
- AT42QT1040 (18 pages)
- ATA6824 (22 pages)