cortex-m 0.1.8

Low level access to Cortex-M processors
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! SysTick: System Timer

use volatile_register::{RO, RW};

/// Registers
#[repr(C)]
pub struct Registers {
    /// Control and Status
    pub csr: RW<u32>,
    /// Reload Value
    pub rvr: RW<u32>,
    /// Current Value
    pub cvr: RW<u32>,
    /// Calibration Value
    pub calib: RO<u32>,
}