Fujitsu F2MC-8FX Hardware Manual page 374

F2mc-8fx 8-bit microcontroller
Hide thumbs Also See for F2MC-8FX:
Table of Contents

Advertisement

CHAPTER 20 UART/SIO
How to enable/disable/clear interrupts
Interrupt request enable flag, interrupt request flag
The interrupt request enable bits (SMC20.RIE, SMC20.TCIE, SMC20.TEIE) are used to enable interrupts.
When disabling interrupt
When enabling interrupt
Interrupt requests are cleared in the following setup procedure.
When clearing
interrupt requests
360
UART reception
Reception interrupt
enable bit (RIE)
requests
requests
Read from UART/SIO serial input register
(RDR0) to clear reception data register full bit
(RDRF).
Write "0" to error flag clear bit (RERC) to clear
error flags (PER, OVE, FER) to "0".
Transmission completion
interrupt enable bit
(TCIE)
Select "0"
Select "1"
UART reception
UART transmission
Transmission data
register empty interrupt
enable bit (TEIE)
UART transmission
Write data to UART/SIO serial
output data register (TDR0) to
clear transmission data register
empty bit (TDRE) to "0".

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95170j series

Table of Contents