Merge #780
780: Add new lines between SIO methods r=Dirbaio a=danbev The commit adds new lines between the SIO functions which at least for me improves readability and is consistent with the other methods in the trait. Co-authored-by: Daniel Bevenius <daniel.bevenius@gmail.com>
This commit is contained in:
commit
e4072d7ff3
@ -190,12 +190,15 @@ pub(crate) mod sealed {
|
|||||||
};
|
};
|
||||||
block.gpio(self.pin() as _)
|
block.gpio(self.pin() as _)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn sio_out(&self) -> pac::sio::Gpio {
|
fn sio_out(&self) -> pac::sio::Gpio {
|
||||||
SIO.gpio_out(self.bank() as _)
|
SIO.gpio_out(self.bank() as _)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn sio_oe(&self) -> pac::sio::Gpio {
|
fn sio_oe(&self) -> pac::sio::Gpio {
|
||||||
SIO.gpio_oe(self.bank() as _)
|
SIO.gpio_oe(self.bank() as _)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn sio_in(&self) -> Reg<u32, RW> {
|
fn sio_in(&self) -> Reg<u32, RW> {
|
||||||
SIO.gpio_in(self.bank() as _)
|
SIO.gpio_in(self.bank() as _)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user