Skip to main content
← PSoXide SDK guides and examples · SDK f2fec1c301f1 · All Cargo features enabled; check feature gates before use.

bcd_to_bin

Function bcd_to_bin 

Source
pub const fn bcd_to_bin(v: u8) -> u8
Expand description

Convert a BCD byte back to binary. Inverse of bin_to_bcd for well-formed input; nibbles above 9 are not normalised (the drive never emits them).