[][src]Struct nuc1xx::usb::RegisterBlock

#[repr(C)]
pub struct RegisterBlock {
    pub usb_inten: USB_INTEN,
    pub usb_intsts: USB_INTSTS,
    pub usb_faddr: USB_FADDR,
    pub usb_epsts: USB_EPSTS,
    pub usb_attr: USB_ATTR,
    pub usb_fldet: USB_FLDET,
    pub usb_bufseg: USB_BUFSEG,
    pub usb_bufseg0: USB_BUFSEG0,
    pub usb_mxpld0: USB_MXPLD0,
    pub usb_cfg0: USB_CFG0,
    pub usb_cfgp0: USB_CFGP0,
    pub usb_bufseg1: USB_BUFSEG1,
    pub usb_mxpld1: USB_MXPLD1,
    pub usb_cfg1: USB_CFG1,
    pub usb_cfgp1: USB_CFGP1,
    pub usb_bufseg2: USB_BUFSEG2,
    pub usb_mxpld2: USB_MXPLD2,
    pub usb_cfg2: USB_CFG2,
    pub usb_cfgp2: USB_CFGP2,
    pub usb_bufseg3: USB_BUFSEG3,
    pub usb_mxpld3: USB_MXPLD3,
    pub usb_cfg3: USB_CFG3,
    pub usb_cfgp3: USB_CFGP3,
    pub usb_bufseg4: USB_BUFSEG4,
    pub usb_mxpld4: USB_MXPLD4,
    pub usb_cfg4: USB_CFG4,
    pub usb_cfgp4: USB_CFGP4,
    pub usb_bufseg5: USB_BUFSEG5,
    pub usb_mxpld5: USB_MXPLD5,
    pub usb_cfg5: USB_CFG5,
    pub usb_cfgp5: USB_CFGP5,
    pub usb_drvse0: USB_DRVSE0,
    pub usb_pdma: USB_PDMA,
    // some fields omitted
}

Register block

Fields

usb_inten: USB_INTEN

0x00 - Interrupt Enable Flag

usb_intsts: USB_INTSTS

0x04 - Interrupt Event Flag

usb_faddr: USB_FADDR

0x08 - Function Address

usb_epsts: USB_EPSTS

0x0c - System state

usb_attr: USB_ATTR

0x10 - Bus state & attribution

usb_fldet: USB_FLDET

0x14 - Device Floating Detected

usb_bufseg: USB_BUFSEG

0x18 - Buffer Segmentation

usb_bufseg0: USB_BUFSEG0

0x20 - Buffer Segmentation of endpoint 0

usb_mxpld0: USB_MXPLD0

0x24 - Maximal payload of endpoint 0

usb_cfg0: USB_CFG0

0x28 - Configuration of endpoint 0

usb_cfgp0: USB_CFGP0

0x2c - stall control register and In/out ready clear flag of endpoint 0

usb_bufseg1: USB_BUFSEG1

0x30 - Buffer Segmentation of endpoint 1

usb_mxpld1: USB_MXPLD1

0x34 - Maximal payload of endpoint 1

usb_cfg1: USB_CFG1

0x38 - Configuration of endpoint 1

usb_cfgp1: USB_CFGP1

0x3c - stall control register and In/out ready clear flag of endpoint 1

usb_bufseg2: USB_BUFSEG2

0x40 - Buffer Segmentation of endpoint 2

usb_mxpld2: USB_MXPLD2

0x44 - Maximal payload of endpoint 2

usb_cfg2: USB_CFG2

0x48 - Configuration of endpoint 2

usb_cfgp2: USB_CFGP2

0x4c - stall control register and In/out ready clear flag of endpoint 2

usb_bufseg3: USB_BUFSEG3

0x50 - Buffer Segmentation of endpoint 3

usb_mxpld3: USB_MXPLD3

0x54 - Maximal payload of endpoint 3

usb_cfg3: USB_CFG3

0x58 - Configuration of endpoint 3

usb_cfgp3: USB_CFGP3

0x5c - stall control register and In/out ready clear flag of endpoint 3

usb_bufseg4: USB_BUFSEG4

0x60 - Buffer Segmentation of endpoint 4

usb_mxpld4: USB_MXPLD4

0x64 - Maximal payload of endpoint 4

usb_cfg4: USB_CFG4

0x68 - Configuration of endpoint 4

usb_cfgp4: USB_CFGP4

0x6c - stall control register and In/out ready clear flag of endpoint 4

usb_bufseg5: USB_BUFSEG5

0x70 - Buffer Segmentation of endpoint 5

usb_mxpld5: USB_MXPLD5

0x74 - Maximal payload of endpoint 5

usb_cfg5: USB_CFG5

0x78 - Configuration of endpoint 5

usb_cfgp5: USB_CFGP5

0x7c - In ready clear flag of endpoint 5

usb_drvse0: USB_DRVSE0

0x90 - Drive Single Ended Zero (SE0) in USB Bus

usb_pdma: USB_PDMA

0xa4 - New description for 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.