12
12-49
SERIAL I/O
12.7 Receive Operation in UART Mode
32180 Group User's Manual (Rev.1.0)
Figure 12.7.1 Procedure for Initializing UART Reception
Initialize UART reception
•
Set the register to UART mode
•
Set parity (when enabled, select odd/even)
•
Set the stop bit length
•
Set the character length
Set SIO Transmit/Receive Mode Register
(When using the DMAC)
Set DMAC related registers
Set Interrupt Controller's
SIO Receive Interrupt Control Register
Set SIO interrupt related registers
•
Select the source of receive interrupt request
•
Enable or disable receive interrupt requests
Set SIO Baud Rate Register
•
Select the clock divider divide-by ratio
Set SIO Transmit Control Register
Serial I/O
related registers
End of UART receive initialization
(When using interrupts)
•
Divide-by ratio = H'00 to H'FF (Note 1)
Note 1: If clock divider divide-by ratio = 1 is selected, it is necessary that the value set in the baud rate
register be equal to or greater than 7.
Set Input/Output Port
Operation Mode Register
Содержание M32R/ECU Series
Страница 17: ...12 This page is blank for reasons of layout...
Страница 18: ...CHAPTER 1 OVERVIEW 1 1 Outline of the 32180 Group 1 2 Block Diagram 1 3 Pin Functions 1 4 Pin Assignments...
Страница 712: ...CHAPTER 18 OSCILLATOR CIRCUIT 18 1 Oscillator Circuit 18 2 Clock Generator Circuit...
Страница 794: ...CHAPTER 22 TYPICAL CHARACTERISTICS...
Страница 795: ...22 22 2 32180 Group User s Manual Rev 1 0 TYPICAL CHARACTERISTICS To be written at a later time...
Страница 796: ...APPENDIX 1 MECHANICAL SPECIFICAITONS Appendix 1 1 Dimensional Outline Drawing...
Страница 798: ...APPENDIX 2 INSTRUCTION PROCESSING TIME Appendix 2 1 32180 Instruction Processing Time...
Страница 802: ...APPENDIX 3 PROCESSING OF UNUSED PINS Appendix 3 1 Example Processing of Unused Pins...