Add functionality to `iostub`
this need some more work e.g. `open_switch()` must also change the bit for `is_switch_open()`.
Add small call for serial bus
Add HAL calls for `switch_open()` and `is_switch_open()`