mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-10 09:53:42 +00:00
feature: some additional changes to drivers.Pin HAL for clarity and readability.
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
+4
-4
@@ -17,10 +17,10 @@ type Bus interface {
|
||||
}
|
||||
|
||||
type Device struct {
|
||||
rs drivers.PinOutput
|
||||
wr drivers.PinOutput
|
||||
cs drivers.PinOutput
|
||||
rst drivers.PinOutput
|
||||
rs drivers.PinOutputFunc
|
||||
wr drivers.PinOutputFunc
|
||||
cs drivers.PinOutputFunc
|
||||
rst drivers.PinOutputFunc
|
||||
bus Bus
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user