pub fn new(regs: DAC1, abp1: &mut APB1) -> Self {
    
        abp1.enr().modify(|_, w| w.dac1en().set_bit());
        abp1.rstr().modify(|_, w| w.dac1rst().set_bit());
        abp1.rstr().modify(|_, w| w.dac1rst().clear_bit());

        Self { regs }
    }
/// Initialize a DAC peripheral, including  enabling and resetting
Initialize a DAC peripheral, including  enabling and resetting
Initialize a DAC peripheral including enabling and resetting
pub fn new(regs: DAC1, abp1: &mut APB1) -> Self {
        abp1.enr().modify(|_, w| w.dac1en().set_bit());
        abp1.rstr().modify(|_, w| w.dac1rst().set_bit());
        abp1.rstr().modify(|_, w| w.dac1rst().clear_bit());
        Self { regs }
    }
pub fn new ( regs : DAC1 , abp1 : & mut APB1 ) -> Self { abp1 . enr ( ) . modify ( | _ , w | w . dac1en ( ) . set_bit ( ) ) ; abp1 . rstr ( ) . modify ( | _ , w | w . dac1rst ( ) . set_bit ( ) ) ; abp1 . rstr ( ) . modify ( | _ , w | w . dac1rst ( ) . clear_bit ( ) ) ; Self { regs } }
Initialize a DAC peripheral, including  enabling and resetting
Initialize a DAC peripheral including enabling and resetting
regs
DAC1
abp1
&mut APB1
regs
DAC1
abp1
&mut APB1