Mitsubishi Electric M32R Series User Manual page 580

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

12
Serial I/O
related
registers
Note 1 : This is necessary when you use the internal clock.
Note 2 : When you selected the internal clock and a divide-by ratio = 1, you are subject to limitations that
the baud rate generator must be set not to exceed 2 Mbps.
Figure 12.3.1 Procedure for CSIO Transmit Initialization
Initial settings for CSIO
transmission
Set SIO Transmit/Receive Mode Register
Set SIO Transmit Control Register
Set SIO Baud Rate Register
Set SIO Interrupt Mask Register
Set the Interrupt Controller
Set DMAC
Set input/output port
Operation Mode Register
Initial settings for CSIO
transmission finished
12.3 Transmit Operation in CSIO Mode
• Set register to CSIO mode
• Select internal or external clock
• Select clock divider's divide-by ratio
• Divide-by ratio H'00 to H'FF
• Enable/disable transmit buffer
empty interrupt
(When using interrupt)
(When using DMAC)
12-30
SERIAL I/O
(Note 1)
(Note 2)
Ver.0.10

Advertisement

Table of Contents
loading

Table of Contents