Serial Interface Channel 0 Interrupt Request Signal Generation - NEC PD78052 User Manual

Pd78054 series; pd78054y series 8-bit single-chip microcontrollers
Table of Contents

Advertisement

CHAPTER 17 SERIAL INTERFACE CHANNEL 0 ( PD78054Y Subseries)
(6) Interrupt request signal generator
This circuit controls interrupt request signal generation. It generates interrupt request signals according to
the settings of interrupt timing specification register (SINT) bits 0 and 1 (WAT0, WAT1) and serial operation
mode register 0 (CSIM0) bit 5 (WUP), as shown in Table 17-3.
(7) Acknowledge output circuit and stop condition/start condition/acknowledge detector
These two circuits output and detect various control signals in the I
These do not operate in the 3-wire serial I/O mode and 2-wire serial I/O mode.
Table 17-3. Serial Interface Channel 0 Interrupt Request Signal Generation
Serial Transfer mode
3-wire or 2-wire serial I/O mode
2
I
C bus mode (transmit)
2
I
C bus mode (receive)
Remark BSYE: Bit 7 of serial bus interface control register (SBIC)
ACKE: Bit 5 of serial bus interface control register (SBIC)
BSYE WUP WAT1 WAT0 ACKE
0
0
0
0
0
Other than above
0
0
1
0
0
1
1
0
Other than above
1
0
1
0
0
1
1
0/1
1
1
1
1
1
Other than above
2
C mode.
Description
An interrupt request signal is generated each
time 8 serial clocks are counted.
Setting prohibited
An interrupt request signal is generated each
time 8 serial clocks are counted (8-clock wait).
Normally, during transmission the settings WAT21,
WAT0 = 1, 0, are not used. They are used only
when wanting to coordinate receive time and
processing systematically using software. ACK
information is generated by the receiving side,
thus ACKE should be set to 0 (disable).
An interrupt request signal is generated each
time 9 serial clocks are counted (9-clock wait).
ACK information is generated by the receiving
side, thus ACKE should be set to 0 (disable).
Setting prohibited
An interrupt request signal is generated each
time 8 serial clocks are counted (8-clock wait).
ACK information is output by manipulating ACKT
by software after an interrupt is generated.
An interrupt request signal is generated each
time 9 serial clocks are counted (9-clock wait).
To automatically generate ACK information,
preset ACKE to 1 before transfer start. However,
in the case of the master, set ACKE to 0
(disable) before receiving the last data.
After address is received, if the values of the
serial I/O shift register 0 (SI00) and the slave
address register (SVA) match, and if the stop
condition is detected, an interrupt request signal
is generated.
To automatically generate ACK information,
preset ACKE to 1 (enable) before transfer start.
Setting prohibited
347

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents