feat(fn): add state check functions signatures
This commit is contained in:
@@ -15,6 +15,9 @@ pub trait StaticPinOps {
|
|||||||
fn write(data: u8);
|
fn write(data: u8);
|
||||||
fn read() -> u8;
|
fn read() -> u8;
|
||||||
|
|
||||||
|
fn is_low() -> bool;
|
||||||
|
fn is_high() -> bool;
|
||||||
|
|
||||||
fn set_low();
|
fn set_low();
|
||||||
fn set_high();
|
fn set_high();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user