fn sof_interrupt(&self, enable: bool) {
        if enable {
            self.usb().intenset.write(|w| w.sof().set_bit());
        } else {
            self.usb().intenclr.write(|w| w.sof().set_bit());
        }
    }
/// Enables/disables the Start Of Frame (SOF) interrupt
Enables/disables the Start Of Frame (SOF) interrupt
Enables / disables the Start Of Frame ( SOF ) interrupt
fn sof_interrupt(&self, enable: bool) {
        if enable {
            self.usb().intenset.write(|w| w.sof().set_bit());
        } else {
            self.usb().intenclr.write(|w| w.sof().set_bit());
        }
    }
fn sof_interrupt ( & self , enable : bool ) { if enable { self . usb ( ) . intenset . write ( | w | w . sof ( ) . set_bit ( ) ) ; } else { self . usb ( ) . intenclr . write ( | w | w . sof ( ) . set_bit ( ) ) ; } }
Enables/disables the Start Of Frame (SOF) interrupt
Enables / disables the Start Of Frame ( SOF ) interrupt
&self
enable
bool
&self
enable
bool