pub fn nr52(&self) -> u8 {
        let enabled = self.enabled          as u8;
        let r1      = self.sound1.running() as u8;
        let r2      = self.sound2.running() as u8;
        let r3      = self.sound3.running() as u8;
        let r4      = self.sound4.running() as u8;

        enabled << 7 | 0x70 | (r4 << 3) | (r3 << 2) | (r2 << 1) | r1
    }
/// Get global sound enable and sound status
Get global sound enable and sound status
Get global sound enable and sound status
pub fn nr52(&self) -> u8 {
        let enabled = self.enabled          as u8;
        let r1      = self.sound1.running() as u8;
        let r2      = self.sound2.running() as u8;
        let r3      = self.sound3.running() as u8;
        let r4      = self.sound4.running() as u8;
        enabled << 7 | 0x70 | (r4 << 3) | (r3 << 2) | (r2 << 1) | r1
    }
pub fn nr52 ( & self ) -> u8 { let enabled = self . enabled as u8 ; let r1 = self . sound1 . running ( ) as u8 ; let r2 = self . sound2 . running ( ) as u8 ; let r3 = self . sound3 . running ( ) as u8 ; let r4 = self . sound4 . running ( ) as u8 ; enabled << 7 | 0x70 | ( r4 << 3 ) | ( r3 << 2 ) | ( r2 << 1 ) | r1 }
Get global sound enable and sound status
Get global sound enable and sound status
&self
&self