SAF-C164SM Infineon Technologies, SAF-C164SM Datasheet - Page 230

no-image

SAF-C164SM

Manufacturer Part Number
SAF-C164SM
Description
16-Bit CMOS Microcontroller
Manufacturer
Infineon Technologies
Datasheet
S0EIC
ASC0 Error Intr. Ctrl. Reg.
Note: Please refer to the general Interrupt Control Register description for an
Using the ASC0 Interrupts
For normal operation (other than the error interrupt), the ASC0 provides three interrupt
requests to control data exchange via this serial channel:
• S0TBIR is activated when data is moved from S0TBUF to the transmit shift register.
• S0TIR
• S0RIR
While the task of the receive interrupt handler is quite clear, the transmitter is serviced
by two interrupt handlers. This provides advantages for the servicing software.
For single transfers, it is sufficient to use the transmitter interrupt (S0TIR) which
indicates that the previously loaded data has been transmitted (except for the last bit of
an asynchronous frame).
For multiple back-to-back transfers, it is necessary to load the subsequent piece of
data at last until the last bit of the previous frame has been transmitted. In asynchronous
mode this leaves only one bit-time for the handler to respond to the transmitter interrupt
request. In synchronous mode this makes response impossible.
Using the transmit buffer interrupt (S0TBIR) to reload transmit data provides the time to
transmit a complete frame for the service routine, as S0TBUF may be reloaded while the
previous data is still being transmitted.
User’s Manual
15
-
explanation of the control fields.
14
-
is activated before the last bit of an asynchronous frame is transmitted,
or after the last bit of a synchronous frame has been transmitted.
is activated when the received frame is moved to S0RBUF.
13
-
12
-
-
11
-
10
-
SFR (FF70
9
-
Asynchronous/Synchronous Serial Interface
8
-
11-16
EIR
rwh
S0
H
7
/B8
EIE
S0
H
rw
6
)
5
4
ILVL
rw
Reset Value: - - 00
C164CM/C164SM
3
2
Derivatives
V1.0, 2002-02
1
GLVL
rw
0
H

Related parts for SAF-C164SM