|
HD404374 Datasheet, PDF (100/161 Pages) Renesas Technology Corp – Low-Voltage AS Microcomputers with On-Chip A/D Converter | |||
|
◁ |
HD404374/HD404384/HD404389/HD404082/HD404084 Series
Serial mode register 2 (SMR2: $025)
Bit
Read/Write
Initial value on reset
Bit name
3
2
1
0
â
W
W
â
â
0 undeternined â
â SMR22 SMR21
SMR21 Idle high/low control
0 SO pin set to low-level output in idle state
1
SO pin set to high-level output in idle state
SMR22
0
1
R22/SI/SO pin output buffer control
PMOS active
PMOS off (NMOS open-drain output)
Figure 57 Serial Mode Register 2 (SMR2)
Serial data register (SRL: $026, SRU: $027):
The serial data register (SRL, SRU) has the following functions. See figures 58 and 59.
⢠Transmit data write and shift operations
⢠Receive data shift and read operations
The data written to the serial data register (SRL, SRU) is output LSB-first from the SO pin in
synchronization with the falling edge of the serial clock.
External data input LSB-first from the SI pin is latched in synchronization with the rising edge of the serial
clock. Figure 60 shows the serial clock and data input/output timing chart.
Writing and reading of the serial data register (SRL, SRU) must be performed only after data
transmission/reception is completed. The data contents are not guaranteed if a read or write is performed
during data transmission or reception.
Rev.5.00, Sep.11.2003, page 100 of 161
|
▷ |