7 lines
151 B
Go
7 lines
151 B
Go
|
package subsystem
|
||
|
|
||
|
type Subsystem interface {
|
||
|
Read(register uint8, cmd uint8) (uint32, error)
|
||
|
Write(register uint8, cmd uint8, value uint32) error
|
||
|
}
|