![Infineon Technologies TC1796 User Manual Download Page 1979](http://html1.mh-extra.com/html/infineon-technologies/tc1796/tc1796_user-manual_20554371979.webp)
TC1796
Peripheral Units (Vol. 2 of 2)
Analog-to-Digital Converter (ADC)
User’s Manual
25-48
V2.0, 2007-07
ADC, V2.0
25.1.9.4 Service Request Flag Control
As shown in
and
, the service request status flags are always
set by hardware but can be cleared only via software (or a module reset operation). A
service request status flag is cleared under software control by writing a 1 to the
corresponding bit position in the MSS0/MSS1 register.
When bit CON.SRTEST is set, service request flags can also be set by software. A
service request flag is set when CON.SRTEST = 1 is set and a 1 is written to the
corresponding bit position in the MSS0/MSS1 register. After this MSS0/MSS1 write
action is executed, bit CON.SRTEST becomes automatically cleared again.
summarizes the actions that are performed when a write action on a
MSS0/MSS1 register service request status flag occurs.
Table 25-10 Service Request Status Flag Set/Clear Operations
SCON.SRTEST MSS Flag
Current
Value
Value Written
to MSS Flag
MSS Flag
New Value
After Write
Comment
0
0
0
0
No action
1
No action
1
0
1
No action
1
0
MSS flag is cleared by
software
1
0
0
0
No action
1
1
MSS flag is set by
software and a service
request is generated
1
0
1
No action
1
1
MSS flag is set by
software and a service
request is generated