pub fn into_field(self) -> u8 {
        match self {
            DutyCycle::Duty13 => 0,
            DutyCycle::Duty25 => 1,
            DutyCycle::Duty50 => 2,
            DutyCycle::Duty75 => 3,
        }
    }
/// Convert back into NR11/21 field value
Convert back into NR11/21 field value
Convert back into NR11 / 21 field value
pub fn into_field(self) -> u8 {
        match self {
            DutyCycle::Duty13 => 0,
            DutyCycle::Duty25 => 1,
            DutyCycle::Duty50 => 2,
            DutyCycle::Duty75 => 3,
        }
    }
pub fn into_field ( self ) -> u8 { match self { DutyCycle :: Duty13 => 0 , DutyCycle :: Duty25 => 1 , DutyCycle :: Duty50 => 2 , DutyCycle :: Duty75 => 3 , } }
Convert back into NR11/21 field value
Convert back into NR11 / 21 field value
self
self