[][src]Struct sunrise_kernel::devices::pit::PITPorts

struct PITPorts {
    port_chan_0: Pio<u8>,
    port_chan_2: Pio<u8>,
    port_cmd: Pio<u8>,
    port_61: Pio<u8>,
}

We put the PIT ports in a structure to have them under a single mutex

Fields

port_chan_0: Pio<u8>port_chan_2: Pio<u8>port_cmd: Pio<u8>port_61: Pio<u8>

Implementations

impl PITPorts[src]

fn write_reload_value(&mut self, channel_selector: ChannelSelector, value: u16)[src]

Writes a reload value in lobyte/hibyte access mode

Auto Trait Implementations

impl RefUnwindSafe for PITPorts

impl Send for PITPorts

impl Sync for PITPorts

impl Unpin for PITPorts

impl UnwindSafe for PITPorts

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.