172
CHAPTER 9 8-BIT SERIAL I/O
●
Shift clock control circuit
Selects the shift clock from one external and three internal clocks.
If an internal shift clock is selected, the shift clock can be output to the SCK pin. If external shift clock is
selected, the clock input from the SCK pin is used as the shift clock. The SDR register shifts in
synchronous with the shift clock and the shifted-out value is output to the SO pin. Similarly, the serial input
is obtained by shifting the SI pin input to the SDR register.
●
Shift clock counter
The shift clock counter counts the number of SDR register shifts generated by the shift clock and overflows
after eight shifts.
The overflow clears the serial I/O transfer start bit in the SMR register (SST = "0") and sets the interrupt
request flag (SIOF = "1"). The shift clock counter stops counting when serial transfer halts (SST = "0").
The shift clock counter is cleared when serial transfer restarts (SST = "1").
●
SDR register
The SDR register is used to store the transfer data. Data written to this register is converted to serial and
output. Serial input is converted to parallel data and stored in this register.
●
SMR register
The SMR register is used to enable or disable serial I/O operation, select the shift clock, set the transfer
(shift) direction, control interrupts, and check the serial I/O status.
Summary of Contents for MB89950 Series
Page 2: ......
Page 3: ...FUJITSU LIMITED F2MC 8L 8 BIT MICROCONTROLLER MB89950 950A Series HARDWARE MANUAL ...
Page 4: ......
Page 10: ...vi ...
Page 34: ...20 CHAPTER 2 HANDLING DEVICES ...
Page 134: ...120 CHAPTER 6 WATCHDOG TIMER ...
Page 236: ...222 CHAPTER 10 UART ...
Page 276: ...262 CHAPTER 12 LCD CONTROLLER DRIVER ...
Page 310: ...296 APPENDIX ...
Page 311: ...297 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 316: ...302 INDEX ...
Page 318: ......