feat(fn): add state check functions signatures
This commit is contained in:
parent
728e7d5be7
commit
e3e619c7ab
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue