package subsystem type Subsystem interface { Read(register uint8, cmd uint8) (uint32, error) Write(register uint8, cmd uint8, value uint32) error }