[][src]Struct k22f::usbdcd::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub control: CONTROL,
    pub clock: CLOCK,
    pub status: STATUS,
    pub timer0: TIMER0,
    pub timer1: TIMER1,
    // some fields omitted
}

Register block

Fields

control: CONTROL

0x00 - Control register

clock: CLOCK

0x04 - Clock register

status: STATUS

0x08 - Status register

timer0: TIMER0

0x10 - TIMER0 register

timer1: TIMER1

0x14 - TIMER1 register

Methods

impl RegisterBlock[src]

pub fn timer2_bc12(&self) -> &TIMER2_BC12[src]

0x18 - TIMER2_BC12 register

pub fn timer2_bc12_mut(&self) -> &mut TIMER2_BC12[src]

0x18 - TIMER2_BC12 register

pub fn timer2_bc11(&self) -> &TIMER2_BC11[src]

0x18 - TIMER2_BC11 register

pub fn timer2_bc11_mut(&self) -> &mut TIMER2_BC11[src]

0x18 - TIMER2_BC11 register

Auto Trait Implementations

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> Same<T> for T

type Output = T

Should always be Self

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.