feat(fn): add state check functions signatures
This commit is contained in:
1 parent
728e7d5be7
commit
e3e619c7ab
1 file changed
+3
@@ -15,6 +15,9 @@ pub trait StaticPinOps {
|
||||
fn write(data: u8);
|
||||
fn read() -> u8;
|
||||
|
||||
fn is_low() -> bool;
|
||||
fn is_high() -> bool;
|
||||
|
||||
fn set_low();
|
||||
fn set_high();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user