diff --git a/pic32-hal/Cargo.toml b/pic32-hal/Cargo.toml index 08298ed..0985d6d 100644 --- a/pic32-hal/Cargo.toml +++ b/pic32-hal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pic32-hal" -version = "0.10.1" +version = "0.11.0" authors = ["Stephan "] edition = "2021" description = "Hardware Abstraction Layer (HAL) for PIC32 microcontrollers" diff --git a/pic32-hal/src/i2c.rs b/pic32-hal/src/i2c.rs index de515c4..e262a10 100644 --- a/pic32-hal/src/i2c.rs +++ b/pic32-hal/src/i2c.rs @@ -1,12 +1,12 @@ //! I2C driver for PIC32 -use crate::pac::{I2C1, I2C2}; -use crate::time::Hertz; use crate::dma; use crate::int::InterruptSource; +use crate::pac::{I2C1, I2C2}; +use crate::time::Hertz; use embedded_hal::blocking; -use mips_mcu::PhysicalAddress; use mips_mcu::fmt::virt_to_phys; +use mips_mcu::PhysicalAddress; /// I2C clock frequency specifier /// The values of this enum correspond to the divisor values mentioned in the