Skip to main content

command_frame

Function command_frame 

Source
pub fn command_frame(command: u16) -> [u8; 2]
Expand description

Builds the two bytes of a command that carries no data word.

§Arguments

  • command - one of the command words.

§Returns

The command word, most significant byte first; command words carry no CRC.