Automatic Data Transmit/Receive Control Register Format - NEC PD78056F User Manual

Pd78058f series; pd78058fy series 8-bit single-chip microcontrollers
Table of Contents

Advertisement

(3) Automatic data transmit/receive control register (ADTC)
This register sets automatic receive enable/disable, the operating mode, strobe output enable/disable, busy
input enable/disable, error check enable/disable and displays automatic transmit/receive execution and error
detection.
ADTC is set with a 1-bit or 8-bit memory manipulation instruction.
RESET input sets ADTC to 00H.
Figure 18-4. Automatic Data Transmit/Receive Control Register Format
Symbol
7
6
ADTC
RE
ARLD ERCE ERR
Notes 1. Bits 3 and 4 (TRF and ERR) are Read-Only bits.
2. The end of auto transmission should be determined by TRF not CSIIF1 (interrupt request flag).
Caution When an external clock input is selected with bit 1 (CSIM11) of the serial operating mode register
1 (CSIM1) set to 0, set STRB and BUSY1 of ADTC to 0, 0 (handshake control cannot be executed
when the external clock is input).
Remark
: Don't care
394
CHAPTER 18 SERIAL INTERFACE CHANNEL 1
5
4
3
2
1
0
TRF STRB
BUSY1 BUSY0
R/W
R/W
R/W
R/W
R/W
Address
After Reset
R/W
FF69H
00H
R/W
Note 1
BUSY1
BUSY0
Busy Input Control
0
Not using busy input
0
1
Busy input enable (active high)
1
1
Busy input enable (active low)
STRB
Strobe Output Control
0
Strobe output disable
1
Strobe output enable
R
TRF
Status of Automatic Transmit/Receive Function
Detection of termination of automatic transmission/
0
reception (This bit is set to 0 upon suspension of
automatic transmission/reception or when ARLD = 0.)
During automatic transmission/reception
1
(This bit is set to 1 when data is written to SIO1.)
R
ERR
Error Detection of Automatic Transmit/Receive
Function
No error
0
(This bit is set to 0 when data is written to SIO1)
1
Error occurred
ERCE
Error Check Control of Automatic Transmit/
Receive Function
0
Error check disable
1
Error check enable (only when BUSY1 = 1)
ARLD
Operating Mode Selection of Automatic Transmit/
Receive Function
0
Single operating mode
1
Repetitive operating mode
RE
Receive Control of Automatic Transmit/Receive
Function
0
Receive disable
1
Receive enable
Note 2

Advertisement

Table of Contents
loading

Table of Contents