[][src]Struct teensy::sim::Sim

#[repr(C, packed)]
pub struct Sim {
    pub scgc1: Volatile<u32>,
    pub scgc2: Volatile<u32>,
    pub scgc3: Volatile<u32>,
    pub scgc4: Volatile<u32>,
    pub scgc5: Volatile<u32>,
    pub scgc6: Volatile<u32>,
    pub scgc7: Volatile<u32>,
    // some fields omitted
}

doc/teensy_3.2.pdf - Page 236 SIM memory map

Fields

scgc1: Volatile<u32>scgc2: Volatile<u32>scgc3: Volatile<u32>scgc4: Volatile<u32>scgc5: Volatile<u32>scgc6: Volatile<u32>scgc7: Volatile<u32>

Methods

impl Sim[src]

pub unsafe fn new() -> &'static mut Sim[src]

Base address to create the struct found at doc/teensy_3.2.pdf - Page 236

pub fn enable_clock(&mut self, clock: Clock)[src]

Clock gating control bits found at doc/teensy_3.2.pdf - page 254

pub fn set_dividers(&mut self, core: u32, bus: u32, flash: u32)[src]

12.2.15 System Clock Divider Register 1 found at doc/teensy_3.2.pdf - page 259

Auto Trait Implementations

impl Send for Sim

impl Sync for Sim

impl Unpin for Sim

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.