#[repr(C)]
pub struct RegisterBlock {
Show 150 fields pub udcon: UDCON, pub udint: UDINT, pub udintclr: UDINTCLR, pub udintset: UDINTSET, pub udinte: UDINTE, pub udinteclr: UDINTECLR, pub udinteset: UDINTESET, pub uerst: UERST, pub udfnum: UDFNUM, pub uecfg0: UECFG0, pub uecfg1: UECFG1, pub uecfg2: UECFG2, pub uecfg3: UECFG3, pub uecfg4: UECFG4, pub uecfg5: UECFG5, pub uecfg6: UECFG6, pub uecfg7: UECFG7, pub uesta0: UESTA0, pub uesta1: UESTA1, pub uesta2: UESTA2, pub uesta3: UESTA3, pub uesta4: UESTA4, pub uesta5: UESTA5, pub uesta6: UESTA6, pub uesta7: UESTA7, pub uesta0clr: UESTA0CLR, pub uesta1clr: UESTA1CLR, pub uesta2clr: UESTA2CLR, pub uesta3clr: UESTA3CLR, pub uesta4clr: UESTA4CLR, pub uesta5clr: UESTA5CLR, pub uesta6clr: UESTA6CLR, pub uesta7clr: UESTA7CLR, pub uesta0set: UESTA0SET, pub uesta1set: UESTA1SET, pub uesta2set: UESTA2SET, pub uesta3set: UESTA3SET, pub uesta4set: UESTA4SET, pub uesta5set: UESTA5SET, pub uesta6set: UESTA6SET, pub uesta7set: UESTA7SET, pub uecon0: UECON0, pub uecon1: UECON1, pub uecon2: UECON2, pub uecon3: UECON3, pub uecon4: UECON4, pub uecon5: UECON5, pub uecon6: UECON6, pub uecon7: UECON7, pub uecon0set: UECON0SET, pub uecon1set: UECON1SET, pub uecon2set: UECON2SET, pub uecon3set: UECON3SET, pub uecon4set: UECON4SET, pub uecon5set: UECON5SET, pub uecon6set: UECON6SET, pub uecon7set: UECON7SET, pub uecon0clr: UECON0CLR, pub uecon1clr: UECON1CLR, pub uecon2clr: UECON2CLR, pub uecon3clr: UECON3CLR, pub uecon4clr: UECON4CLR, pub uecon5clr: UECON5CLR, pub uecon6clr: UECON6CLR, pub uecon7clr: UECON7CLR, pub uhcon: UHCON, pub uhint: UHINT, pub uhintclr: UHINTCLR, pub uhintset: UHINTSET, pub uhinte: UHINTE, pub uhinteclr: UHINTECLR, pub uhinteset: UHINTESET, pub uprst: UPRST, pub uhfnum: UHFNUM, pub uhsofc: UHSOFC, pub upcfg0: UPCFG0, pub upcfg1: UPCFG1, pub upcfg2: UPCFG2, pub upcfg3: UPCFG3, pub upcfg4: UPCFG4, pub upcfg5: UPCFG5, pub upcfg6: UPCFG6, pub upcfg7: UPCFG7, pub upsta0: UPSTA0, pub upsta1: UPSTA1, pub upsta2: UPSTA2, pub upsta3: UPSTA3, pub upsta4: UPSTA4, pub upsta5: UPSTA5, pub upsta6: UPSTA6, pub upsta7: UPSTA7, pub upsta0clr: UPSTA0CLR, pub upsta1clr: UPSTA1CLR, pub upsta2clr: UPSTA2CLR, pub upsta3clr: UPSTA3CLR, pub upsta4clr: UPSTA4CLR, pub upsta5clr: UPSTA5CLR, pub upsta6clr: UPSTA6CLR, pub upsta7clr: UPSTA7CLR, pub upsta0set: UPSTA0SET, pub upsta1set: UPSTA1SET, pub upsta2set: UPSTA2SET, pub upsta3set: UPSTA3SET, pub upsta4set: UPSTA4SET, pub upsta5set: UPSTA5SET, pub upsta6set: UPSTA6SET, pub upsta7set: UPSTA7SET, pub upcon0: UPCON0, pub upcon1: UPCON1, pub upcon2: UPCON2, pub upcon3: UPCON3, pub upcon4: UPCON4, pub upcon5: UPCON5, pub upcon6: UPCON6, pub upcon7: UPCON7, pub upcon0set: UPCON0SET, pub upcon1set: UPCON1SET, pub upcon2set: UPCON2SET, pub upcon3set: UPCON3SET, pub upcon4set: UPCON4SET, pub upcon5set: UPCON5SET, pub upcon6set: UPCON6SET, pub upcon7set: UPCON7SET, pub upcon0clr: UPCON0CLR, pub upcon1clr: UPCON1CLR, pub upcon2clr: UPCON2CLR, pub upcon3clr: UPCON3CLR, pub upcon4clr: UPCON4CLR, pub upcon5clr: UPCON5CLR, pub upcon6clr: UPCON6CLR, pub upcon7clr: UPCON7CLR, pub upinrq0: UPINRQ0, pub upinrq1: UPINRQ1, pub upinrq2: UPINRQ2, pub upinrq3: UPINRQ3, pub upinrq4: UPINRQ4, pub upinrq5: UPINRQ5, pub upinrq6: UPINRQ6, pub upinrq7: UPINRQ7, pub usbcon: USBCON, pub usbsta: USBSTA, pub usbstaclr: USBSTACLR, pub usbstaset: USBSTASET, pub uvers: UVERS, pub ufeatures: UFEATURES, pub uaddrsize: UADDRSIZE, pub uname1: UNAME1, pub uname2: UNAME2, pub usbfsm: USBFSM, pub udesc: UDESC, /* private fields */
}
Expand description

Register block

Fields§

§udcon: UDCON

0x00 - Device General Control Register

§udint: UDINT

0x04 - Device Global Interupt Register

§udintclr: UDINTCLR

0x08 - Device Global Interrupt Clear Register

§udintset: UDINTSET

0x0c - Device Global Interrupt Set Regsiter

§udinte: UDINTE

0x10 - Device Global Interrupt Enable Register

§udinteclr: UDINTECLR

0x14 - Device Global Interrupt Enable Clear Register

§udinteset: UDINTESET

0x18 - Device Global Interrupt Enable Set Register

§uerst: UERST

0x1c - Endpoint Enable/Reset Register

§udfnum: UDFNUM

0x20 - Device Frame Number Register

§uecfg0: UECFG0

0x100 - Endpoint Configuration Register

§uecfg1: UECFG1

0x104 - Endpoint Configuration Register

§uecfg2: UECFG2

0x108 - Endpoint Configuration Register

§uecfg3: UECFG3

0x10c - Endpoint Configuration Register

§uecfg4: UECFG4

0x110 - Endpoint Configuration Register

§uecfg5: UECFG5

0x114 - Endpoint Configuration Register

§uecfg6: UECFG6

0x118 - Endpoint Configuration Register

§uecfg7: UECFG7

0x11c - Endpoint Configuration Register

§uesta0: UESTA0

0x130 - Endpoint Status Register

§uesta1: UESTA1

0x134 - Endpoint Status Register

§uesta2: UESTA2

0x138 - Endpoint Status Register

§uesta3: UESTA3

0x13c - Endpoint Status Register

§uesta4: UESTA4

0x140 - Endpoint Status Register

§uesta5: UESTA5

0x144 - Endpoint Status Register

§uesta6: UESTA6

0x148 - Endpoint Status Register

§uesta7: UESTA7

0x14c - Endpoint Status Register

§uesta0clr: UESTA0CLR

0x160 - Endpoint Status Clear Register

§uesta1clr: UESTA1CLR

0x164 - Endpoint Status Clear Register

§uesta2clr: UESTA2CLR

0x168 - Endpoint Status Clear Register

§uesta3clr: UESTA3CLR

0x16c - Endpoint Status Clear Register

§uesta4clr: UESTA4CLR

0x170 - Endpoint Status Clear Register

§uesta5clr: UESTA5CLR

0x174 - Endpoint Status Clear Register

§uesta6clr: UESTA6CLR

0x178 - Endpoint Status Clear Register

§uesta7clr: UESTA7CLR

0x17c - Endpoint Status Clear Register

§uesta0set: UESTA0SET

0x190 - Endpoint Status Set Register

§uesta1set: UESTA1SET

0x194 - Endpoint Status Set Register

§uesta2set: UESTA2SET

0x198 - Endpoint Status Set Register

§uesta3set: UESTA3SET

0x19c - Endpoint Status Set Register

§uesta4set: UESTA4SET

0x1a0 - Endpoint Status Set Register

§uesta5set: UESTA5SET

0x1a4 - Endpoint Status Set Register

§uesta6set: UESTA6SET

0x1a8 - Endpoint Status Set Register

§uesta7set: UESTA7SET

0x1ac - Endpoint Status Set Register

§uecon0: UECON0

0x1c0 - Endpoint Control Register

§uecon1: UECON1

0x1c4 - Endpoint Control Register

§uecon2: UECON2

0x1c8 - Endpoint Control Register

§uecon3: UECON3

0x1cc - Endpoint Control Register

§uecon4: UECON4

0x1d0 - Endpoint Control Register

§uecon5: UECON5

0x1d4 - Endpoint Control Register

§uecon6: UECON6

0x1d8 - Endpoint Control Register

§uecon7: UECON7

0x1dc - Endpoint Control Register

§uecon0set: UECON0SET

0x1f0 - Endpoint Control Set Register

§uecon1set: UECON1SET

0x1f4 - Endpoint Control Set Register

§uecon2set: UECON2SET

0x1f8 - Endpoint Control Set Register

§uecon3set: UECON3SET

0x1fc - Endpoint Control Set Register

§uecon4set: UECON4SET

0x200 - Endpoint Control Set Register

§uecon5set: UECON5SET

0x204 - Endpoint Control Set Register

§uecon6set: UECON6SET

0x208 - Endpoint Control Set Register

§uecon7set: UECON7SET

0x20c - Endpoint Control Set Register

§uecon0clr: UECON0CLR

0x220 - Endpoint Control Clear Register

§uecon1clr: UECON1CLR

0x224 - TXINE Clear

§uecon2clr: UECON2CLR

0x228 - TXINE Clear

§uecon3clr: UECON3CLR

0x22c - TXINE Clear

§uecon4clr: UECON4CLR

0x230 - TXINE Clear

§uecon5clr: UECON5CLR

0x234 - TXINE Clear

§uecon6clr: UECON6CLR

0x238 - TXINE Clear

§uecon7clr: UECON7CLR

0x23c - TXINE Clear

§uhcon: UHCON

0x400 - Host General Control Register

§uhint: UHINT

0x404 - Host Global Interrupt Register

§uhintclr: UHINTCLR

0x408 - Host Global Interrrupt Clear Register

§uhintset: UHINTSET

0x40c - Host Global Interrupt Set Register

§uhinte: UHINTE

0x410 - Host Global Interrupt Enable Register

§uhinteclr: UHINTECLR

0x414 - Host Global Interrupt Enable Clear Register

§uhinteset: UHINTESET

0x418 - Host Global Interrupt Enable Set Register

§uprst: UPRST

0x41c - Pipe Reset Register

§uhfnum: UHFNUM

0x420 - Host Frame Number Register

§uhsofc: UHSOFC

0x424 - Host Start of Frame Control Register

§upcfg0: UPCFG0

0x500 - Pipe Configuration Register

§upcfg1: UPCFG1

0x504 - Pipe Configuration Register

§upcfg2: UPCFG2

0x508 - Pipe Configuration Register

§upcfg3: UPCFG3

0x50c - Pipe Configuration Register

§upcfg4: UPCFG4

0x510 - Pipe Configuration Register

§upcfg5: UPCFG5

0x514 - Pipe Configuration Register

§upcfg6: UPCFG6

0x518 - Pipe Configuration Register

§upcfg7: UPCFG7

0x51c - Pipe Configuration Register

§upsta0: UPSTA0

0x530 - Pipe Status Register

§upsta1: UPSTA1

0x534 - Pipe Status Register

§upsta2: UPSTA2

0x538 - Pipe Status Register

§upsta3: UPSTA3

0x53c - Pipe Status Register

§upsta4: UPSTA4

0x540 - Pipe Status Register

§upsta5: UPSTA5

0x544 - Pipe Status Register

§upsta6: UPSTA6

0x548 - Pipe Status Register

§upsta7: UPSTA7

0x54c - Pipe Status Register

§upsta0clr: UPSTA0CLR

0x560 - Pipe Status Clear Register

§upsta1clr: UPSTA1CLR

0x564 - Pipe Status Clear Register

§upsta2clr: UPSTA2CLR

0x568 - Pipe Status Clear Register

§upsta3clr: UPSTA3CLR

0x56c - Pipe Status Clear Register

§upsta4clr: UPSTA4CLR

0x570 - Pipe Status Clear Register

§upsta5clr: UPSTA5CLR

0x574 - Pipe Status Clear Register

§upsta6clr: UPSTA6CLR

0x578 - Pipe Status Clear Register

§upsta7clr: UPSTA7CLR

0x57c - Pipe Status Clear Register

§upsta0set: UPSTA0SET

0x590 - Pipe Status Set Register

§upsta1set: UPSTA1SET

0x594 - Pipe Status Set Register

§upsta2set: UPSTA2SET

0x598 - Pipe Status Set Register

§upsta3set: UPSTA3SET

0x59c - Pipe Status Set Register

§upsta4set: UPSTA4SET

0x5a0 - Pipe Status Set Register

§upsta5set: UPSTA5SET

0x5a4 - Pipe Status Set Register

§upsta6set: UPSTA6SET

0x5a8 - Pipe Status Set Register

§upsta7set: UPSTA7SET

0x5ac - Pipe Status Set Register

§upcon0: UPCON0

0x5c0 - Pipe Control Register

§upcon1: UPCON1

0x5c4 - Pipe Control Register

§upcon2: UPCON2

0x5c8 - Pipe Control Register

§upcon3: UPCON3

0x5cc - Pipe Control Register

§upcon4: UPCON4

0x5d0 - Pipe Control Register

§upcon5: UPCON5

0x5d4 - Pipe Control Register

§upcon6: UPCON6

0x5d8 - Pipe Control Register

§upcon7: UPCON7

0x5dc - Pipe Control Register

§upcon0set: UPCON0SET

0x5f0 - Pipe Control Set Register

§upcon1set: UPCON1SET

0x5f4 - Pipe Control Set Register

§upcon2set: UPCON2SET

0x5f8 - Pipe Control Set Register

§upcon3set: UPCON3SET

0x5fc - Pipe Control Set Register

§upcon4set: UPCON4SET

0x600 - Pipe Control Set Register

§upcon5set: UPCON5SET

0x604 - Pipe Control Set Register

§upcon6set: UPCON6SET

0x608 - Pipe Control Set Register

§upcon7set: UPCON7SET

0x60c - Pipe Control Set Register

§upcon0clr: UPCON0CLR

0x620 - Pipe Control Clear Register

§upcon1clr: UPCON1CLR

0x624 - Pipe Control Clear Register

§upcon2clr: UPCON2CLR

0x628 - Pipe Control Clear Register

§upcon3clr: UPCON3CLR

0x62c - Pipe Control Clear Register

§upcon4clr: UPCON4CLR

0x630 - Pipe Control Clear Register

§upcon5clr: UPCON5CLR

0x634 - Pipe Control Clear Register

§upcon6clr: UPCON6CLR

0x638 - Pipe Control Clear Register

§upcon7clr: UPCON7CLR

0x63c - Pipe Control Clear Register

§upinrq0: UPINRQ0

0x650 - Pipe In Request

§upinrq1: UPINRQ1

0x654 - Pipe In Request

§upinrq2: UPINRQ2

0x658 - Pipe In Request

§upinrq3: UPINRQ3

0x65c - Pipe In Request

§upinrq4: UPINRQ4

0x660 - Pipe In Request

§upinrq5: UPINRQ5

0x664 - Pipe In Request

§upinrq6: UPINRQ6

0x668 - Pipe In Request

§upinrq7: UPINRQ7

0x66c - Pipe In Request

§usbcon: USBCON

0x800 - General Control Register

§usbsta: USBSTA

0x804 - General Status Register

§usbstaclr: USBSTACLR

0x808 - General Status Clear Register

§usbstaset: USBSTASET

0x80c - General Status Set Register

§uvers: UVERS

0x818 - IP Version Register

§ufeatures: UFEATURES

0x81c - IP Features Register

§uaddrsize: UADDRSIZE

0x820 - IP PB address size Register

§uname1: UNAME1

0x824 - IP Name Part One: HUSB

§uname2: UNAME2

0x828 - IP Name Part Two: HOST

§usbfsm: USBFSM

0x82c - USB internal finite state machine

§udesc: UDESC

0x830 - Endpoint descriptor table

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.