PERIPHERAL_MASK
regmap_write(periph->regmap, offset, PERIPHERAL_MASK(id));
return status & PERIPHERAL_MASK(id) ? 1 : 0;