stm32: dac: move DAC_SR to common.
It's available on f0, f2, f3, f4, f7, l0, l1 and l4. Just note that it's not available on f1.
This commit is contained in:
@@ -33,18 +33,4 @@ LGPL License Terms @ref lgpl_license
|
||||
|
||||
#include <libopencm3/stm32/common/dac_common_all.h>
|
||||
|
||||
/** DAC status register (DAC_SR) */
|
||||
#define DAC_SR MMIO32(DAC_BASE + 0x34)
|
||||
|
||||
/* --- DAC_SR values ------------------------------------------------------- */
|
||||
|
||||
/** DMAUDR1: DAC channel 1 DMA underrun flag */
|
||||
#define DAC_SR_DMAUDR1 (1 << 13)
|
||||
|
||||
|
||||
/** DMAUDR2: DAC channel 2 DMA underrun flag */
|
||||
#define DAC_SR_DMAUDR2 (1 << 29)
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user