TC1796
System Units (Vol. 1 of 2)
Interrupt System
User’s Manual
14-5
V2.0, 2007-07
Interrupt, V2.0
14.2.1.2 Request Set and Clear Bits (SETR, CLRR)
The SETR and CLRR bits allow software to set or clear the service request bit SRR.
Writing a 1 to SETR causes bit SRR to be set to 1. Writing a 1 to CLRR causes bit SRR
to be cleared to 0. If hardware attempts to modify SRR during a read-modify-write
software operation (such as the bit-set or bit-clear instructions), the software operation
will succeed and the hardware operation will have no effect.
The value written to SETR or CLRR is not stored. Writing a 0 to these bits has no effect.
These bits always return 0 when read. If both, SETR and CLRR, are set to 1 at the same
time, SRR is not changed.
14.2.1.3 Enable Bit (SRE)
The SRE bit enables an interrupt to take part in the arbitration for the selected service
provider. It does not enable or disable the setting of the request flag SRR; the request
flag can be set by hardware or by software (via SETR) independent of the state of the
SRE bit. This allows service requests to be handled automatically by hardware or
through software polling.
If SRE = 1, pending service requests are passed on to the designated service provider
for interrupt arbitration. The SRR bit is automatically set to 0 by hardware when the
service request is acknowledged and serviced. It is recommended that in this case,
software should not modify the SRR bit to avoid unexpected behavior due to the
hardware controlling this bit.
If SRE = 0, pending service requests are not passed on to service providers. Software
can poll the SRR bit to check whether a service request is pending. To acknowledge the
service request, the SRR bit must then be cleared by software by writing a 1 to CLRR.
Note: In this document, “active source” means an SRN whose Service Request Control
Register has its request enable bit SRE set to 1 to allow its service requests to
participate in interrupt arbitration.
SETR
15
w
Request Set Bit
SETR is required to set SRR.
0
B
No action
1
B
Set SRR; bit value is not stored; read always
returns 0; no action if CLRR is set also.
0
[9:8], 11,
[31:16]
r
Reserved
Read as 0; should be written with 0.
Field
Bits
Type Description