190
CHAPTER 9 8-BIT SERIAL I/O
9.10
Program Example for 8-bit Serial I/O
This section gives program example for 8-bit serial I/O.
■
Program example for serial output
●
Processing description
•
Outputs 8-bit serial data (55
H
) from the SO pin of serial I/O, then generates an interrupt when transfer is
completed.
•
The interrupt processing routine resets the transfer data and continues output.
•
Operates as an internal shift clock and outputs the shift clock from the SCK pin.
•
With a main clock oscillation frequency F
CH
of 5 MHz, the highest speed clock selected by the speed-
shift function (1 instruction cycle = 4/F
CH
), and a 32 t
inst
shift clock, the data transfer rate will be as
follows.
Transfer speed = 5 MHz/4/32 = 39 kbps
Interrupt cycle = 8 x 32 x 4/5 MHz = 204.8
µ
s
Содержание 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: ......