fn read_command_halfword(&self, offset: usize) -> u16 {
        let page = self.read_pram(offset >> 2);
        let halfword: [u8; 2] = match (offset & 2) != 0 {
            true => [page[2], page[3]],
            false => [page[0], page[1]],
        };

        u16::from_be_bytes(halfword)
    }
/// Reads a command half word from `CSE_PRAM` from a 16-bit aligned offset.
Reads a command half word from `CSE_PRAM` from a 16-bit aligned offset.
Reads a command half word from ` CSE_PRAM ` from a 16 - bit aligned offset .
fn read_command_halfword(&self, offset: usize) -> u16 {
        let page = self.read_pram(offset >> 2);
        let halfword: [u8; 2] = match (offset & 2) != 0 {
            true => [page[2], page[3]],
            false => [page[0], page[1]],
        };
        u16::from_be_bytes(halfword)
    }
fn read_command_halfword ( & self , offset : usize ) -> u16 { let page = self . read_pram ( offset >> 2 ) ; let halfword : [ u8 ; 2 ] = match ( offset & 2 ) != 0 { true => [ page [ 2 ] , page [ 3 ] ] , false => [ page [ 0 ] , page [ 1 ] ] , } ; u16 :: from_be_bytes ( halfword ) }
Reads a command half word from `CSE_PRAM` from a 16-bit aligned offset.
Reads a command half word from ` CSE_PRAM ` from a 16 - bit aligned offset .
&self
offset
usize