BAT32G1x9 user manual | Chapter 19 Universal serial communication unit
594 / 1149
Rev.1.02
19.3.15
Input Switch Control Register (ISC).
When LIN-bus communication is implemented via UART0, the ISC1 bits and ISC0 bits of the ISC
registers are used for coordination of external interrupts and timer array units. If bit0 is placed at "1", the input
signal of the serial data input (RxD0) pin is selected as the input to the external interrupt (INTP0), so it can pass
THE INTP0 interrupt detects the wake-up signal.
If bit1 is set to "1", the input signal of the serial data input (RxD0) pin is selected as the input to the timer,
so the wake signal can be detected by the timer and the low width of the interval segment and the pulse width
of the synchronization segment can be measured.
The SS1E00 bit controls the SS00 pin input for channel 0 in slave mode of SSPI00 communication. During
the input of a high level to the SS00 pin, no transmission and reception is made even if the serial clock is input;
During the period when the SS00 pin is input low, if a serial clock is input, it is sent and received according to
the settings of each mode.
The ISC register is set by the 8-bit memory operation instruction.
After generating a reset signal, the value of the ISC register changes to "00H".
Figure 19-19
Format of input switching control register (ISC).
After reset: 00H
R/W
Symbol
7 6 5 4 3 2 1 0
ISC
SSDIE00
SSPI00 communication in slave mode settings for channel
0's
SS00
input
0
The SS00 pin input is invalid.
1
The SS00 pin input is valid.
ISC1
Timer4 is switched to the input of channel 3
0
Use the input signal from the TI03 pin as the input to the timer (usually operating).
1
Use the input signal from the RxD0 pin as the input to the timer (detect the wake-up signal
and measure the low width of the interval segment and the pulse width of the sync segment).
ISC0
Input switching of external interrupt (INTP0).
0
Use the input signal from the INTP0 pin as input to an external interrupt (usually operating).
1
Use the input signal from the RxD0 pin as the input to an external interrupt (detect wake-up
signal).
Note that
bit6~0
must be
set to
"0".
SYESE00
0
0
0
0
0
ISC1
ISC0