Contents - 8
11.5.3
Example of SIO1-related Register Settings ........................................................... 11-23
11.5.3.1
UART Mode Settings................................................................................. 11-23
Transmit settings........................................................................................ 11-23
Receive settings ......................................................................................... 11-23
11.5.3.2
Synchronous Mode Settings....................................................................... 11-24
Transmit settings........................................................................................ 11-24
Receive settings ......................................................................................... 11-25
11.5.3.3
Baud Rate Generator (Timer 4) Settings.................................................... 11-25
11.5.4
SIO1 Interrupt ........................................................................................................ 11-26
11.6 SIO6, SIO1 Operation.................................................................................................... 11-27
11.6.1
Transmit Operation ................................................................................................ 11-27
11.6.2
Receive Operation.................................................................................................. 11-35
11.7 SIO3 ............................................................................................................................ 11-40
11.7.1
SIO3 Configuration................................................................................................ 11-40
11.7.2
Description of SIO3 Registers ............................................................................... 11-41
(1)
SIO3 control register (SIO3CON) ......................................................................... 11-41
(2)
SIO3 register (SIO3R) ........................................................................................... 11-43
11.7.3
Example of SIO3-related Register Settings ........................................................... 11-43
Transmit-receive settings ....................................................................................... 11-43
Baud rate generator (Timer 5) settings................................................................... 11-44
11.7.4
SIO3 Operation ...................................................................................................... 11-44
11.7.5
SIO3 Interrupt ........................................................................................................ 11-46
11.8 SIO4 ............................................................................................................................ 11-47
11.8.1
SIO4 Configuration................................................................................................ 11-47
11.8.2
Description of SIO4 Registers ............................................................................... 11-48
(1)
SIO4 control register (SIO4CON) ......................................................................... 11-48
(2)
FIFO control register (FIFOCON) ......................................................................... 11-50
(3)
Serial input FIFO data register (SIN4)................................................................... 11-52
(4)
Serial output FIFO data register (SOUT4)............................................................. 11-52
(5)
Internal Control Register (P5IO)............................................................................ 11-52
11.8.3 Example of SIO4-related Register Settings ............................................................... 11-53
Master mode settings ............................................................................................. 11-53
Slave mode settings................................................................................................ 11-54
11.8.4
SIO4 Interrupt ........................................................................................................ 11-55
11.8.5
SIO4 Operation ...................................................................................................... 11-56