xtract
xtract(uint32_t val, int shift, int len)
static uint32_t xtract(uint32_t val, int shift, int len)