Analog

ADC 0x40012400

16 rejestrów/klastrów w tym peryferium.

Rejestr: ISR:  0x40012400

ADC interrupt and status register

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: zarezerwowanyBit 26: zarezerwowanyBit 25: zarezerwowanyBit 24: zarezerwowany24Bit 23: zarezerwowanyBit 22: zarezerwowanyBit 21: zarezerwowanyBit 20: zarezerwowany20Bit 19: zarezerwowanyBit 18: zarezerwowanyBit 17: zarezerwowanyBit 16: zarezerwowany16Bit 15: zarezerwowanyBit 14: zarezerwowanyBit 13: CCRDYBit 12: zarezerwowany12Bit 11: EOCALBit 10: zarezerwowanyBit 9: AWD3Bit 8: AWD28Bit 7: AWD1Bit 6: zarezerwowanyBit 5: zarezerwowanyBit 4: OVR4Bit 3: EOSBit 2: EOCBit 1: EOSMPBit 0: ADRDY0
BitSzer.PoleDostępOpis
01ADRDY`rw`ADC ready This bit is set by hardware after the ADC has been enabled (ADEN=1) and when the ADC reaches a state where it is ready to accept conversion requests. It is cleared by software writing 1 to it.
11EOSMP`rw`End of sampling flag This bit is set by hardware during the conversion, at the end of the sampling phase.It is cleared by software by programming it to '1'.
21EOC`rw`End of conversion flag This bit is set by hardware at the end of each conversion of a channel when a new data result is available in the ADC_DR register. It is cleared by software writing 1 to it or by reading the ADC_DR register.
31EOS`rw`End of sequence flag This bit is set by hardware at the end of the conversion of a sequence of channels selected by the CHSEL bits. It is cleared by software writing 1 to it.
41OVR`rw`ADC overrun This bit is set by hardware when an overrun occurs, meaning that a new conversion has complete while the EOC flag was already set. It is cleared by software writing 1 to it.
71AWD1`rw`Analog watchdog 1 flag
81AWD2`rw`Analog watchdog 2 flag
91AWD3`rw`Analog watchdog 3 flag
111EOCAL`rw`End Of Calibration flag This bit is set by hardware when calibration is complete. It is cleared by software writing 1 to it.
131CCRDY`rw`Channel Configuration Ready flag This flag bit is set by hardware when the channel configuration is applied after programming to ADC_CHSELR register or changing CHSELRMOD or SCANDIR. It is cleared by software by programming it to it. Note: When the software configures the channels (by programming ADC_CHSELR or changing CHSELRMOD or SCANDIR), it must wait until the CCRDY flag rises before configuring again or starting conversions, otherwise the new configuration (or the START bit) is ignored. Once the flag is asserted, if the software needs to configure again the channels, it must clear the CCRDY flag before proceeding with a new configuration.
Rejestr: IER:  0x40012404

ADC interrupt enable register

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: zarezerwowanyBit 26: zarezerwowanyBit 25: zarezerwowanyBit 24: zarezerwowany24Bit 23: zarezerwowanyBit 22: zarezerwowanyBit 21: zarezerwowanyBit 20: zarezerwowany20Bit 19: zarezerwowanyBit 18: zarezerwowanyBit 17: zarezerwowanyBit 16: zarezerwowany16Bit 15: zarezerwowanyBit 14: zarezerwowanyBit 13: CCRDYIEBit 12: zarezerwowany12Bit 11: EOCALIEBit 10: zarezerwowanyBit 9: AWD3IEBit 8: AWD2IE8Bit 7: AWD1IEBit 6: zarezerwowanyBit 5: zarezerwowanyBit 4: OVRIE4Bit 3: EOSIEBit 2: EOCIEBit 1: EOSMPIEBit 0: ADRDYIE0
BitSzer.PoleDostępOpis
01ADRDYIE`rw`ADC ready interrupt enable This bit is set and cleared by software to enable/disable the ADC Ready interrupt. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing).
11EOSMPIE`rw`End of sampling flag interrupt enable This bit is set and cleared by software to enable/disable the end of the sampling phase interrupt. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing).
21EOCIE`rw`End of conversion interrupt enable This bit is set and cleared by software to enable/disable the end of conversion interrupt. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing).
31EOSIE`rw`End of conversion sequence interrupt enable This bit is set and cleared by software to enable/disable the end of sequence of conversions interrupt. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing).
41OVRIE`rw`Overrun interrupt enable This bit is set and cleared by software to enable/disable the overrun interrupt. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing).
71AWD1IE`rw`Analog watchdog 1 interrupt enable
81AWD2IE`rw`Analog watchdog 2 interrupt enable
91AWD3IE`rw`Analog watchdog 3 interrupt enable
111EOCALIE`rw`End of calibration interrupt enable This bit is set and cleared by software to enable/disable the end of calibration interrupt. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing).
131CCRDYIE`rw`Channel Configuration Ready Interrupt enable This bit is set and cleared by software to enable/disable the channel configuration ready interrupt. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing).
Rejestr: CR:  0x40012408

ADC control register

Bit 31: ADCAL31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: ADVREGEN28Bit 27: zarezerwowanyBit 26: zarezerwowanyBit 25: zarezerwowanyBit 24: zarezerwowany24Bit 23: zarezerwowanyBit 22: zarezerwowanyBit 21: zarezerwowanyBit 20: zarezerwowany20Bit 19: zarezerwowanyBit 18: zarezerwowanyBit 17: zarezerwowanyBit 16: zarezerwowany16Bit 15: zarezerwowanyBit 14: zarezerwowanyBit 13: zarezerwowanyBit 12: zarezerwowany12Bit 11: zarezerwowanyBit 10: zarezerwowanyBit 9: zarezerwowanyBit 8: zarezerwowany8Bit 7: zarezerwowanyBit 6: zarezerwowanyBit 5: zarezerwowanyBit 4: ADSTP4Bit 3: zarezerwowanyBit 2: ADSTARTBit 1: ADDISBit 0: ADEN0
BitSzer.PoleDostępOpis
01ADEN`rw`ADC enable command This bit is set by software to enable the ADC. The ADC is effectively ready to operate once the ADRDY flag has been set. It is cleared by hardware when the ADC is disabled, after the execution of the ADDIS command. Note: The software is allowed to set ADEN only when all bits of ADC_CR registers are 0 (ADCAL=0, ADSTP=0, ADSTART=0, ADDIS=0 and ADEN=0)
11ADDIS`rw`ADC disable command This bit is set by software to disable the ADC (ADDIS command) and put it into power-down state (OFF state). It is cleared by hardware once the ADC is effectively disabled (ADEN is also cleared by hardware at this time). Note: Setting ADDIS to '1' is only effective when ADEN=1 and ADSTART=0 (which ensures that no conversion is ongoing)
21ADSTART`rw`ADC start conversion command This bit is set by software to start ADC conversion. Depending on the EXTEN [1:0] configuration bits, a conversion either starts immediately (software trigger configuration) or once a hardware trigger event occurs (hardware trigger configuration). It is cleared by hardware: In single conversion mode (CONT=0, DISCEN=0), when software trigger is selected (EXTEN=00): at the assertion of the end of Conversion Sequence (EOS) flag. In discontinuous conversion mode(CONT=0, DISCEN=1), when the software trigger is selected (EXTEN=00): at the assertion of the end of Conversion (EOC) flag. In all other cases: after the execution of the ADSTP command, at the same time as the ADSTP bit is cleared by hardware. Note: The software is allowed to set ADSTART only when ADEN=1 and ADDIS=0 (ADC is enabled and there is no pending request to disable the ADC). After writing to ADC_CHSELR register or changing CHSELRMOD or SCANDIRW, it is mandatory to wait until CCRDY flag is asserted before setting ADSTART, otherwise, the value written to ADSTART is ignored.
41ADSTP`rw`ADC stop conversion command This bit is set by software to stop and discard an ongoing conversion (ADSTP Command). It is cleared by hardware when the conversion is effectively discarded and the ADC is ready to accept a new start conversion command. Note: Setting ADSTP to '1' is only effective when ADSTART=1 and ADDIS=0 (ADC is enabled and may be converting and there is no pending request to disable the ADC)
281ADVREGEN`rw`ADC Voltage Regulator Enable This bit is set by software, to enable the ADC internal voltage regulator. The voltage regulator output is available after tADCVREG_SETUP. It is cleared by software to disable the voltage regulator. It can be cleared only if ADEN is et to 0. Note: The software is allowed to program this bit field only when the ADC is disabled (ADCAL=0, ADSTART=0, ADSTP=0, ADDIS=0 and ADEN=0).
311ADCAL`rw`ADC calibration This bit is set by software to start the calibration of the ADC. It is cleared by hardware after calibration is complete. Note: The software is allowed to set ADCAL only when the ADC is disabled (ADCAL=0, ADSTART=0, ADSTP=0, ADDIS=0 and ADEN=0). The software is allowed to update the calibration factor by writing ADC_CALFACT only when ADEN=1 and ADSTART=0 (ADC enabled and no conversion is ongoing).
Rejestr: CFGR1:  0x4001240C

ADC configuration register 1

Bit 31: zarezerwowany31Bit 30: AWD1CHBit 29: AWD1CHBit 28: AWD1CH28Bit 27: AWD1CHBit 26: AWD1CHBit 25: zarezerwowanyBit 24: zarezerwowany24Bit 23: AWD1ENBit 22: AWD1SGLBit 21: CHSELRMODBit 20: zarezerwowany20Bit 19: zarezerwowanyBit 18: zarezerwowanyBit 17: zarezerwowanyBit 16: DISCEN16Bit 15: AUTOFFBit 14: WAITBit 13: CONTBit 12: OVRMOD12Bit 11: EXTENBit 10: EXTENBit 9: zarezerwowanyBit 8: EXTSEL8Bit 7: EXTSELBit 6: EXTSELBit 5: ALIGNBit 4: RES4Bit 3: RESBit 2: SCANDIRBit 1: DMACFGBit 0: DMAEN0
BitSzer.PoleDostępOpis
01DMAEN`rw`Direct memory access enable This bit is set and cleared by software to enable the generation of DMA requests. This allows the DMA controller to be used to manage automatically the converted data. For more details, refer to . Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing).
11DMACFG`rw`Direct memory access configuration This bit is set and cleared by software to select between two DMA modes of operation and is effective only when DMAEN=1. For more details, refer to page351 Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing).
21SCANDIR`rw`Scan sequence direction This bit is set and cleared by software to select the direction in which the channels is scanned in the sequence. It is effective only if CHSELMOD bit is cleared to 0. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing). If CCRDY is not yet asserted after channel configuration (writing ADC_CHSELR register or changing CHSELRMOD or SCANDIR), the value written to this bit is ignored.
3–42RES`rw`Data resolution These bits are written by software to select the resolution of the conversion. Note: The software is allowed to write these bits only when ADEN=0.
51ALIGN`rw`Data alignment This bit is set and cleared by software to select right or left alignment. Refer to Data alignment and resolution (oversampling disabled: OVSE = 0) on page349 Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing).
6–83EXTSEL`rw`External trigger selection These bits select the external event used to trigger the start of conversion (refer to External triggers for details): Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing).
10–112EXTEN`rw`External trigger enable and polarity selection These bits are set and cleared by software to select the external trigger polarity and enable the trigger. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing).
121OVRMOD`rw`Overrun management mode This bit is set and cleared by software and configure the way data overruns are managed. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing).
131CONT`rw`Single / continuous conversion mode This bit is set and cleared by software. If it is set, conversion takes place continuously until it is cleared. Note: It is not possible to have both discontinuous mode and continuous mode enabled: it is forbidden to set both bits DISCEN=1 and CONT=1. The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing).
141WAIT`rw`Wait conversion mode This bit is set and cleared by software to enable/disable wait conversion mode.. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing).
151AUTOFF`rw`Auto-off mode This bit is set and cleared by software to enable/disable auto-off mode.. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing).
161DISCEN`rw`Discontinuous mode This bit is set and cleared by software to enable/disable discontinuous mode. Note: It is not possible to have both discontinuous mode and continuous mode enabled: it is forbidden to set both bits DISCEN=1 and CONT=1. The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing).
211CHSELRMOD`rw`Mode selection of the ADC_CHSELR register This bit is set and cleared by software to control the ADC_CHSELR feature: Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing). If CCRDY is not yet asserted after channel configuration (writing ADC_CHSELR register or changing CHSELRMOD or SCANDIR), the value written to this bit is ignored.
221AWD1SGL`rw`Enable the watchdog on a single channel or on all channels This bit is set and cleared by software to enable the analog watchdog on the channel identified by the AWDCH[4:0] bits or on all the channels Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing).
231AWD1EN`rw`Analog watchdog enable This bit is set and cleared by software. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing).
26–305AWD1CH`rw`Analog watchdog channel selection These bits are set and cleared by software. They select the input channel to be guarded by the analog watchdog. ..... Others: Reserved Note: The channel selected by the AWDCH[4:0] bits must be also set into the CHSELR register. The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing).
Rejestr: CFGR2:  0x40012410

ADC configuration register 2

Bit 31: CKMODE31Bit 30: CKMODEBit 29: LFTRIGBit 28: zarezerwowany28Bit 27: zarezerwowanyBit 26: zarezerwowanyBit 25: zarezerwowanyBit 24: zarezerwowany24Bit 23: zarezerwowanyBit 22: zarezerwowanyBit 21: zarezerwowanyBit 20: zarezerwowany20Bit 19: zarezerwowanyBit 18: zarezerwowanyBit 17: zarezerwowanyBit 16: zarezerwowany16Bit 15: zarezerwowanyBit 14: zarezerwowanyBit 13: zarezerwowanyBit 12: zarezerwowany12Bit 11: zarezerwowanyBit 10: zarezerwowanyBit 9: TOVSBit 8: OVSS8Bit 7: OVSSBit 6: OVSSBit 5: OVSSBit 4: OVSR4Bit 3: OVSRBit 2: OVSRBit 1: zarezerwowanyBit 0: OVSE0
BitSzer.PoleDostępOpis
01OVSE`rw`Oversampler Enable This bit is set and cleared by software. Note: Software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
2–43OVSR`rw`Oversampling ratio This bit filed defines the number of oversampling ratio. Note: The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
5–84OVSS`rw`Oversampling shift This bit is set and cleared by software. Others: Reserved Note: The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
91TOVS`rw`Triggered Oversampling This bit is set and cleared by software. Note: The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
291LFTRIG`rw`Low frequency trigger mode enable This bit is set and cleared by software. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing).
30–312CKMODE`rw`ADC clock mode These bits are set and cleared by software to define how the analog ADC is clocked: In all synchronous clock modes, there is no jitter in the delay from a timer trigger to the start of a conversion. Note: The software is allowed to write these bits only when the ADC is disabled (ADCAL=0, ADSTART=0, ADSTP=0, ADDIS=0 and ADEN=0).
Rejestr: SMPR:  0x40012414

ADC sampling time register

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: zarezerwowanyBit 26: SMPSEL18Bit 25: SMPSEL17Bit 24: SMPSEL1624Bit 23: SMPSEL15Bit 22: SMPSEL14Bit 21: SMPSEL13Bit 20: SMPSEL1220Bit 19: SMPSEL11Bit 18: SMPSEL10Bit 17: SMPSEL9Bit 16: SMPSEL816Bit 15: SMPSEL7Bit 14: SMPSEL6Bit 13: SMPSEL5Bit 12: SMPSEL412Bit 11: SMPSEL3Bit 10: SMPSEL2Bit 9: SMPSEL1Bit 8: SMPSEL08Bit 7: zarezerwowanyBit 6: SMP2Bit 5: SMP2Bit 4: SMP24Bit 3: zarezerwowanyBit 2: SMP1Bit 1: SMP1Bit 0: SMP10
BitSzer.PoleDostępOpis
0–23SMP1`rw`Sampling time selection 1
4–63SMP2`rw`Sampling time selection 2
81SMPSEL0`rw`Channel-0 sampling time selection
91SMPSEL1`rw`Channel-1 sampling time selection
101SMPSEL2`rw`Channel-2 sampling time selection
111SMPSEL3`rw`Channel-3 sampling time selection
121SMPSEL4`rw`Channel-4 sampling time selection
131SMPSEL5`rw`Channel-5 sampling time selection
141SMPSEL6`rw`Channel-6 sampling time selection
151SMPSEL7`rw`Channel-7 sampling time selection
161SMPSEL8`rw`Channel-8 sampling time selection
171SMPSEL9`rw`Channel-9 sampling time selection
181SMPSEL10`rw`Channel-10 sampling time selection
191SMPSEL11`rw`Channel-11 sampling time selection
201SMPSEL12`rw`Channel-12 sampling time selection
211SMPSEL13`rw`Channel-13 sampling time selection
221SMPSEL14`rw`Channel-14 sampling time selection
231SMPSEL15`rw`Channel-15 sampling time selection
241SMPSEL16`rw`Channel-16 sampling time selection
251SMPSEL17`rw`Channel-17 sampling time selection
261SMPSEL18`rw`Channel-18 sampling time selection
Rejestr: AWD1TR:  0x40012420

ADC watchdog threshold register

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: HT1Bit 26: HT1Bit 25: HT1Bit 24: HT124Bit 23: HT1Bit 22: HT1Bit 21: HT1Bit 20: HT120Bit 19: HT1Bit 18: HT1Bit 17: HT1Bit 16: HT116Bit 15: zarezerwowanyBit 14: zarezerwowanyBit 13: zarezerwowanyBit 12: zarezerwowany12Bit 11: LT1Bit 10: LT1Bit 9: LT1Bit 8: LT18Bit 7: LT1Bit 6: LT1Bit 5: LT1Bit 4: LT14Bit 3: LT1Bit 2: LT1Bit 1: LT1Bit 0: LT10
BitSzer.PoleDostępOpis
0–1112LT1`rw`Analog watchdog 1 lower threshold These bits are written by software to define the lower threshold for the analog watchdog. Refer to ADC_AWDxTR) on page355.
16–2712HT1`rw`Analog watchdog 1 higher threshold These bits are written by software to define the higher threshold for the analog watchdog. Refer to ADC_AWDxTR) on page355.
Rejestr: AWD2TR:  0x40012424

ADC watchdog threshold register

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: HT2Bit 26: HT2Bit 25: HT2Bit 24: HT224Bit 23: HT2Bit 22: HT2Bit 21: HT2Bit 20: HT220Bit 19: HT2Bit 18: HT2Bit 17: HT2Bit 16: HT216Bit 15: zarezerwowanyBit 14: zarezerwowanyBit 13: zarezerwowanyBit 12: zarezerwowany12Bit 11: LT2Bit 10: LT2Bit 9: LT2Bit 8: LT28Bit 7: LT2Bit 6: LT2Bit 5: LT2Bit 4: LT24Bit 3: LT2Bit 2: LT2Bit 1: LT2Bit 0: LT20
BitSzer.PoleDostępOpis
0–1112LT2`rw`Analog watchdog 2 lower threshold These bits are written by software to define the lower threshold for the analog watchdog. Refer to ADC_AWDxTR) on page355.
16–2712HT2`rw`Analog watchdog 2 higher threshold These bits are written by software to define the higher threshold for the analog watchdog. Refer to ADC_AWDxTR) on page355.
Rejestr: CHSELR0:  0x40012428

ADC channel selection register [alternate]

Brak zdefiniowanych pól bitowych.

Rejestr: CHSELR1  0x40012428
rw

channel selection register CHSELRMOD = 1 in ADC_CFGR1

Bit 31: SQ831Bit 30: SQ8Bit 29: SQ8Bit 28: SQ828Bit 27: SQ7Bit 26: SQ7Bit 25: SQ7Bit 24: SQ724Bit 23: SQ6Bit 22: SQ6Bit 21: SQ6Bit 20: SQ620Bit 19: SQ5Bit 18: CHSEL18Bit 17: CHSEL17Bit 16: SQ516Bit 15: CHSEL15Bit 14: CHSEL14Bit 13: CHSEL13Bit 12: SQ412Bit 11: CHSEL11Bit 10: CHSEL10Bit 9: CHSEL9Bit 8: SQ38Bit 7: CHSEL7Bit 6: CHSEL6Bit 5: CHSEL5Bit 4: SQ24Bit 3: CHSEL3Bit 2: CHSEL2Bit 1: CHSEL1Bit 0: SQ10
BitSzer.PoleDostępOpis
01CHSEL0`rw`Channel-0 selection
0–34SQ1`rw`1 conversion of the sequence
11CHSEL1`rw`Channel-1 selection
21CHSEL2`rw`Channel-2 selection
31CHSEL3`rw`Channel-3 selection
41CHSEL4`rw`Channel-4 selection
4–74SQ2`rw`2 conversion of the sequence
51CHSEL5`rw`Channel-5 selection
61CHSEL6`rw`Channel-6 selection
71CHSEL7`rw`Channel-7 selection
81CHSEL8`rw`Channel-8 selection
8–114SQ3`rw`3 conversion of the sequence
91CHSEL9`rw`Channel-9 selection
101CHSEL10`rw`Channel-10 selection
111CHSEL11`rw`Channel-11 selection
121CHSEL12`rw`Channel-12 selection
12–154SQ4`rw`4 conversion of the sequence
131CHSEL13`rw`Channel-13 selection
141CHSEL14`rw`Channel-14 selection
151CHSEL15`rw`Channel-15 selection
161CHSEL16`rw`Channel-16 selection
16–194SQ5`rw`5 conversion of the sequence
171CHSEL17`rw`Channel-17 selection
181CHSEL18`rw`Channel-18 selection
20–234SQ6`rw`6 conversion of the sequence
24–274SQ7`rw`7 conversion of the sequence
28–314SQ8`rw`8 conversion of the sequence
Rejestr: AWD3TR:  0x4001242C

ADC watchdog threshold register

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: HT3Bit 26: HT3Bit 25: HT3Bit 24: HT324Bit 23: HT3Bit 22: HT3Bit 21: HT3Bit 20: HT320Bit 19: HT3Bit 18: HT3Bit 17: HT3Bit 16: HT316Bit 15: zarezerwowanyBit 14: zarezerwowanyBit 13: zarezerwowanyBit 12: zarezerwowany12Bit 11: LT3Bit 10: LT3Bit 9: LT3Bit 8: LT38Bit 7: LT3Bit 6: LT3Bit 5: LT3Bit 4: LT34Bit 3: LT3Bit 2: LT3Bit 1: LT3Bit 0: LT30
BitSzer.PoleDostępOpis
0–1112LT3`rw`Analog watchdog 3lower threshold These bits are written by software to define the lower threshold for the analog watchdog. Refer to ADC_AWDxTR) on page355.
16–2712HT3`rw`Analog watchdog 3 higher threshold These bits are written by software to define the higher threshold for the analog watchdog. Refer to ADC_AWDxTR) on page355.
Rejestr: DR:  0x40012440

ADC data register

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: zarezerwowanyBit 26: zarezerwowanyBit 25: zarezerwowanyBit 24: zarezerwowany24Bit 23: zarezerwowanyBit 22: zarezerwowanyBit 21: zarezerwowanyBit 20: zarezerwowany20Bit 19: zarezerwowanyBit 18: zarezerwowanyBit 17: zarezerwowanyBit 16: zarezerwowany16Bit 15: DATABit 14: DATABit 13: DATABit 12: DATA12Bit 11: DATABit 10: DATABit 9: DATABit 8: DATA8Bit 7: DATABit 6: DATABit 5: DATABit 4: DATA4Bit 3: DATABit 2: DATABit 1: DATABit 0: DATA0
BitSzer.PoleDostępOpis
0–1516DATA`ro`Converted data These bits are read-only. They contain the conversion result from the last converted channel. The data are left- or right-aligned as shown in OVSE = 0) on page349. Just after a calibration is complete, DATA[6:0] contains the calibration factor.
Rejestr: AWD2CR:  0x400124A0

ADC Analog Watchdog 2 Configuration register

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: zarezerwowanyBit 26: zarezerwowanyBit 25: zarezerwowanyBit 24: zarezerwowany24Bit 23: zarezerwowanyBit 22: zarezerwowanyBit 21: zarezerwowanyBit 20: zarezerwowany20Bit 19: zarezerwowanyBit 18: AWD2CH18Bit 17: AWD2CH17Bit 16: AWD2CH1616Bit 15: AWD2CH15Bit 14: AWD2CH14Bit 13: AWD2CH13Bit 12: AWD2CH1212Bit 11: AWD2CH11Bit 10: AWD2CH10Bit 9: AWD2CH9Bit 8: AWD2CH88Bit 7: AWD2CH7Bit 6: AWD2CH6Bit 5: AWD2CH5Bit 4: AWD2CH44Bit 3: AWD2CH3Bit 2: AWD2CH2Bit 1: AWD2CH1Bit 0: AWD2CH00
BitSzer.PoleDostępOpis
01AWD2CH0`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 2 (AWD2). Note: The channels selected through ADC_AWD2CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
11AWD2CH1`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 2 (AWD2). Note: The channels selected through ADC_AWD2CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
21AWD2CH2`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 2 (AWD2). Note: The channels selected through ADC_AWD2CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
31AWD2CH3`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 2 (AWD2). Note: The channels selected through ADC_AWD2CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
41AWD2CH4`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 2 (AWD2). Note: The channels selected through ADC_AWD2CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
51AWD2CH5`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 2 (AWD2). Note: The channels selected through ADC_AWD2CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
61AWD2CH6`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 2 (AWD2). Note: The channels selected through ADC_AWD2CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
71AWD2CH7`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 2 (AWD2). Note: The channels selected through ADC_AWD2CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
81AWD2CH8`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 2 (AWD2). Note: The channels selected through ADC_AWD2CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
91AWD2CH9`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 2 (AWD2). Note: The channels selected through ADC_AWD2CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
101AWD2CH10`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 2 (AWD2). Note: The channels selected through ADC_AWD2CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
111AWD2CH11`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 2 (AWD2). Note: The channels selected through ADC_AWD2CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
121AWD2CH12`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 2 (AWD2). Note: The channels selected through ADC_AWD2CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
131AWD2CH13`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 2 (AWD2). Note: The channels selected through ADC_AWD2CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
141AWD2CH14`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 2 (AWD2). Note: The channels selected through ADC_AWD2CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
151AWD2CH15`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 2 (AWD2). Note: The channels selected through ADC_AWD2CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
161AWD2CH16`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 2 (AWD2). Note: The channels selected through ADC_AWD2CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
171AWD2CH17`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 2 (AWD2). Note: The channels selected through ADC_AWD2CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
181AWD2CH18`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 2 (AWD2). Note: The channels selected through ADC_AWD2CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
Rejestr: AWD3CR:  0x400124A4

ADC Analog Watchdog 3 Configuration register

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: zarezerwowanyBit 26: zarezerwowanyBit 25: zarezerwowanyBit 24: zarezerwowany24Bit 23: zarezerwowanyBit 22: zarezerwowanyBit 21: zarezerwowanyBit 20: zarezerwowany20Bit 19: zarezerwowanyBit 18: AWD3CH18Bit 17: AWD3CH17Bit 16: AWD3CH1616Bit 15: AWD3CH15Bit 14: AWD3CH14Bit 13: AWD3CH13Bit 12: AWD3CH1212Bit 11: AWD3CH11Bit 10: AWD3CH10Bit 9: AWD3CH9Bit 8: AWD3CH88Bit 7: AWD3CH7Bit 6: AWD3CH6Bit 5: AWD3CH5Bit 4: AWD3CH44Bit 3: AWD3CH3Bit 2: AWD3CH2Bit 1: AWD3CH1Bit 0: AWD3CH00
BitSzer.PoleDostępOpis
01AWD3CH0`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 3 (AWD3). Note: The channels selected through ADC_AWD3CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
11AWD3CH1`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 3 (AWD3). Note: The channels selected through ADC_AWD3CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
21AWD3CH2`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 3 (AWD3). Note: The channels selected through ADC_AWD3CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
31AWD3CH3`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 3 (AWD3). Note: The channels selected through ADC_AWD3CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
41AWD3CH4`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 3 (AWD3). Note: The channels selected through ADC_AWD3CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
51AWD3CH5`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 3 (AWD3). Note: The channels selected through ADC_AWD3CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
61AWD3CH6`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 3 (AWD3). Note: The channels selected through ADC_AWD3CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
71AWD3CH7`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 3 (AWD3). Note: The channels selected through ADC_AWD3CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
81AWD3CH8`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 3 (AWD3). Note: The channels selected through ADC_AWD3CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
91AWD3CH9`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 3 (AWD3). Note: The channels selected through ADC_AWD3CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
101AWD3CH10`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 3 (AWD3). Note: The channels selected through ADC_AWD3CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
111AWD3CH11`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 3 (AWD3). Note: The channels selected through ADC_AWD3CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
121AWD3CH12`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 3 (AWD3). Note: The channels selected through ADC_AWD3CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
131AWD3CH13`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 3 (AWD3). Note: The channels selected through ADC_AWD3CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
141AWD3CH14`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 3 (AWD3). Note: The channels selected through ADC_AWD3CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
151AWD3CH15`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 3 (AWD3). Note: The channels selected through ADC_AWD3CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
161AWD3CH16`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 3 (AWD3). Note: The channels selected through ADC_AWD3CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
171AWD3CH17`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 3 (AWD3). Note: The channels selected through ADC_AWD3CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
181AWD3CH18`rw`Analog watchdog channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by analog watchdog 3 (AWD3). Note: The channels selected through ADC_AWD3CR must be also configured into the ADC_CHSELR registers. Refer to SQ8[3:0] for a definition of channel selection. The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
Rejestr: CALFACT:  0x400124B4

ADC Calibration factor

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: zarezerwowanyBit 26: zarezerwowanyBit 25: zarezerwowanyBit 24: zarezerwowany24Bit 23: zarezerwowanyBit 22: zarezerwowanyBit 21: zarezerwowanyBit 20: zarezerwowany20Bit 19: zarezerwowanyBit 18: zarezerwowanyBit 17: zarezerwowanyBit 16: zarezerwowany16Bit 15: zarezerwowanyBit 14: zarezerwowanyBit 13: zarezerwowanyBit 12: zarezerwowany12Bit 11: zarezerwowanyBit 10: zarezerwowanyBit 9: zarezerwowanyBit 8: zarezerwowany8Bit 7: zarezerwowanyBit 6: CALFACTBit 5: CALFACTBit 4: CALFACT4Bit 3: CALFACTBit 2: CALFACTBit 1: CALFACTBit 0: CALFACT0
BitSzer.PoleDostępOpis
0–67CALFACT`rw`Calibration factor These bits are written by hardware or by software. Once a calibration is complete,they are updated by hardware with the calibration factors. Software can write these bits with a new calibration factor. If the new calibration factor is different from the current one stored into the analog ADC, it is then applied once a new calibration is launched. Just after a calibration is complete, DATA[6:0] contains the calibration factor. Note: Software can write these bits only when ADEN=1 (ADC is enabled and no calibration is ongoing and no conversion is ongoing). Refer to SQ8[3:0] for a definition of channel selection.
Rejestr: CCR:  0x40012708

ADC common configuration register

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: zarezerwowanyBit 26: zarezerwowanyBit 25: zarezerwowanyBit 24: VBATEN24Bit 23: TSENBit 22: VREFENBit 21: PRESCBit 20: PRESC20Bit 19: PRESCBit 18: PRESCBit 17: zarezerwowanyBit 16: zarezerwowany16Bit 15: zarezerwowanyBit 14: zarezerwowanyBit 13: zarezerwowanyBit 12: zarezerwowany12Bit 11: zarezerwowanyBit 10: zarezerwowanyBit 9: zarezerwowanyBit 8: zarezerwowany8Bit 7: zarezerwowanyBit 6: zarezerwowanyBit 5: zarezerwowanyBit 4: zarezerwowany4Bit 3: zarezerwowanyBit 2: zarezerwowanyBit 1: zarezerwowanyBit 0: zarezerwowany0
BitSzer.PoleDostępOpis
18–214PRESC`rw`ADC prescaler Set and cleared by software to select the frequency of the clock to the ADC. Other: Reserved Note: Software is allowed to write these bits only when the ADC is disabled (ADCAL=0, ADSTART=0, ADSTP=0, ADDIS=0 and ADEN=0).
221VREFEN`rw`VREFINT enable This bit is set and cleared by software to enable/disable the VREFINT. Note: Software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
231TSEN`rw`Temperature sensor enable This bit is set and cleared by software to enable/disable the temperature sensor. Note: Software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing).
241VBATEN`rw`VBAT enable This bit is set and cleared by software to enable/disable the VBAT channel. Note: The software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion is ongoing)