pub const fn to_addr16(addr: Addr32) -> Option<Addr16> {
    if addr > (0xffff << 4) + 0xffff {
        None
    } else {
        Some(((addr >> 16) as u16, addr as u16))
    }
}
/// Convert a 32-bit address to segmented address.
/// For example, address 0x10200 will be converted to (0x1000, 0x0200).
Convert a 32-bit address to segmented address.
Convert a 32 - bit address to segmented address .
pub const fn to_addr16(addr: Addr32) -> Option<Addr16> {
    if addr > (0xffff << 4) + 0xffff {
        None
    } else {
        Some(((addr >> 16) as u16, addr as u16))
    }
}
pub const fn to_addr16 ( addr : Addr32 ) -> Option < Addr16 > { if addr > ( 0xffff << 4 ) + 0xffff { None } else { Some ( ( ( addr >> 16 ) as u16 , addr as u16 ) ) } }
Convert a 32-bit address to segmented address.
Convert a 32 - bit address to segmented address .
addr
Addr32