fn from_size(mut v: usize) -> Self {
        let mut p = 0;
        while v > 0 {
            p += 1;
            v >>= 1;
        }

        MdmaBurstSize(p - 1)
    }
// TODO: add const to make this a const fn
add const to make this a const fn
add const to make this a const fn
fn from_size(mut v: usize) -> Self {
        let mut p = 0;
        while v > 0 {
            p += 1;
            v >>= 1;
        }
        MdmaBurstSize(p - 1)
    }
fn from_size ( mut v : usize ) -> Self { let mut p = 0 ; while v > 0 { p += 1 ; v >>= 1 ; } MdmaBurstSize ( p - 1 ) }
TODO: add const to make this a const fn
TODO : add const to make this a const fn
v
usize
v
usize