[peripherals] first shot at refactoring ms2100, not quite nice yet...