Added SPI implementation

- First SPI HAL implementation for blocking mode
- Added example for SPI as well which uses loopback mode
  and regular mode
This commit is contained in:
2021-11-20 23:57:08 +01:00
parent 9e7491813e
commit cbc7c88112
6 changed files with 908 additions and 16 deletions

View File

@ -1,17 +1,17 @@
#![no_std]
pub use va108xx;
pub use va108xx as pac;
pub mod clock;
pub mod gpio;
pub mod prelude;
pub mod spi;
pub mod time;
pub mod timer;
pub mod typelevel;
pub mod uart;
pub use va108xx as pac;
mod private {
/// Super trait used to mark traits with an exhaustive set of
/// implementations