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:
bors[bot] 2022-05-19 20:17:32 +00:00 committed by GitHub
commit e4072d7ff3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 _)
} }