MB89620 series
CHAPTER 10 8-BIT SERIAL I/O (SERIAL I/O-1 AND SERIAL I/O-2)
213
10
10.
5
8-bit Serial I/O Interrupts
The 8-bit serial I/O can generate interrupt requests after completion of the serial input
and output of the 8-bit data.
Serial I/O-1 generates the IRQ7 as an interrupt request and serial I/O-2 generates the
IRQ8 as an interrupt request.
n
Interrupt for Serial I/O Operation
The 8-bit serial I/O performs the serial input operation and serial output operation at the same
time. When the serial transfer starts, the data in the serial data register (SDR) is input and
output one bit at a time, synchronized with the cycle of the selected shift clock. The interrupt
request flag bit (SMR: SIOF) is set to “1” on the rising edge of the shift clock of the eighth bit.
At this time, an interrupt request (IRQ7 for serial I/O-1 and IRQ8 for serial I/O-2) to the CPU is
generated if the interrupt request enable bit is enabled (SMR: SIOE = “1”).
Write “0” to the SIOF bit in the interrupt processing routine to clear the interrupt request. The
SIOF bit is set after completing 8-bit serial output, regardless of the SIOE bit value.
Note:
The interrupt request flag bit is not set (SMR: SIOF = “1”) if serial transfer is stopped (SMR: SST =
“0”) at the same time as serial data transfer completes for the serial I/O operation. An interrupt
request is generated immediately if the SIOF bit is “1” when the SIOE bit is changed from disabled to
enabled (“0”
→
“1”).
n
Register and Vector Table for 8-bit Serial I/O Interrupts
Reference:
See Section 3.4.2, “Interrupt Processing” for details on the interrupts operation.
Table 10.5 Register and Vector Table for 8-bit Serial I/O Interrupts
Interrupt
Interrupt level setting register
Vector table address
Register
Setting bits
Upper
Lower
IRQ7 (8-bit serial I/O-1)
ILR2 (007D
H
)
L71 (Bit 7)
L70 (Bit 6)
FFEC
H
FFED
H
IRQ8 (8-bit serial I/O-2)
ILR3 (007E
H
)
L81 (Bit 1)
L80 (Bit 0)
FFEA
H
FFEB
H
Содержание F2MC-8L MB89620 Series
Страница 8: ......
Страница 10: ...MB89620 series ...
Страница 11: ...vi MB89620 series ...
Страница 17: ...xii MB89620 series ...
Страница 18: ...xvi MB89620 series ...
Страница 30: ...MB89620 series CHAPTER 1 OVERVIEW 9 Memo ...
Страница 34: ...MB89620 series CHAPTER 1 OVERVIEW 13 Memo ...
Страница 42: ...MB89620 series CHAPTER 1 OVERVIEW 21 Memo ...
Страница 49: ...28 CHAPTER 1 OVERVIEW MB89620 series ...
Страница 62: ...MB89620 series CHAPTER 3 CPU 41 Memo ...
Страница 78: ...MB89620 series CHAPTER 3 CPU 57 Memo ...
Страница 82: ...MB89620 series CHAPTER 3 CPU 61 Memo ...
Страница 86: ...MB89620 series CHAPTER 3 CPU 65 Memo ...
Страница 90: ...MB89620 series CHAPTER 3 CPU 69 Memo ...
Страница 96: ...MB89620 series CHAPTER 3 CPU 75 Memo ...
Страница 122: ...MB89620 series CHAPTER 4 I O PORTS 101 Memo ...
Страница 144: ...MB89620 series CHAPTER 5 TIMEBASE TIMER 123 Memo ...
Страница 149: ...128 CHAPTER 5 TIMEBASE TIMER MB89620 series ...
Страница 157: ...136 CHAPTER 6 WATCHDOG TIMER MB89620 series ...
Страница 174: ...MB89620 series CHAPTER 7 8 BIT PWM TIMER 153 Memo ...
Страница 177: ...156 CHAPTER 7 8 BIT PWM TIMER MB89620 series ...
Страница 202: ...MB89620 series CHAPTER 9 16 BIT TIMER COUNTER 181 Memo ...
Страница 217: ...196 CHAPTER 9 16 BIT TIMER COUNTER MB89620 series ...
Страница 220: ...MB89620 series CHAPTER 10 8 BIT SERIAL I O SERIAL I O 1 AND SERIAL I O 2 199 Memo ...
Страница 228: ...MB89620 series CHAPTER 10 8 BIT SERIAL I O SERIAL I O 1 AND SERIAL I O 2 207 Memo ...
Страница 245: ...224 CHAPTER 10 8 BIT SERIAL I O SERIAL I O 1 AND SERIAL I O 2 MB89620 series ...
Страница 266: ...MB89620 series CHAPTER 13 A D CONVERTER 245 13 Memo ...
Страница 283: ...262 CHAPTER 13 A D CONVERTER MB89620 series ...
Страница 289: ...268 CHAPTER 14 CLOCK MONITOR FUNCTION MB89620 series ...
Страница 306: ...MB89620 series APPENDIX 285 APPEND Memo ...
Страница 319: ...298 APPENDIX MB89620 series Memo ...
Страница 321: ...2 ...
Страница 354: ......