176
CHAPTER 9 8-BIT SERIAL I/O
9.3.1
Serial Mode Register (SMR)
The serial mode register (SMR) is used to enable or disable operation, select the shift
clock, set the transfer direction, control interrupts, and check the state of 8-bit serial
I/O.
■
Serial mode register (SMR)
Figure 9.3-3 Serial mode register (SMR)
Address
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Initial value
001C
H
SIOF
SIOE
SCKE
SOE
CKS1
CKS0
BDS
SST
00000000
B
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
SST
Serial I/O transfer start bit
Serial data output enable bit
Shift clock output enable bit
Interrupt request enable bit
Interrupt request flag bit
Transfer direction selection bit
Read
Write
0
Serial transfer stopped.
Stops/disables serial
transfer.
1
Serial transfer operating.
Starts/enables serial
transfer.
BDS
0
LSB first (starts transfer from the least significant bit)
1
MSB first (starts transfer from the most significant bit)
CKS1 CKS0
Shift cl ock sel ecti on bits
SCK p in
0
0
Internal shift
clock
2 t
inst
Output
0
1
8 t
inst
Output
1
0
32 t
inst
Output
1
1
External shift clock
Input
t
inst
: Instruction cycle
SOE
0
Functions P44/SO as the general-purpose I/O port
.
1
Functions P44/SO as the serial data output pin.
SCKE
0
Functions P45/SCK as a general-purpose I/O port
or shift clock input pin.
1
Functions P45/SCK as the shift clock output pin.
SIOE
0
Disables interrupt request output.
1
Enables interrupt request output.
SIOF
Read
Write
0
Transfer has not
completed.
Clears this bit.
1
Transfer has completed. No effect.The bit does not
change
R/W : Readable and writable
: Initial value
Содержание MB89950 Series
Страница 2: ......
Страница 3: ...FUJITSU LIMITED F2MC 8L 8 BIT MICROCONTROLLER MB89950 950A Series HARDWARE MANUAL ...
Страница 4: ......
Страница 10: ...vi ...
Страница 34: ...20 CHAPTER 2 HANDLING DEVICES ...
Страница 134: ...120 CHAPTER 6 WATCHDOG TIMER ...
Страница 236: ...222 CHAPTER 10 UART ...
Страница 276: ...262 CHAPTER 12 LCD CONTROLLER DRIVER ...
Страница 310: ...296 APPENDIX ...
Страница 311: ...297 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 316: ...302 INDEX ...
Страница 318: ......