Function encode

Source
pub fn encode(data: u16) -> u32
Expand description

Encode the given 12 data bits into a 24-bit codeword.