@ -22,8 +22,8 @@
* SOFTWARE.
*/
use volatile_register::RW;
use super::MMIO_BASE;
pub const GPFSEL1: *const RW<u32> = (MMIO_BASE + 0x0020_0004) as *const RW<u32>;
pub const GPPUD: *const RW<u32> = (MMIO_BASE + 0x0020_0094) as *const RW<u32>;
@ -23,8 +23,8 @@
use volatile_register::*;
use gpio;
const MINI_UART_BASE: u32 = MMIO_BASE + 0x21_5000;
@ -30,8 +30,8 @@ extern crate volatile_register;
const MMIO_BASE: u32 = 0x3F00_0000;
mod mbox;
mod gpio;
mod uart;
use core::sync::atomic::{compiler_fence, Ordering};
@ -23,10 +23,10 @@
use mbox;
const UART_BASE: u32 = MMIO_BASE + 0x20_1000;