SLAU893B October 2023 – July 2024 MSPM0C1103 , MSPM0C1104
Table 9-10 lists the memory-mapped registers for the ADC0 registers. All register offset addresses not listed in Table 9-10 should be considered as reserved locations and the register contents should not be modified.
Offset | Acronym | Register Name | Section |
---|---|---|---|
400h | FSUB_0 | Subscriber Configuration Register. | Section 9.3.1 |
444h | FPUB_1 | Publisher Configuration Register. | Section 9.3.2 |
800h | PWREN | Power enable | Section 9.3.3 |
804h | RSTCTL | Reset Control | Section 9.3.4 |
808h | CLKCFG | ADC clock configuration Register | Section 9.3.5 |
814h | STAT | Status Register | Section 9.3.6 |
1028h | IMASK | Interrupt mask | Section 9.3.7 |
1030h | RIS | Raw interrupt status | Section 9.3.8 |
1038h | MIS | Masked interrupt status | Section 9.3.9 |
1040h | ISET | Interrupt set | Section 9.3.10 |
1048h | ICLR | Interrupt clear | Section 9.3.11 |
1058h | IMASK | Interrupt mask | Section 9.3.12 |
1060h | RIS | Raw interrupt status | Section 9.3.13 |
1068h | MIS | Masked interrupt status | Section 9.3.14 |
1070h | ISET | Interrupt set | Section 9.3.15 |
1078h | ICLR | Interrupt clear | Section 9.3.16 |
1088h | IMASK | Interrupt mask extension | Section 9.3.17 |
1090h | RIS | Raw interrupt status extension | Section 9.3.18 |
1098h | MIS | Masked interrupt status extension | Section 9.3.19 |
10A0h | ISET | Interrupt set extension | Section 9.3.20 |
10A8h | ICLR | Interrupt clear extension | Section 9.3.21 |
1100h | CTL0 | Control Register 0 | Section 9.3.22 |
1104h | CTL1 | Control Register 1 | Section 9.3.23 |
1108h | CTL2 | Control Register 2 | Section 9.3.24 |
110Ch | CTL3 | Control Register 3 | Section 9.3.25 |
1114h | SCOMP0 | Sample Time Compare 0 Register | Section 9.3.26 |
1118h | SCOMP1 | Sample Time Compare 1 Register | Section 9.3.27 |
111Ch | REFCFG | Reference Buffer Configuration Register | Section 9.3.28 |
1148h | WCLOW | Window Comparator Low Threshold Register | Section 9.3.29 |
1150h | WCHIGH | Window Comparator High Threshold Register | Section 9.3.30 |
1160h | FIFODATA | FIFO Data Register | Section 9.3.31 |
1170h | ASCRES | ASC Result Register | Section 9.3.32 |
1180h + formula | MEMCTL_y | Conversion Memory Control Register | Section 9.3.33 |
1280h + formula | MEMRES_y | Memory Result Register | Section 9.3.34 |
1340h | STATUS | Status Register | Section 9.3.35 |
Complex bit access types are encoded to fit into small table cells. Table 9-11 shows the codes that are used for access types in this section.
Access Type | Code | Description |
---|---|---|
Read Type | ||
R | R | Read |
RH | R H | Read Set or cleared by hardware |
Write Type | ||
W | W | Write |
WK | W K | Write Write protected by a key |
Reset or Default Value | ||
-n | Value after reset or the default value | |
Register Array Variables | ||
i,j,k,l,m,n | When these variables are used in a register name, an offset, or an address, they refer to the value of a register array where the register is part of a group of repeating registers. The register groups form a hierarchical structure and the array is represented with a formula. | |
y | When this variable is used in a register name, an offset, or an address it refers to the value of a register array. |
FSUB_0 is shown in Figure 9-5 and described in Table 9-12.
Return to the Table 9-10.
Subscriber port
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||||||||||
R-0h | |||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | CHANID | ||||||||||||||
R-0h | R/W-0h | ||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-4 | RESERVED | R | 0h | |
3-0 | CHANID | R/W | 0h | 0 = disconnected. 1-15 = connected to channelID = CHANID. 0h = A value of 0 specifies that the event is not connected Fh = Consult your device data sheet as the actual allowed maximum may be less than 255. |
FPUB_1 is shown in Figure 9-6 and described in Table 9-13.
Return to the Table 9-10.
Publisher port
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||||||||||
R-0h | |||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | CHANID | ||||||||||||||
R-0h | R/W-0h | ||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-4 | RESERVED | R | 0h | |
3-0 | CHANID | R/W | 0h | 0 = disconnected. 1-15 = connected to channelID = CHANID. 0h = A value of 0 specifies that the event is not connected Fh = Consult your device data sheet as the actual allowed maximum may be less than 255. |
PWREN is shown in Figure 9-7 and described in Table 9-14.
Return to the Table 9-10.
Register to control the power state
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
KEY | |||||||
W-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | ENABLE | ||||||
R-0h | R/WK-0h | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-24 | KEY | W | 0h | KEY to allow Power State Change
26h = KEY to allow write access to this register |
23-1 | RESERVED | R | 0h | |
0 | ENABLE | R/WK | 0h | Enable the power #ADC0_PERIPHERALREGION_ULLMEM_EXT_GPRCM_GPRCM_PWREN_KEY must be set to 26h to write to this bit. 0h = Disable Power 1h = Enable Power |
RSTCTL is shown in Figure 9-8 and described in Table 9-15.
Return to the Table 9-10.
Register to control reset assertion and de-assertion
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
KEY | |||||||
W-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RESETSTKYCLR | RESETASSERT | |||||
R-0h | WK-0h | WK-0h | |||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-24 | KEY | W | 0h | Unlock key
B1h = KEY to allow write access to this register |
23-2 | RESERVED | R | 0h | |
1 | RESETSTKYCLR | WK | 0h | Clear the RESETSTKY bit in the STAT register #ADC0_PERIPHERALREGION_ULLMEM_EXT_GPRCM_GPRCM_RSTCTL_KEY must be set to B1h to write to this bit. 0h = Writing 0 has no effect 1h = Clear reset sticky bit |
0 | RESETASSERT | WK | 0h | Assert reset to the peripheral #ADC0_PERIPHERALREGION_ULLMEM_EXT_GPRCM_GPRCM_RSTCTL_KEY must be set to B1h to write to this bit. 0h = Writing 0 has no effect 1h = Assert reset |
CLKCFG is shown in Figure 9-9 and described in Table 9-16.
Return to the Table 9-10.
ADC clock configuration
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
KEY | |||||||
W-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | CCONSTOP | CCONRUN | RESERVED | SAMPCLK | |||
R-0h | R/W-0h | R/W-0h | R-0h | R/W-0h | |||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-24 | KEY | W | 0h | Unlock key
A9h = KEY to allow write access to this register |
23-6 | RESERVED | R | 0h | |
5 | CCONSTOP | R/W | 0h | CCONSTOP: Forces SYSOSC to run at base frequency when device is in STOP mode which can be used as ADC sample or conversion clock source.
0h = ADC conversion clock source is not kept continuously on during STOP mode. 1h = ADC conversion clock source kept continuously on during STOP mode. |
4 | CCONRUN | R/W | 0h | CCONRUN: Forces SYSOSC to run at base frequency when device is in RUN mode which can be used as ADC sample or conversion clock source.
0h = ADC conversion clock source is not kept continuously on during RUN mode. 1h = ADC conversion clock source kept continuously on during RUN mode. |
3-2 | RESERVED | R | 0h | |
1-0 | SAMPCLK | R/W | 0h | ADC sample clock source selection.
0h = ULPCLK is the source of ADC sample clock. 1h = SYSOSC is the source of ADC sample clock. 2h = HFCLK clock is the source of ADC sample clock. Note : HFCLK may not be available on all the devices. |
STAT is shown in Figure 9-10 and described in Table 9-17.
Return to the Table 9-10.
peripheral enable and reset status
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | RESETSTKY | ||||||
R-0h | R-X | ||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | |||||||
R-0h | |||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-17 | RESERVED | R | 0h | |
16 | RESETSTKY | R | X | This bit indicates, if the peripheral was reset, since this bit was cleared by RESETSTKYCLR in the RSTCTL register
0h = The peripheral has not been reset since this bit was last cleared by RESETSTKYCLR in the RSTCTL register 1h = The peripheral was reset since the last bit clear |
15-0 | RESERVED | R | 0h |
IMASK is shown in Figure 9-11 and described in Table 9-18.
Return to the Table 9-10.
Interrupt Mask. If a bit is set, then corresponding interrupt is unmasked. Unmasking the interrupt causes the raw interrupt to be visible in IIDX, as well as MIS.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | MEMRESIFG3 | MEMRESIFG2 | MEMRESIFG1 | MEMRESIFG0 | |||
R-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | |||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ASCDONE | UVIFG | DMADONE | INIFG | LOWIFG | HIGHIFG | TOVIFG | OVIFG |
R-0h | R/W-0h | R-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-12 | RESERVED | R | 0h | |
11 | MEMRESIFG3 | R/W | 0h | Raw interrupt status for MEMRES3. This bit is set to 1 when MEMRES3 is loaded with a new conversion result. Reading MEMRES3 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
10 | MEMRESIFG2 | R/W | 0h | Raw interrupt status for MEMRES2. This bit is set to 1 when MEMRES2 is loaded with a new conversion result. Reading MEMRES2 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
9 | MEMRESIFG1 | R/W | 0h | Raw interrupt status for MEMRES1. This bit is set to 1 when MEMRES1 is loaded with a new conversion result. Reading MEMRES1 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
8 | MEMRESIFG0 | R/W | 0h | Raw interrupt status for MEMRES0. This bit is set to 1 when MEMRES0 is loaded with a new conversion result. Reading MEMRES0 register will clear this bit, or when the corresponding bit in ICLR is set to 1
0h = No new data ready. 1h = A new data is ready to be read. |
7 | ASCDONE | R | 0h | Mask for ASC done raw interrupt flag
0h = Interrupt is not pending. 1h = Interrupt is pending. |
6 | UVIFG | R/W | 0h | Raw interrupt flag for MEMRESx underflow. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
5 | DMADONE | R | 0h | Raw interrupt flag for DMADONE. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1.
0h = Interrupt is not pending. 1h = Interrupt is pending. |
4 | INIFG | R/W | 0h | Mask INIFG in MIS_EX register.
0h = Interrupt is not pending. 1h = Interrupt is pending. |
3 | LOWIFG | R/W | 0h | Raw interrupt flag for the MEMRESx result register being below than the WCLOWx threshold of the window comparator. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
2 | HIGHIFG | R/W | 0h | Raw interrupt flag for the MEMRESx result register being higher than the WCHIGHx threshold of the window comparator. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
1 | TOVIFG | R/W | 0h | Raw interrupt flag for sequence conversion timeout overflow. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
0 | OVIFG | R/W | 0h | Raw interrupt flag for MEMRESx overflow. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
RIS is shown in Figure 9-12 and described in Table 9-19.
Return to the Table 9-10.
Raw interrupt status. Reflects all pending interrupts, regardless of masking. The RIS register allows the user to implement a poll scheme. A flag set in this register can be cleared by writing 1 to the ICLR register bit even if the corresponding IMASK bit is not enabled.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | MEMRESIFG3 | MEMRESIFG2 | MEMRESIFG1 | MEMRESIFG0 | |||
R-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | |||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ASCDONE | UVIFG | DMADONE | INIFG | LOWIFG | HIGHIFG | TOVIFG | OVIFG |
R-0h | R/W-0h | R-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-12 | RESERVED | R | 0h | |
11 | MEMRESIFG3 | R/W | 0h | Raw interrupt status for MEMRES3. This bit is set to 1 when MEMRES3 is loaded with a new conversion result. Reading MEMRES3 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
10 | MEMRESIFG2 | R/W | 0h | Raw interrupt status for MEMRES2. This bit is set to 1 when MEMRES2 is loaded with a new conversion result. Reading MEMRES2 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
9 | MEMRESIFG1 | R/W | 0h | Raw interrupt status for MEMRES1. This bit is set to 1 when MEMRES1 is loaded with a new conversion result. Reading MEMRES1 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
8 | MEMRESIFG0 | R/W | 0h | Raw interrupt status for MEMRES0. This bit is set to 1 when MEMRES0 is loaded with a new conversion result. Reading MEMRES0 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
7 | ASCDONE | R | 0h | Raw interrupt flag for ASC done
0h = Interrupt is not pending. 1h = Interrupt is pending. |
6 | UVIFG | R/W | 0h | Raw interrupt flag for MEMRESx underflow. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
5 | DMADONE | R | 0h | Raw interrupt flag for DMADONE. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
4 | INIFG | R/W | 0h | Mask INIFG in MIS_EX register.
0h = Interrupt is not pending. 1h = Interrupt is pending. |
3 | LOWIFG | R/W | 0h | Raw interrupt flag for the MEMRESx result register being below than the WCLOWx threshold of the window comparator. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
2 | HIGHIFG | R/W | 0h | Raw interrupt flag for the MEMRESx result register being higher than the WCHIGHx threshold of the window comparator. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
1 | TOVIFG | R/W | 0h | Raw interrupt flag for sequence conversion trigger overflow. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
0 | OVIFG | R/W | 0h | Raw interrupt flag for MEMRESx overflow. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
MIS is shown in Figure 9-13 and described in Table 9-20.
Return to the Table 9-10.
Masked interrupt status. This is an AND of the IMASK and RIS registers.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | MEMRESIFG3 | MEMRESIFG2 | MEMRESIFG1 | MEMRESIFG0 | |||
R-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | |||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ASCDONE | UVIFG | DMADONE | INIFG | LOWIFG | HIGHIFG | TOVIFG | OVIFG |
R-0h | R/W-0h | R-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-12 | RESERVED | R | 0h | |
11 | MEMRESIFG3 | R/W | 0h | Raw interrupt status for MEMRES3. This bit is set to 1 when MEMRES3 is loaded with a new conversion result. Reading MEMRES3 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
10 | MEMRESIFG2 | R/W | 0h | Raw interrupt status for MEMRES2. This bit is set to 1 when MEMRES2 is loaded with a new conversion result. Reading MEMRES2 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
9 | MEMRESIFG1 | R/W | 0h | Raw interrupt status for MEMRES1. This bit is set to 1 when MEMRES1 is loaded with a new conversion result. Reading MEMRES1 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
8 | MEMRESIFG0 | R/W | 0h | Raw interrupt status for MEMRES0. This bit is set to 1 when MEMRES0 is loaded with a new conversion result. Reading MEMRES0 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
7 | ASCDONE | R | 0h | Masked interrupt status for ASC done
0h = Interrupt is not pending. 1h = Interrupt is pending. |
6 | UVIFG | R/W | 0h | Raw interrupt flag for MEMRESx underflow. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
5 | DMADONE | R | 0h | Raw interrupt flag for DMADONE. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
4 | INIFG | R/W | 0h | Mask INIFG in MIS_EX register.
0h = Interrupt is not pending. 1h = Interrupt is pending. |
3 | LOWIFG | R/W | 0h | Raw interrupt flag for the MEMRESx result register being below than the WCLOWx threshold of the window comparator. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
2 | HIGHIFG | R/W | 0h | Raw interrupt flag for the MEMRESx result register being higher than the WCHIGHx threshold of the window comparator. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
1 | TOVIFG | R/W | 0h | Raw interrupt flag for sequence conversion timeout overflow. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
0 | OVIFG | R/W | 0h | Raw interrupt flag for MEMRESx overflow. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
ISET is shown in Figure 9-14 and described in Table 9-21.
Return to the Table 9-10.
Interrupt set. Allows interrupts to be set by software (useful in diagnostics and safety checks). Writing a 1 to a bit in ISET will set the event and therefore the related RIS bit also gets set. If the interrupt is enabled through the mask, then the corresponding MIS bit is also set.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | MEMRESIFG3 | MEMRESIFG2 | MEMRESIFG1 | MEMRESIFG0 | |||
R-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | |||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ASCDONE | UVIFG | DMADONE | INIFG | LOWIFG | HIGHIFG | TOVIFG | OVIFG |
R-0h | R/W-0h | R-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-12 | RESERVED | R | 0h | |
11 | MEMRESIFG3 | R/W | 0h | Raw interrupt status for MEMRES3. This bit is set to 1 when MEMRES3 is loaded with a new conversion result. Reading MEMRES3 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
10 | MEMRESIFG2 | R/W | 0h | Raw interrupt status for MEMRES2. This bit is set to 1 when MEMRES2 is loaded with a new conversion result. Reading MEMRES2 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
9 | MEMRESIFG1 | R/W | 0h | Raw interrupt status for MEMRES1. This bit is set to 1 when MEMRES1 is loaded with a new conversion result. Reading MEMRES1 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
8 | MEMRESIFG0 | R/W | 0h | Raw interrupt status for MEMRES0. This bit is set to 1 when MEMRES0 is loaded with a new conversion result. Reading MEMRES0 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
7 | ASCDONE | R | 0h | Set ASC done flag in RIS
0h = Interrupt is not pending. 1h = Interrupt is pending. |
6 | UVIFG | R/W | 0h | Raw interrupt flag for MEMRESx underflow. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
5 | DMADONE | R | 0h | Raw interrupt flag for DMADONE. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
4 | INIFG | R/W | 0h | Mask INIFG in MIS_EX register.
0h = Interrupt is not pending. 1h = Interrupt is pending. |
3 | LOWIFG | R/W | 0h | Raw interrupt flag for the MEMRESx result register being below than the WCLOWx threshold of the window comparator. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
2 | HIGHIFG | R/W | 0h | Raw interrupt flag for the MEMRESx result register being higher than the WCHIGHx threshold of the window comparator. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
1 | TOVIFG | R/W | 0h | Raw interrupt flag for sequence conversion timeout overflow. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
0 | OVIFG | R/W | 0h | Raw interrupt flag for MEMRESx overflow. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
ICLR is shown in Figure 9-15 and described in Table 9-22.
Return to the Table 9-10.
Interrupt clear. Write a 1 to clear corresponding Interrupt.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | MEMRESIFG3 | MEMRESIFG2 | MEMRESIFG1 | MEMRESIFG0 | |||
R-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | |||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ASCDONE | UVIFG | DMADONE | INIFG | LOWIFG | HIGHIFG | TOVIFG | OVIFG |
R-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-12 | RESERVED | R | 0h | |
11 | MEMRESIFG3 | R/W | 0h | Raw interrupt status for MEMRES3. This bit is set to 1 when MEMRES3 is loaded with a new conversion result. Reading MEMRES3 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
10 | MEMRESIFG2 | R/W | 0h | Raw interrupt status for MEMRES2. This bit is set to 1 when MEMRES2 is loaded with a new conversion result. Reading MEMRES2 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
9 | MEMRESIFG1 | R/W | 0h | Raw interrupt status for MEMRES1. This bit is set to 1 when MEMRES1 is loaded with a new conversion result. Reading MEMRES1 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
8 | MEMRESIFG0 | R/W | 0h | Raw interrupt status for MEMRES0. This bit is set to 1 when MEMRES0 is loaded with a new conversion result. Reading MEMRES0 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
7 | ASCDONE | R | 0h | Clear ASC done flag in RIS
0h = Interrupt is not pending. 1h = Interrupt is pending. |
6 | UVIFG | R/W | 0h | Raw interrupt flag for MEMRESx underflow. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
5 | DMADONE | R/W | 0h | Raw interrupt flag for DMADONE. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
4 | INIFG | R/W | 0h | Mask INIFG in MIS_EX register.
0h = Interrupt is not pending. 1h = Interrupt is pending. |
3 | LOWIFG | R/W | 0h | Raw interrupt flag for the MEMRESx result register being below than the WCLOWx threshold of the window comparator. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
2 | HIGHIFG | R/W | 0h | Raw interrupt flag for the MEMRESx result register being higher than the WCHIGHx threshold of the window comparator. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
1 | TOVIFG | R/W | 0h | Raw interrupt flag for sequence conversion timeout overflow. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
0 | OVIFG | R/W | 0h | Raw interrupt flag for MEMRESx overflow. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
IMASK is shown in Figure 9-16 and described in Table 9-23.
Return to the Table 9-10.
Interrupt Mask. If a bit is set, then corresponding interrupt is unmasked. Unmasking the interrupt causes the raw interrupt to be visible in IIDX, as well as MIS.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | MEMRESIFG0 | ||||||
R-0h | R/W-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | INIFG | LOWIFG | HIGHIFG | RESERVED | |||
R-0h | R/W-0h | R/W-0h | R/W-0h | R-0h | |||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-9 | RESERVED | R | 0h | |
8 | MEMRESIFG0 | R/W | 0h | Raw interrupt status for MEMRES0. This bit is set to 1 when MEMRES0 is loaded with a new conversion result. Reading MEMRES0 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
7-5 | RESERVED | R | 0h | |
4 | INIFG | R/W | 0h | Mask INIFG in MIS_EX register.
0h = Interrupt is not pending. 1h = Interrupt is pending. |
3 | LOWIFG | R/W | 0h | Raw interrupt flag for the MEMRESx result register being below than the WCLOWx threshold of the window comparator. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
2 | HIGHIFG | R/W | 0h | Raw interrupt flag for the MEMRESx result register being higher than the WCHIGHx threshold of the window comparator. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
1-0 | RESERVED | R | 0h |
RIS is shown in Figure 9-17 and described in Table 9-24.
Return to the Table 9-10.
Raw interrupt status. Reflects all pending interrupts, regardless of masking. The RIS register allows the user to implement a poll scheme. A flag set in this register can be cleared by writing 1 to the ICLR register bit even if the corresponding IMASK bit is not enabled.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | MEMRESIFG0 | ||||||
R-0h | R/W-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | INIFG | LOWIFG | HIGHIFG | RESERVED | |||
R-0h | R/W-0h | R/W-0h | R/W-0h | R-0h | |||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-9 | RESERVED | R | 0h | |
8 | MEMRESIFG0 | R/W | 0h | Raw interrupt status for MEMRES0. This bit is set to 1 when MEMRES0 is loaded with a new conversion result. Reading MEMRES0 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
7-5 | RESERVED | R | 0h | |
4 | INIFG | R/W | 0h | Mask INIFG in MIS_EX register.
0h = Interrupt is not pending. 1h = Interrupt is pending. |
3 | LOWIFG | R/W | 0h | Raw interrupt flag for the MEMRESx result register being below than the WCLOWx threshold of the window comparator. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
2 | HIGHIFG | R/W | 0h | Raw interrupt flag for the MEMRESx result register being higher than the WCHIGHx threshold of the window comparator. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
1-0 | RESERVED | R | 0h |
MIS is shown in Figure 9-18 and described in Table 9-25.
Return to the Table 9-10.
Masked interrupt status. This is an AND of the IMASK and RIS registers.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | MEMRESIFG0 | ||||||
R-0h | R/W-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | INIFG | LOWIFG | HIGHIFG | RESERVED | |||
R-0h | R/W-0h | R/W-0h | R/W-0h | R-0h | |||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-9 | RESERVED | R | 0h | |
8 | MEMRESIFG0 | R/W | 0h | Raw interrupt status for MEMRES0. This bit is set to 1 when MEMRES0 is loaded with a new conversion result. Reading MEMRES0 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
7-5 | RESERVED | R | 0h | |
4 | INIFG | R/W | 0h | Mask INIFG in MIS_EX register.
0h = Interrupt is not pending. 1h = Interrupt is pending. |
3 | LOWIFG | R/W | 0h | Raw interrupt flag for the MEMRESx result register being below than the WCLOWx threshold of the window comparator. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
2 | HIGHIFG | R/W | 0h | Raw interrupt flag for the MEMRESx result register being higher than the WCHIGHx threshold of the window comparator. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
1-0 | RESERVED | R | 0h |
ISET is shown in Figure 9-19 and described in Table 9-26.
Return to the Table 9-10.
Interrupt set. Allows interrupts to be set by software (useful in diagnostics and safety checks). Writing a 1 to a bit in ISET will set the event and therefore the related RIS bit also gets set. If the interrupt is enabled through the mask, then the corresponding MIS bit is also set.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | MEMRESIFG0 | ||||||
R-0h | R/W-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | INIFG | LOWIFG | HIGHIFG | RESERVED | |||
R-0h | R/W-0h | R/W-0h | R/W-0h | R-0h | |||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-9 | RESERVED | R | 0h | |
8 | MEMRESIFG0 | R/W | 0h | Raw interrupt status for MEMRES0. This bit is set to 1 when MEMRES0 is loaded with a new conversion result. Reading MEMRES0 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
7-5 | RESERVED | R | 0h | |
4 | INIFG | R/W | 0h | Mask INIFG in MIS_EX register.
0h = Interrupt is not pending. 1h = Interrupt is pending. |
3 | LOWIFG | R/W | 0h | Raw interrupt flag for the MEMRESx result register being below than the WCLOWx threshold of the window comparator. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
2 | HIGHIFG | R/W | 0h | Raw interrupt flag for the MEMRESx result register being higher than the WCHIGHx threshold of the window comparator. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
1-0 | RESERVED | R | 0h |
ICLR is shown in Figure 9-20 and described in Table 9-27.
Return to the Table 9-10.
Interrupt clear. Write a 1 to clear corresponding Interrupt.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | MEMRESIFG0 | ||||||
R-0h | R/W-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | INIFG | LOWIFG | HIGHIFG | RESERVED | |||
R-0h | R/W-0h | R/W-0h | R/W-0h | R-0h | |||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-9 | RESERVED | R | 0h | |
8 | MEMRESIFG0 | R/W | 0h | Raw interrupt status for MEMRES0. This bit is set to 1 when MEMRES0 is loaded with a new conversion result. Reading MEMRES0 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
7-5 | RESERVED | R | 0h | |
4 | INIFG | R/W | 0h | Mask INIFG in MIS_EX register.
0h = Interrupt is not pending. 1h = Interrupt is pending. |
3 | LOWIFG | R/W | 0h | Raw interrupt flag for the MEMRESx result register being below than the WCLOWx threshold of the window comparator. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
2 | HIGHIFG | R/W | 0h | Raw interrupt flag for the MEMRESx result register being higher than the WCHIGHx threshold of the window comparator. This bit is reset to 0 by IIDX read or when corresponding bit in ICLR_EX is set to 1. 0h = Interrupt is not pending. 1h = Interrupt is pending. |
1-0 | RESERVED | R | 0h |
IMASK is shown in Figure 9-21 and described in Table 9-28.
Return to the Table 9-10.
Interrupt Mask. If a bit is set, then corresponding interrupt is unmasked. Unmasking the interrupt causes the raw interrupt to be visible in IIDX, as well as MIS.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | MEMRESIFG3 | MEMRESIFG2 | MEMRESIFG1 | MEMRESIFG0 | |||
R-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | |||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | |||||||
R-0h | |||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-12 | RESERVED | R | 0h | |
11 | MEMRESIFG3 | R/W | 0h | Raw interrupt status for MEMRES3. This bit is set to 1 when MEMRES3 is loaded with a new conversion result. Reading MEMRES3 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
10 | MEMRESIFG2 | R/W | 0h | Raw interrupt status for MEMRES2. This bit is set to 1 when MEMRES2 is loaded with a new conversion result. Reading MEMRES2 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
9 | MEMRESIFG1 | R/W | 0h | Raw interrupt status for MEMRES1. This bit is set to 1 when MEMRES1 is loaded with a new conversion result. Reading MEMRES1 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
8 | MEMRESIFG0 | R/W | 0h | Raw interrupt status for MEMRES0. This bit is set to 1 when MEMRES0 is loaded with a new conversion result. Reading MEMRES0 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
7-0 | RESERVED | R | 0h |
RIS is shown in Figure 9-22 and described in Table 9-29.
Return to the Table 9-10.
Raw interrupt status. Reflects all pending interrupts, regardless of masking. The RIS register allows the user to implement a poll scheme. A flag set in this register can be cleared by writing 1 to the ICLR register bit even if the corresponding IMASK bit is not enabled.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | MEMRESIFG3 | MEMRESIFG2 | MEMRESIFG1 | MEMRESIFG0 | |||
R-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | |||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | |||||||
R-0h | |||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-12 | RESERVED | R | 0h | |
11 | MEMRESIFG3 | R/W | 0h | Raw interrupt status for MEMRES3. This bit is set to 1 when MEMRES3 is loaded with a new conversion result. Reading MEMRES3 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
10 | MEMRESIFG2 | R/W | 0h | Raw interrupt status for MEMRES2. This bit is set to 1 when MEMRES2 is loaded with a new conversion result. Reading MEMRES2 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
9 | MEMRESIFG1 | R/W | 0h | Raw interrupt status for MEMRES1. This bit is set to 1 when MEMRES1 is loaded with a new conversion result. Reading MEMRES1 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
8 | MEMRESIFG0 | R/W | 0h | Raw interrupt status for MEMRES0. This bit is set to 1 when MEMRES0 is loaded with a new conversion result. Reading MEMRES0 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
7-0 | RESERVED | R | 0h |
MIS is shown in Figure 9-23 and described in Table 9-30.
Return to the Table 9-10.
Extension of Masked interrupt status. This is an AND of the IMASK and RIS registers.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | MEMRESIFG3 | MEMRESIFG2 | MEMRESIFG1 | MEMRESIFG0 | |||
R-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | |||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | |||||||
R-0h | |||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-12 | RESERVED | R | 0h | |
11 | MEMRESIFG3 | R/W | 0h | Raw interrupt status for MEMRES3. This bit is set to 1 when MEMRES3 is loaded with a new conversion result. Reading MEMRES3 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
10 | MEMRESIFG2 | R/W | 0h | Raw interrupt status for MEMRES2. This bit is set to 1 when MEMRES2 is loaded with a new conversion result. Reading MEMRES2 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
9 | MEMRESIFG1 | R/W | 0h | Raw interrupt status for MEMRES1. This bit is set to 1 when MEMRES1 is loaded with a new conversion result. Reading MEMRES1 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
8 | MEMRESIFG0 | R/W | 0h | Raw interrupt status for MEMRES0. This bit is set to 1 when MEMRES0 is loaded with a new conversion result. Reading MEMRES0 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
7-0 | RESERVED | R | 0h |
ISET is shown in Figure 9-24 and described in Table 9-31.
Return to the Table 9-10.
Interrupt set. Allows interrupts to be set by software (useful in diagnostics and safety checks). Writing a 1 to a bit in ISET will set the event and therefore the related RIS bit also gets set. If the interrupt is enabled through the mask, then the corresponding MIS bit is also set.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | MEMRESIFG3 | MEMRESIFG2 | MEMRESIFG1 | MEMRESIFG0 | |||
R-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | |||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | |||||||
R-0h | |||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-12 | RESERVED | R | 0h | |
11 | MEMRESIFG3 | R/W | 0h | Raw interrupt status for MEMRES3. This bit is set to 1 when MEMRES3 is loaded with a new conversion result. Reading MEMRES3 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
10 | MEMRESIFG2 | R/W | 0h | Raw interrupt status for MEMRES2. This bit is set to 1 when MEMRES2 is loaded with a new conversion result. Reading MEMRES2 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
9 | MEMRESIFG1 | R/W | 0h | Raw interrupt status for MEMRES1. This bit is set to 1 when MEMRES1 is loaded with a new conversion result. Reading MEMRES1 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
8 | MEMRESIFG0 | R/W | 0h | Raw interrupt status for MEMRES0. This bit is set to 1 when MEMRES0 is loaded with a new conversion result. Reading MEMRES0 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
7-0 | RESERVED | R | 0h |
ICLR is shown in Figure 9-25 and described in Table 9-32.
Return to the Table 9-10.
Interrupt clear. Write a 1 to clear corresponding Interrupt.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | MEMRESIFG3 | MEMRESIFG2 | MEMRESIFG1 | MEMRESIFG0 | |||
R-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | |||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | |||||||
R-0h | |||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-12 | RESERVED | R | 0h | |
11 | MEMRESIFG3 | R/W | 0h | Raw interrupt status for MEMRES3. This bit is set to 1 when MEMRES3 is loaded with a new conversion result. Reading MEMRES3 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
10 | MEMRESIFG2 | R/W | 0h | Raw interrupt status for MEMRES2. This bit is set to 1 when MEMRES2 is loaded with a new conversion result. Reading MEMRES2 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
9 | MEMRESIFG1 | R/W | 0h | Raw interrupt status for MEMRES1. This bit is set to 1 when MEMRES1 is loaded with a new conversion result. Reading MEMRES1 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
8 | MEMRESIFG0 | R/W | 0h | Raw interrupt status for MEMRES0. This bit is set to 1 when MEMRES0 is loaded with a new conversion result. Reading MEMRES0 register will clear this bit, or when the corresponding bit in ICLR is set to 1 0h = No new data ready. 1h = A new data is ready to be read. |
7-0 | RESERVED | R | 0h |
CTL0 is shown in Figure 9-26 and described in Table 9-33.
Return to the Table 9-10.
Control Register 0
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | SCLKDIV | ||||||
R-0h | R/W-0h | ||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | PWRDN | ||||||
R-0h | R/W-0h | ||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | ENC | ||||||
R-0h | RH/W-0h | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-27 | RESERVED | R | 0h | |
26-24 | SCLKDIV | R/W | 0h | Sample clock divider
0h = Do not divide clock source 1h = Divide clock source by 2 2h = Divide clock source by 4 3h = Divide clock source by 8 4h = Divide clock source by 16 5h = Divide clock source by 24 6h = Divide clock source by 32 7h = Divide clock source by 48 |
23-17 | RESERVED | R | 0h | |
16 | PWRDN | R/W | 0h | Power down policy
0h = ADC is powered down on completion of a conversion if there is no pending trigger 1h = ADC remains powered on as long as it is enabled through software. |
15-1 | RESERVED | R | 0h | |
0 | ENC | RH/W | 0h | Enable conversion
0h = Conversion disabled. ENC change from ON to OFF will abort single or repeat sequence on a MEMCTLx boundary. The current conversion will finish and result stored in corresponding MEMRESx. 1h = Conversion enabled. ADC sequencer waits for valid trigger (software or hardware). |
CTL1 is shown in Figure 9-27 and described in Table 9-34.
Return to the Table 9-10.
Control Register 1
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | AVGD | RESERVED | AVGN | ||||
R-0h | R/W-0h | R-0h | R/W-0h | ||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | SAMPMODE | RESERVED | CONSEQ | ||||
R-0h | R/W-0h | R-0h | R/W-0h | ||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | SC | ||||||
R-0h | RH/W-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | TRIGSRC | ||||||
R-0h | R/W-0h | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R | 0h | |
30-28 | AVGD | R/W | 0h | Hardware averager denominator. The number to divide the accumulated value by (this is a shift). Note result register is maximum of 16-bits long so if not shifted appropriately result will be truncated.
0h (R/W) = No shift 1h (R/W) = 1 bit shift 2h (R/W) = 2 bit shift 3h (R/W) = 3 bit shift 4h (R/W) = 4 bit shift 5h (R/W) = 5 bit shift 6h (R/W) = 6 bit shift 7h (R/W) = 7 bit shift |
27 | RESERVED | R | 0h | |
26-24 | AVGN | R/W | 0h | Hardware averager numerator. Selects number of conversions to accumulate for current MEMCTLx and then it is divided by AVGD. Result will be stored in MEMRESx.
0h (R/W) = Disables averager 1h (R/W) = Averages 2 conversions before storing in MEMRESx register 2h (R/W) = Averages 4 conversions before storing in MEMRESx register 3h (R/W) = Averages 8 conversions before storing in MEMRESx register 4h (R/W) = Averages 16 conversions before storing in MEMRESx register 5h (R/W) = Averages 32 conversions before storing in MEMRESx register 6h (R/W) = Averages 64 conversions before storing in MEMRESx register 7h (R/W) = Averages 128 conversions before storing in MEMRESx register |
23-21 | RESERVED | R | 0h | |
20 | SAMPMODE | R/W | 0h | Sample mode. This bit selects the source of the sampling signal. MANUAL option is not valid when TRIGSRC is selected as hardware event trigger. 0h = AUTO 1h = MANUAL |
19-18 | RESERVED | R | 0h | |
17-16 | CONSEQ | R/W | 0h | Conversion sequence mode 0h = ADC channel in MEMCTLx pointed by STARTADD will be converted once 1h = ADC channel sequence pointed by STARTADD and ENDADD will be converted once 2h = ADC channel in MEMCTLx pointed by STARTADD will be converted repeatedly 3h = ADC channel sequence pointed by STARTADD and ENDADD will be converted repeatedly |
15-9 | RESERVED | R | 0h | |
8 | SC | RH/W | 0h | Start of conversion 0h = When SAMPMODE is set to MANUAL, clearing this bit will end the sample phase and the conversion phase will start. When SAMPMODE is set to AUTO, writing 0 has no effect. 1h = When SAMPMODE is set to MANUAL, setting this bit will start the sample phase. Sample phase will last as long as this bit is set. When SAMPMODE is set to AUTO, setting this bit will trigger the timer based sample time. |
7-1 | RESERVED | R | 0h | |
0 | TRIGSRC | R/W | 0h | Sample trigger source
0h = Software trigger 1h = Hardware event trigger |
CTL2 is shown in Figure 9-28 and described in Table 9-35.
Return to the Table 9-10.
Control Register 2
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | ENDADD | ||||||
R-0h | R/W-0h | ||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | STARTADD | ||||||
R-0h | R/W-0h | ||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
SAMPCNT | FIFOEN | RESERVED | DMAEN | ||||
R/W-0h | R/W-0h | R-0h | RH/W-0h | ||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RES | DF | |||||
R-0h | R/W-0h | R/W-0h | |||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-29 | RESERVED | R | 0h | |
28-24 | ENDADD | R/W | 0h | Sequence end address. These bits select which MEMCTLx is the last one for the sequence mode. The value of ENDADD is 0x00 to 0x17, corresponding to MEMRES0 to MEMRES23. 00h = MEMCTL0 is selected as end address of sequence. 01h = MEMCTL1 is selected as end address of sequence. 02h = MEMCTL2 is selected as end address of sequence. 03h = MEMCTL3 is selected as end address of sequence. |
23-21 | RESERVED | R | 0h | |
20-16 | STARTADD | R/W | 0h | Sequencer start address. These bits select which MEMCTLx is used for single conversion or as first MEMCTL for sequence mode. The value of STARTADD is 0x00 to 0x17, corresponding to MEMRES0 to MEMRES23. 00h = MEMCTL0 is selected as start address of a sequence or for a single conversion. 01h = MEMCTL1 is selected as start address of a sequence or for a single conversion. 02h = MEMCTL2 is selected as start address of a sequence or for a single conversion. 03h = MEMCTL3 is selected as start address of a sequence or for a single conversion. |
15-11 | SAMPCNT | R/W | 0h | Number of ADC converted samples to be transferred on a DMA trigger
0h = Minimum value 18h = Maximum value |
10 | FIFOEN | R/W | 0h | Enable FIFO based operation
0h = Disable 1h = Enable |
9 | RESERVED | R | 0h | |
8 | DMAEN | RH/W | 0h | Enable DMA trigger for data transfer. Note: DMAEN bit is cleared by hardware based on DMA done signal at the end of data transfer. Software has to re-enable DMAEN bit for ADC to generate DMA triggers. 0h (R/W) = DMA trigger not enabled 1h (R/W) = DMA trigger enabled |
7-3 | RESERVED | R | 0h | |
2-1 | RES | R/W | 0h | Resolution. These bits define the resolution of ADC conversion result. Note : A value of 3 defaults to 12-bits resolution. 0h = 12-bits resolution 1h = 10-bits resolution 2h = 8-bits resolution |
0 | DF | R/W | 0h | Data read-back format. Data is always stored in binary unsigned format.
0h = Digital result reads as Binary Unsigned. 1h = Digital result reads Signed Binary. (2s complement), left aligned. |
CTL3 is shown in Figure 9-29 and described in Table 9-36.
Return to the Table 9-10.
Control Register 3. This register is used to configure ADC for ad-hoc single conversion.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | ASCVRSEL | RESERVED | ASCSTIME | ||||
R-0h | R/W-0h | R-0h | R/W-0h | ||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | ASCCHSEL | ||||||
R-0h | R/W-0h | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-14 | RESERVED | R | 0h | |
13-12 | ASCVRSEL | R/W | 0h | Selects voltage reference for ASC operation. VEREFM must be connected to on-board ground when external reference option is selected. Note: Writing value 0x3 defaults to INTREF. 0h = VDDA reference. 1h = EXTREF pin reference. 2h = Internal reference. |
11-9 | RESERVED | R | 0h | |
8 | ASCSTIME | R/W | 0h | ASC sample time compare value select. This is used to select between SCOMP0 and SCOMP1 registers for ASC operation.
0h = Select SCOMP0 1h = Select SCOMP1 |
7-5 | RESERVED | R | 0h | |
4-0 | ASCCHSEL | R/W | 0h | ASC channel select
00h = Selects channel 0 01h = Selects channel 1 02h = Selects channel 2 03h = Selects channel 3 04h = Selects channel 4 05h = Selects channel 5 06h = Selects channel 6 07h = Selects channel 7 08h = Selects channel 8 09h = Selects channel 9 0Ah = Selects channel 10 0Bh = Selects channel 11 0Ch = Selects channel 12 0Dh = Selects channel 13 0Eh = Selects channel 14 0Fh = Selects channel 15 10h = Selects channel 16 11h = Selects channel 17 12h = Selects channel 18 13h = Selects channel 19 14h = Selects channel 20 15h = Selects channel 21 16h = Selects channel 22 17h = Selects channel 23 18h = Selects channel 24 19h = Selects channel 25 1Ah = Selects channel 26 1Bh = Selects channel 27 1Ch = Selects channel 28 1Dh = Selects channel 29 1Eh = Selects channel 30 1Fh = Selects channel 31 |
SCOMP0 is shown in Figure 9-30 and described in Table 9-37.
Return to the Table 9-10.
Sample time compare 0 register. Specifies the sample time, in number of ADC sample clock cycles. CTL0.ENC must be 0 to write to this register.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | VAL | ||||||||||||||||||||||||||||||
R-0h | R/W-0h | ||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-10 | RESERVED | R | 0h | |
9-0 | VAL | R/W | 0h | Specifies the number of sample clocks. When VAL = 0 or 1, number of sample clocks = Sample clock divide value. When VAL > 1, number of sample clocks = VAL x Sample clock divide value. Note: Sample clock divide value is not the value written to SCLKDIV but the actual divide value (SCLKDIV = 2 implies divide value is 4). Example: VAL = 4, SCLKDIV = 3 implies 32 sample clock cycles. |
SCOMP1 is shown in Figure 9-31 and described in Table 9-38.
Return to the Table 9-10.
Sample time compare 1 register. Specifies the sample time, in number of ADC sample clock cycles. CTL0.ENC must be 0 to write to this register.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | VAL | ||||||||||||||||||||||||||||||
R-0h | R/W-0h | ||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-10 | RESERVED | R | 0h | |
9-0 | VAL | R/W | 0h | Specifies the number of sample clocks. When VAL = 0 or 1, number of sample clocks = Sample clock divide value. When VAL > 1, number of sample clocks = VAL x Sample clock divide value. Note: Sample clock divide value is not the value written to SCLKDIV but the actual divide value (SCLKDIV = 2 implies divide value is 4). Example: VAL = 4, SCLKDIV = 3 implies 32 sample clock cycles. |
REFCFG is shown in Figure 9-32 and described in Table 9-39.
Return to the Table 9-10.
Reference buffer configuration register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | IBPROG | RESERVED | REFVSEL | REFEN | |||
R-0h | R/W-0h | R-0h | R/W-0h | R/W-0h | |||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-5 | RESERVED | R | 0h | |
4-3 | IBPROG | R/W | 0h | Configures reference buffer bias current output value
0h = 1uA 1h = 0.5uA 2h = 2uA 3h = 0.67uA |
2 | RESERVED | R | 0h | |
1 | REFVSEL | R/W | 0h | Configures reference buffer output voltage
0h = Reference buffer generates 2.5V output 1h = Reference buffer generates 1.4V output |
0 | REFEN | R/W | 0h | Reference buffer enable
0h = Disable 1h = Enable |
WCLOW is shown in Figure 9-33 and described in Table 9-40.
Return to the Table 9-10.
Window Comparator Low Threshold Register.
The data format that is used to write and read WCLOW depends on the value of DF bit in CTL2 register.
CTL0.ENC must be 0 to write to this register.
Note: Change in ADC data format or resolution does not reset WCLOW.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | DATA | ||||||||||||||||||||||||||||||
R-0h | R/W-0h | ||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | |
15-0 | DATA | R/W | 0h | If DF = 0, unsigned binary format has to be used. The value based on the resolution has to be right aligned with the MSB on the left. For 10-bits and 8-bits resolution, unused bits have to be 0s. If DF = 1, 2s-complement format has to be used. The value based on the resolution has to be left aligned with the LSB on the right. For 10-bits and 8-bits resolution, unused bits have to be 0s. |
WCHIGH is shown in Figure 9-34 and described in Table 9-41.
Return to the Table 9-10.
Window Comparator High Threshold Register.
The data format that is used to write and read WCHIGH depends on the value of DF bit in CTL2 register.
CTL0.ENC must be 0 to write to this register.
Note: Change in ADC data format or resolution does not reset WCHIGH.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | DATA | ||||||||||||||||||||||||||||||
R-0h | R/W-0h | ||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | |
15-0 | DATA | R/W | 0h | If DF = 0, unsigned binary format has to be used. The threshold value has to be right aligned, with the MSB on the left. For 10-bits and 8-bits resolution, unused bit have to be 0s. If DF = 1, 2s-complement format has to be used. The value based on the resolution has to be left aligned with the LSB on the right. For 10-bits and 8-bits resolution, unused bit have to be 0s. |
FIFODATA is shown in Figure 9-35 and described in Table 9-42.
Return to the Table 9-10.
FIFO data register. This is a virtual register used to do read from FIFO.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DATA | |||||||||||||||||||||||||||||||
R/W-0h | |||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-0 | DATA | R/W | 0h | Read from this data field returns the ADC sample from FIFO. |
ASCRES is shown in Figure 9-36 and described in Table 9-43.
Return to the Table 9-10.
ASC result register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | DATA | ||||||||||||||||||||||||||||||
R-0h | R-0h | ||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | |
15-0 | DATA | R | 0h | Result of ADC ad-hoc single conversion. If DF = 0, unsigned binary: The conversion result is right aligned. In 10 and 8 bit modes, the unused MSB bits are forced to 0. If DF = 1, 2s-complement format: The conversion result is left aligned. In 10 and 8 bit modes, the unused LSB bits are forced to 0. The data is stored in the right-justified format and is converted to the left-justified 2s-complement format during read back. |
MEMCTL_y is shown in Figure 9-37 and described in Table 9-44.
Return to the Table 9-10.
Conversion Memory Control Register.
CTL0.ENC must be 0 to write to this register.
Offset = 1180h + (y * 4h); where y = 0h to 17h
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | WINCOMP | RESERVED | TRIG | ||||
R-0h | R/W-0h | R-0h | R/W-0h | ||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | BCSEN | RESERVED | AVGEN | ||||
R-0h | R/W-0h | R-0h | R/W-0h | ||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | STIME | RESERVED | VRSEL | ||||
R-0h | R/W-0h | R-0h | R/W-0h | ||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | CHANSEL | ||||||
R-0h | R/W-0h | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-29 | RESERVED | R | 0h | |
28 | WINCOMP | R/W | 0h | Enable window comparator.
0h = Disable 1h = Enable |
27-25 | RESERVED | R | 0h | |
24 | TRIG | R/W | 0h | Trigger policy. Indicates if a trigger will be needed to step to the next MEMCTL in the sequence or to perform next conversion in the case of repeat single channel conversions.
0h = Next conversion is automatic 1h = Next conversion requires a trigger |
23-21 | RESERVED | R | 0h | |
20 | BCSEN | R/W | 0h | Enable burn out current source.
0h = Disable 1h = Enable |
19-17 | RESERVED | R | 0h | |
16 | AVGEN | R/W | 0h | Enable hardware averaging.
0h (R/W) = Averaging disabled. 1h = Averaging enabled. |
15-13 | RESERVED | R | 0h | |
12 | STIME | R/W | 0h | Selects the source of sample timer period between SCOMP0 and SCOMP1.
0h = Select SCOMP0 1h = Select SCOMP1 |
11-10 | RESERVED | R | 0h | |
9-8 | VRSEL | R/W | 0h | Voltage reference selection. VEREFM must be connected to on-board ground when external reference option is selected. Note: Writing value 0x3 defaults to INTREF. 0h = VDDA reference 1h = External reference from pin 2h = Internal reference |
7-5 | RESERVED | R | 0h | |
4-0 | CHANSEL | R/W | 0h | Input channel select.
00h = Selects channel 0 01h = Selects channel 1 02h = Selects channel 2 03h = Selects channel 3 04h = Selects channel 4 05h = Selects channel 5 06h = Selects channel 6 07h = Selects channel 7 08h = Selects channel 8 09h = Selects channel 9 0Ah = Selects channel 10 0Bh = Selects channel 11 0Ch = Selects channel 12 0Dh = Selects channel 13 0Eh = Selects channel 14 0Fh = Selects channel 15 10h = Selects channel 16 11h = Selects channel 17 12h = Selects channel 18 13h = Selects channel 19 14h = Selects channel 20 15h = Selects channel 21 16h = Selects channel 22 17h = Selects channel 23 18h = Selects channel 24 19h = Selects channel 25 1Ah = Selects channel 26 1Bh = Selects channel 27 1Ch = Selects channel 28 1Dh = Selects channel 29 1Eh = Selects channel 30 1Fh = Selects channel 31 |
MEMRES_y is shown in Figure 9-38 and described in Table 9-45.
Return to the Table 9-10.
Memory Result Register
Offset = 1280h + (y * 4h); where y = 0h to 17h
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | DATA | ||||||||||||||||||||||||||||||
R-0h | R-0h | ||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | |
15-0 | DATA | R | 0h | MEMRES result register. If DF = 0, unsigned binary: The conversion results are right aligned. In 10 and 8 bit modes, the unused MSB bits are forced to 0. If DF = 1, 2s-complement format: The conversion results are left aligned. In 10 and 8 bit modes, the unused LSB bits are forced to 0. The data is stored in the right-justified format and is converted to the left-justified 2s-complement format during read back. |
STATUS is shown in Figure 9-39 and described in Table 9-46.
Return to the Table 9-10.
Status Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | ASCACT | REFBUFRDY | BUSY | ||||
R-0h | R-0h | R-0h | R-0h | ||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-3 | RESERVED | R | 0h | |
2 | ASCACT | R | 0h | ASC active
0h = Idle or done 1h = ASC active |
1 | REFBUFRDY | R | 0h | Indicates reference buffer is powered up and ready.
0h = Not ready 1h = Ready |
0 | BUSY | R | 0h | Busy. This bit indicates that an active ADC sample or conversion operation is in progress.
0h = No ADC sampling or conversion in progress. 1h = ADC sampling or conversion is in progress. |