Functions For Setting An Souti Initial Value - Renesas M16C/29 Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for M16C/29 Series:
Table of Contents

Advertisement

M16C/29 Group
14.2.3 Functions for Setting an S
If the SiC register's SMi6 bit = 0 (external clock), the S
transferring. Figure 14.2.3.1 shows the timing chart for setting an S
(Example) When "H" selected for S
Signal written to
SiTRR register
SMi7 bit
SMi3 bit
S
i (internal)
OUT
S
i pin output
OUT
(i = 3, 4)
Note 1: This diagram applies to the case where the SiC register bits are set as follows:
SMi2=0 (S
OUT
Note 2: S
i can only be initialized when input on the CLKi pin is in the high state if the SiC
OUT
register's SMi4 bit = 0 (transmit data output at the falling edge of the transfer clock) or
in the low state if the SMi4 bit = 1 (transmit data output at the rising edge of the
transfer clock).
Note 3: If the SMi6 bit = 1 (internal clock) or if the SMi2 bit = 1 (S
this output goes to the high-impedance state.
Figure 14.2.3.1. S
OUT
Rev.1.00 Nov 01,2004
REJ09B0101-0100Z
OUT
i initial value (Note 1)
OUT
Port output
Initial value = "H" (Note 3)
Setting the S
i
Port selection switching
OUT
initial value to "H"
(I/O port
S
(Note 2)
i output), SMi5=0 (LSB first) and SMi6=0 (external clock)
i's Initial Value Setting
page 213 of 402
i Initial Value
pin output can be fixed high or low when not
OUTi
D0
D0
i)
OUT
output disabled),
OUT
14.2 SI/O 3 and SI/O 4
initial value and how to set it.
OUTi
Setting of the initial value of S
output and starting of transmission/
reception
Set the SMi3 bit to "0"
(S
i pin functions as an I/O port)
OUT
Set the SMi7 bit to "1"
(S
i initial value = "H")
OUT
Set the SMi3 bit to "1"
(S
i pin functions as S
OUT
OUT
"H" level is output
from the S
Write to the SiTRR register
Serial transmit/reception starts
i
OUT
i output)
i pin
OUT

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM16c/tiny series

Table of Contents