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

lba_to_bcd_msf

Function lba_to_bcd_msf 

Source
pub const fn lba_to_bcd_msf(lba: u32) -> [u8; 3]
Expand description

Data-track LBA to the absolute BCD [minute, second, frame] Setloc takes. LBA 0 is 00:02:00: the 150-sector lead-in puts it two seconds in. Minutes clamp at 99.