pub const fn u16_align_up(addr: u16, align: u16) -> u16Expand description
Align address upwards.
Returns the smallest x with alignment align so that x >= addr.
Panics if the alignment is not a power of two or if an overflow occurs.
This is a const version of Align::align_up.