[][src]Struct sunrise_kernel::timer::KernelTimerInfo

struct KernelTimerInfo {
    oscillator_frequency: u64,
    pub irq_period_ns: u64,
    pub irq_number: u8,
}

This represent the information to derive all internal timing in Sunrise.

Fields

oscillator_frequency: u64

The frequency of the oscillator used as primary source of this timer, when not divided, in Hertz.

The value here is only informative, you should use .irq_periode_ns.

irq_period_ns: u64

The IRQ period used on this timer in nanoseconds.

irq_number: u8

The IRQ number that the timer use.

Auto Trait Implementations

impl RefUnwindSafe for KernelTimerInfo

impl Send for KernelTimerInfo

impl Sync for KernelTimerInfo

impl Unpin for KernelTimerInfo

impl UnwindSafe for KernelTimerInfo

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.