pub fn serial_number() -> [u8; 16] {
    let sn = split_serial_number();
    [
        ((sn.0 >> 24) & 0xff) as u8,
        ((sn.0 >> 16) & 0xff) as u8,
        ((sn.0 >> 8) & 0xff) as u8,
        (sn.0 & 0xff) as u8,
        ((sn.1 >> 24) & 0xff) as u8,
        ((sn.1 >> 16) & 0xff) as u8,
        ((sn.1 >> 8) & 0xff) as u8,
        (sn.1 & 0xff) as u8,
        ((sn.2 >> 24) & 0xff) as u8,
        ((sn.2 >> 16) & 0xff) as u8,
        ((sn.2 >> 8) & 0xff) as u8,
        (sn.2 & 0xff) as u8,
        ((sn.3 >> 24) & 0xff) as u8,
        ((sn.3 >> 16) & 0xff) as u8,
        ((sn.3 >> 8) & 0xff) as u8,
        (sn.3 & 0xff) as u8,
    ]
}
/// Returns the serial number of the chip as an array of bytes. The serial
/// number is only guaranteed to be unique if all 16 bytes are used.
Returns the serial number of the chip as an array of bytes. The serial
number is only guaranteed to be unique if all 16 bytes are used.
Returns the serial number of the chip as an array of bytes . The serial number is only guaranteed to be unique if all 16 bytes are used .
pub fn serial_number() -> [u8; 16] {
    let sn = split_serial_number();
    [
        ((sn.0 >> 24) & 0xff) as u8,
        ((sn.0 >> 16) & 0xff) as u8,
        ((sn.0 >> 8) & 0xff) as u8,
        (sn.0 & 0xff) as u8,
        ((sn.1 >> 24) & 0xff) as u8,
        ((sn.1 >> 16) & 0xff) as u8,
        ((sn.1 >> 8) & 0xff) as u8,
        (sn.1 & 0xff) as u8,
        ((sn.2 >> 24) & 0xff) as u8,
        ((sn.2 >> 16) & 0xff) as u8,
        ((sn.2 >> 8) & 0xff) as u8,
        (sn.2 & 0xff) as u8,
        ((sn.3 >> 24) & 0xff) as u8,
        ((sn.3 >> 16) & 0xff) as u8,
        ((sn.3 >> 8) & 0xff) as u8,
        (sn.3 & 0xff) as u8,
    ]
}
pub fn serial_number ( ) -> [ u8 ; 16 ] { let sn = split_serial_number ( ) ; [ ( ( sn . 0 >> 24 ) & 0xff ) as u8 , ( ( sn . 0 >> 16 ) & 0xff ) as u8 , ( ( sn . 0 >> 8 ) & 0xff ) as u8 , ( sn . 0 & 0xff ) as u8 , ( ( sn . 1 >> 24 ) & 0xff ) as u8 , ( ( sn . 1 >> 16 ) & 0xff ) as u8 , ( ( sn . 1 >> 8 ) & 0xff ) as u8 , ( sn . 1 & 0xff ) as u8 , ( ( sn . 2 >> 24 ) & 0xff ) as u8 , ( ( sn . 2 >> 16 ) & 0xff ) as u8 , ( ( sn . 2 >> 8 ) & 0xff ) as u8 , ( sn . 2 & 0xff ) as u8 , ( ( sn . 3 >> 24 ) & 0xff ) as u8 , ( ( sn . 3 >> 16 ) & 0xff ) as u8 , ( ( sn . 3 >> 8 ) & 0xff ) as u8 , ( sn . 3 & 0xff ) as u8 , ] }
Returns the serial number of the chip as an array of bytes.
Returns the serial number of the chip as an array of bytes .