summaryrefslogtreecommitdiff
path: root/src/hal/clock.rs
blob: 5c97a9182136f6f6c28f5ac3c1acc1deac3b6aca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
struct Pwr {
  cr  : u32,
  csr : u32,
}

extern "C" {
    static mut __Pwr_base : u32;
}

static PWR: *mut Pwr = __Pwr_base as *mut Pwr;