Table 21-36 SAPHASCTL0/SAPH_AASCTL0 Register Field Descriptions
Bit
Field
Type
Reset
Description
15-14
RESERVED
R
0h
Reserved
13
ERABRT
R/W
0h
Stop ASQ when the DATAERR interrupt occurrs when the mesurements controlled by ASQ (auto mode). Note that it is not possible to resume the measurement from where it was stopped. When ASQ is triggered again, the measurement seqeunce starts from the beginning.
Reset type: PUC
0h (R/W) = Continue the measurements until completion regardless of the DATAERR interrupt.
1h (R/W) = Stop the ASQ upon the DATAERR interrupt.
12
RESERVED
R
0h
Reserved
11-10
TRIGSEL
R/W
0h
ASQ trigger select.
Reset type: PUC
0h (R/W) = SWTRIG : Writing '1' to ASQTRIG.ASQTRIG
1h (R/W) = PSQ : The PSQ is selected to start the ASQ.
2h (R/W) = Timer : Ext. Signal (See device specific datasheet)
3h (R/W) = Ext. Signal (See device specific datasheet)
9
ASQTEN
R/W
0h
ASQ Trigger Enable. This bit can be used to indicate that the configuration of the ASQ is complete. The ASQ can only be triggered when this bit is set to '1' regardless of its trigger source. It is recommended to keep this bit zero while updating ASQ registerds.
Reset type: PUC
0h (R/W) = ASQ trigger is disabled.
1h (R/W) = ASQ trigger is enabled.
8
RESERVED
R/W
0h
7
ASQSTOP
R/W
0h
Stop the ASQ. Writing '1' to this bit stops the measurement sequence controlled by the ASQ. This bit is self cleared.
Reset type: PUC
6-5
RESERVED
R
0h
Reserved
4
ASQCHSEL
R/W
0h
This bit selects the channel to start with when ASQ contols the measuremnet sequences.
Reset type: PUC
0h (R/W) = CH0 is selected to start with.
If SAPHASCTL0.PNGCNT = 3 and SAPHASCTL1.CHTOG =1, then the channel selection would be CH0 -> CH1 -> CH0 -> CH1.
If SAPHASCTL0.PNGCNT = 3 and SAPHASCTL1.CHTOG =0, then the channel selection would be CH0 -> CH0 -> CH0 -> CH0.
1h (R/W) = CH1 is selected to start with.
If SAPHASCTL0.PNGCNT = 3 and SAPHASCTL1.CHTOG =0, then the channel selection would be CH1 -> CH1 -> CH1 -> CH1.
If SAPHASCTL0.PNGCNT = 3 and SAPHASCTL1.CHTOG =1, then the channel selection would be CH1 -> CH0 -> CH1 -> CH0.
3-2
RESERVED
R/W
0h
1-0
PNGCNT
R/W
0h
The total number of measurements to be performed.
0 = 1 measurement will be performed (Min)
1 = 2 measurements will be performed
2 = 3 measurements will be performed
3 = 4 measurements will be performed (Max)
Note: This bit field is static, does not reflect the currently reamining measurement numbers.