GPIO optimization and tweaks

- Some functions marked inline
- Doc updated
This commit is contained in:
2021-11-11 18:23:54 +01:00
parent 6c9d9f7dfa
commit 04830087da
5 changed files with 21 additions and 17 deletions

View File

@ -1,4 +1,7 @@
//! API for the UART peripheral
//! # API for the UART peripheral
//!
//! ## Examples
//! - [UART example](https://github.com/robamu-org/va108xx-hal-rs/blob/main/examples/uart.rs)
use core::{convert::Infallible, ptr};
use core::{marker::PhantomData, ops::Deref};
use libm::floorf;