NEC UPD703116 User Manual page 500

32-bit single-chip microcontrollers
Table of Contents

Advertisement

(2) Repeat transfer mode
(a) Usage (receive-only)
<1> Set the repeat transfer mode (AUTO bit of CSIMn register = 1) and the receive-only mode (TRMDn bit
of CSIMn register = 0).
<2> Read SIRBn register (start transfer with dummy read).
<3> Wait for transmission/reception completion interrupt request (INTCSIn).
<4> When the transmission/reception completion interrupt request (INTCSIn) has been set (1), read the
SIRBn register
<5> Repeat steps <3> and <4> (N − 2) times (N: Number of transfer data).
<6> Following output of the last transmission/reception completion interrupt request (INTCSIn), read the
SIRBEn register and the SIOn register
Note When transferring N number of data, receive data is loaded by reading the SIRBn register from the
first data to the (N − 2)th data. The (N − 1)th data is loaded by reading the SIRBEn register, and the
Nth (last) data is loaded by reading the SIOn register.
500
CHAPTER 10 SERIAL INTERFACE FUNCTION
Note
(reserve next transfer).
Note
.
User's Manual U14492EJ5V0UD

Advertisement

Table of Contents
loading

Table of Contents