NEC 78K0R/KE3 User Manual page 411

16-bit single-chip microcontrollers
Table of Contents

Advertisement

<R>
<R>
Caution Be sure to set transmit data to the SlOp register before the clock from the master is started.
CHAPTER 11 SERIAL ARRAY UNIT
Figure 11-65. Procedure for Resuming Slave Transmission/Reception
Starting setting for resumption
Manipulating target for communication
(Essential)
Port manipulation
(Essential)
Changing setting of SPS0 register
(Selective)
Changing setting of SMR0n register
(Selective)
Changing setting of SCR0n register
(Selective)
Clearing error flag
(Selective)
Changing setting of SOE0 register
(Selective)
Changing setting of SO0 register
(Selective)
Changing setting of SOE0 register
(Selective)
Port manipulation
(Essential)
Writing to SS0 register
(Essential)
Starting communication
(Essential)
(Essential)
Starting target for communication
Stop the target for communication or wait
until the target completes its operation.
Disable data output of the target channel
by setting a port register and a port
mode register.
Change the setting if an incorrect division
ratio of the operation clock is set.
Change the setting if the setting of the
SMR0n register is incorrect.
Change the setting if the setting of the
SCR0n register is incorrect.
Cleared by using SIR0n register if FEF,
PEF, or OVF flag remains set.
Set the SOE0 register and stop data
output of the target channel.
Manipulate the SO0n bit and set an
initial output level.
Set the SOE0 register and enable data
output of the target channel.
Enable data output of the target channel
by setting a port register and a port mode
register.
SE0n = 1 when the SS0n bit of the
target channel is set to 1.
Sets transmit data to the SIOp register
(bits 7 to 0 of the SDR0n register) and
wait for a clock from the master.
Starts the target for communication.
User's Manual U17854EJ9V0UD
411

Advertisement

Table of Contents
loading

Table of Contents