STMicroelectronics /STM32G0B1 /DAC /DAC_SR

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 DAC_SR

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)DMAUDR1 0 (B_0x0)CAL_FLAG1 0 (B_0x0)BWST1 0 (B_0x0)DMAUDR2 0 (B_0x0)CAL_FLAG2 0 (B_0x0)BWST2

DMAUDR1=B_0x0, BWST2=B_0x0, CAL_FLAG1=B_0x0, BWST1=B_0x0, DMAUDR2=B_0x0, CAL_FLAG2=B_0x0

Description

DAC status register

Fields

DMAUDR1

DAC channel1 DMA underrun flag This bit is set by hardware and cleared by software (by writing it to 1).

0 (B_0x0): No DMA underrun error condition occurred for DAC channel1

1 (B_0x1): DMA underrun error condition occurred for DAC channel1 (the currently selected trigger is driving DAC channel1 conversion at a frequency higher than the DMA service capability rate)

CAL_FLAG1

DAC channel1 calibration offset status This bit is set and cleared by hardware

0 (B_0x0): calibration trimming value is lower than the offset correction value

1 (B_0x1): calibration trimming value is equal or greater than the offset correction value

BWST1

DAC channel1 busy writing sample time flag This bit is systematically set just after Sample and hold mode enable and is set each time the software writes the register DAC_SHSR1, It is cleared by hardware when the write operation of DAC_SHSR1 is complete. (It takes about 3 LSI periods of synchronization).

0 (B_0x0): There is no write operation of DAC_SHSR1 ongoing: DAC_SHSR1 can be written

1 (B_0x1): There is a write operation of DAC_SHSR1 ongoing: DAC_SHSR1 cannot be written

DMAUDR2

DAC channel2 DMA underrun flag This bit is set by hardware and cleared by software (by writing it to 1). Note: This bit is available only on dual-channel DACs. Refer to implementation.

0 (B_0x0): No DMA underrun error condition occurred for DAC channel2

1 (B_0x1): DMA underrun error condition occurred for DAC channel2 (the currently selected trigger is driving DAC channel2 conversion at a frequency higher than the DMA service capability rate).

CAL_FLAG2

DAC channel2 calibration offset status This bit is set and cleared by hardware Note: This bit is available only on dual-channel DACs. Refer to implementation.

0 (B_0x0): calibration trimming value is lower than the offset correction value

1 (B_0x1): calibration trimming value is equal or greater than the offset correction value

BWST2

DAC channel2 busy writing sample time flag This bit is systematically set just after Sample and hold mode enable. It is set each time the software writes the register DAC_SHSR2, It is cleared by hardware when the write operation of DAC_SHSR2 is complete. (It takes about 3 LSI periods of synchronization). Note: This bit is available only on dual-channel DACs. Refer to implementation.

0 (B_0x0): There is no write operation of DAC_SHSR2 ongoing: DAC_SHSR2 can be written

1 (B_0x1): There is a write operation of DAC_SHSR2 ongoing: DAC_SHSR2 cannot be written

Links

()