stm32 /stm32h5 /STM32H533 /ADC /ADC_CFGR2

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as ADC_CFGR2

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (B_0x0)ROVSE 0 (B_0x0)JOVSE 0 (B_0x0)OVSR0 (B_0x0)OVSS0 (B_0x0)TROVS 0 (B_0x0)ROVSM 0 (B_0x0)SWTRIG 0 (B_0x0)BULB 0 (B_0x0)SMPTRIG

SMPTRIG=B_0x0, BULB=B_0x0, JOVSE=B_0x0, OVSR=B_0x0, ROVSE=B_0x0, TROVS=B_0x0, SWTRIG=B_0x0, OVSS=B_0x0, ROVSM=B_0x0

Description

ADC configuration register 2

Fields

ROVSE

Regular oversampling Enable

0 (B_0x0): Regular oversampling disabled

1 (B_0x1): Regular oversampling enabled

JOVSE

Injected oversampling Enable

0 (B_0x0): Injected oversampling disabled

1 (B_0x1): Injected oversampling enabled

OVSR

Oversampling ratio

0 (B_0x0): 2x

1 (B_0x1): 4x

2 (B_0x2): 8x

3 (B_0x3): 16x

4 (B_0x4): 32x

5 (B_0x5): 64x

6 (B_0x6): 128x

7 (B_0x7): 256x

OVSS

Oversampling shift

0 (B_0x0): No shift

1 (B_0x1): Shift 1-bit

2 (B_0x2): Shift 2-bits

3 (B_0x3): Shift 3-bits

4 (B_0x4): Shift 4-bits

5 (B_0x5): Shift 5-bits

6 (B_0x6): Shift 6-bits

7 (B_0x7): Shift 7-bits

8 (B_0x8): Shift 8-bits

TROVS

Triggered Regular oversampling

0 (B_0x0): All oversampled conversions for a channel are done consecutively following a trigger

1 (B_0x1): Each oversampled conversion for a channel needs a new trigger

ROVSM

Regular oversampling mode

0 (B_0x0): Continued mode: When injected conversions are triggered, the oversampling is temporary stopped and continued after the injection sequence (oversampling buffer is maintained during injected sequence)

1 (B_0x1): Resumed mode: When injected conversions are triggered, the current oversampling is aborted and resumed from start after the injection sequence (oversampling buffer is zeroed by injected sequence start)

SWTRIG

Software trigger bit for sampling time control trigger mode

0 (B_0x0): Software trigger starts the conversion for sampling time control trigger mode

1 (B_0x1): Software trigger starts the sampling for sampling time control trigger mode

BULB

Bulb sampling mode

0 (B_0x0): Bulb sampling mode disabled

1 (B_0x1): Bulb sampling mode enabled.

SMPTRIG

Sampling time control trigger mode

0 (B_0x0): Sampling time control trigger mode disabled

1 (B_0x1): Sampling time control trigger mode enabled

Links

()