[][src]Struct trinket_m0::usb::HOST

#[repr(C)]
pub struct HOST { pub ctrla: CTRLA, pub syncbusy: SYNCBUSY, pub qosctrl: QOSCTRL, pub ctrlb: CTRLB, pub hsofc: HSOFC, pub status: STATUS, pub fsmstatus: FSMSTATUS, pub fnum: FNUM, pub flenhigh: FLENHIGH, pub intenclr: INTENCLR, pub intenset: INTENSET, pub intflag: INTFLAG, pub pintsmry: PINTSMRY, pub descadd: DESCADD, pub padcal: PADCAL, pub pcfg0: PCFG, pub binterval0: BINTERVAL, pub pstatusclr0: PSTATUSCLR, pub pstatusset0: PSTATUSSET, pub pstatus0: PSTATUS, pub pintflag0: PINTFLAG, pub pintenclr0: PINTENCLR, pub pintenset0: PINTENSET, pub pcfg1: PCFG, pub binterval1: BINTERVAL, pub pstatusclr1: PSTATUSCLR, pub pstatusset1: PSTATUSSET, pub pstatus1: PSTATUS, pub pintflag1: PINTFLAG, pub pintenclr1: PINTENCLR, pub pintenset1: PINTENSET, pub pcfg2: PCFG, pub binterval2: BINTERVAL, pub pstatusclr2: PSTATUSCLR, pub pstatusset2: PSTATUSSET, pub pstatus2: PSTATUS, pub pintflag2: PINTFLAG, pub pintenclr2: PINTENCLR, pub pintenset2: PINTENSET, pub pcfg3: PCFG, pub binterval3: BINTERVAL, pub pstatusclr3: PSTATUSCLR, pub pstatusset3: PSTATUSSET, pub pstatus3: PSTATUS, pub pintflag3: PINTFLAG, pub pintenclr3: PINTENCLR, pub pintenset3: PINTENSET, pub pcfg4: PCFG, pub binterval4: BINTERVAL, pub pstatusclr4: PSTATUSCLR, pub pstatusset4: PSTATUSSET, pub pstatus4: PSTATUS, pub pintflag4: PINTFLAG, pub pintenclr4: PINTENCLR, pub pintenset4: PINTENSET, pub pcfg5: PCFG, pub binterval5: BINTERVAL, pub pstatusclr5: PSTATUSCLR, pub pstatusset5: PSTATUSSET, pub pstatus5: PSTATUS, pub pintflag5: PINTFLAG, pub pintenclr5: PINTENCLR, pub pintenset5: PINTENSET, pub pcfg6: PCFG, pub binterval6: BINTERVAL, pub pstatusclr6: PSTATUSCLR, pub pstatusset6: PSTATUSSET, pub pstatus6: PSTATUS, pub pintflag6: PINTFLAG, pub pintenclr6: PINTENCLR, pub pintenset6: PINTENSET, pub pcfg7: PCFG, pub binterval7: BINTERVAL, pub pstatusclr7: PSTATUSCLR, pub pstatusset7: PSTATUSSET, pub pstatus7: PSTATUS, pub pintflag7: PINTFLAG, pub pintenclr7: PINTENCLR, pub pintenset7: PINTENSET, // some fields omitted }

Register block

Fields

ctrla: CTRLA

0x00 - Control A

syncbusy: SYNCBUSY

0x02 - Synchronization Busy

qosctrl: QOSCTRL

0x03 - USB Quality Of Service

ctrlb: CTRLB

0x08 - HOST Control B

hsofc: HSOFC

0x0a - HOST Host Start Of Frame Control

status: STATUS

0x0c - HOST Status

fsmstatus: FSMSTATUS

0x0d - Finite State Machine Status

fnum: FNUM

0x10 - HOST Host Frame Number

flenhigh: FLENHIGH

0x12 - HOST Host Frame Length

intenclr: INTENCLR

0x14 - HOST Host Interrupt Enable Clear

intenset: INTENSET

0x18 - HOST Host Interrupt Enable Set

intflag: INTFLAG

0x1c - HOST Host Interrupt Flag

pintsmry: PINTSMRY

0x20 - HOST Pipe Interrupt Summary

descadd: DESCADD

0x24 - Descriptor Address

padcal: PADCAL

0x28 - USB PAD Calibration

pcfg0: PCFG

0x100 - HOST End Point Configuration

binterval0: BINTERVAL

0x103 - HOST Bus Access Period of Pipe

pstatusclr0: PSTATUSCLR

0x104 - HOST End Point Pipe Status Clear

pstatusset0: PSTATUSSET

0x105 - HOST End Point Pipe Status Set

pstatus0: PSTATUS

0x106 - HOST End Point Pipe Status

pintflag0: PINTFLAG

0x107 - HOST Pipe Interrupt Flag

pintenclr0: PINTENCLR

0x108 - HOST Pipe Interrupt Flag Clear

pintenset0: PINTENSET

0x109 - HOST Pipe Interrupt Flag Set

pcfg1: PCFG

0x120 - HOST End Point Configuration

binterval1: BINTERVAL

0x123 - HOST Bus Access Period of Pipe

pstatusclr1: PSTATUSCLR

0x124 - HOST End Point Pipe Status Clear

pstatusset1: PSTATUSSET

0x125 - HOST End Point Pipe Status Set

pstatus1: PSTATUS

0x126 - HOST End Point Pipe Status

pintflag1: PINTFLAG

0x127 - HOST Pipe Interrupt Flag

pintenclr1: PINTENCLR

0x128 - HOST Pipe Interrupt Flag Clear

pintenset1: PINTENSET

0x129 - HOST Pipe Interrupt Flag Set

pcfg2: PCFG

0x140 - HOST End Point Configuration

binterval2: BINTERVAL

0x143 - HOST Bus Access Period of Pipe

pstatusclr2: PSTATUSCLR

0x144 - HOST End Point Pipe Status Clear

pstatusset2: PSTATUSSET

0x145 - HOST End Point Pipe Status Set

pstatus2: PSTATUS

0x146 - HOST End Point Pipe Status

pintflag2: PINTFLAG

0x147 - HOST Pipe Interrupt Flag

pintenclr2: PINTENCLR

0x148 - HOST Pipe Interrupt Flag Clear

pintenset2: PINTENSET

0x149 - HOST Pipe Interrupt Flag Set

pcfg3: PCFG

0x160 - HOST End Point Configuration

binterval3: BINTERVAL

0x163 - HOST Bus Access Period of Pipe

pstatusclr3: PSTATUSCLR

0x164 - HOST End Point Pipe Status Clear

pstatusset3: PSTATUSSET

0x165 - HOST End Point Pipe Status Set

pstatus3: PSTATUS

0x166 - HOST End Point Pipe Status

pintflag3: PINTFLAG

0x167 - HOST Pipe Interrupt Flag

pintenclr3: PINTENCLR

0x168 - HOST Pipe Interrupt Flag Clear

pintenset3: PINTENSET

0x169 - HOST Pipe Interrupt Flag Set

pcfg4: PCFG

0x180 - HOST End Point Configuration

binterval4: BINTERVAL

0x183 - HOST Bus Access Period of Pipe

pstatusclr4: PSTATUSCLR

0x184 - HOST End Point Pipe Status Clear

pstatusset4: PSTATUSSET

0x185 - HOST End Point Pipe Status Set

pstatus4: PSTATUS

0x186 - HOST End Point Pipe Status

pintflag4: PINTFLAG

0x187 - HOST Pipe Interrupt Flag

pintenclr4: PINTENCLR

0x188 - HOST Pipe Interrupt Flag Clear

pintenset4: PINTENSET

0x189 - HOST Pipe Interrupt Flag Set

pcfg5: PCFG

0x1a0 - HOST End Point Configuration

binterval5: BINTERVAL

0x1a3 - HOST Bus Access Period of Pipe

pstatusclr5: PSTATUSCLR

0x1a4 - HOST End Point Pipe Status Clear

pstatusset5: PSTATUSSET

0x1a5 - HOST End Point Pipe Status Set

pstatus5: PSTATUS

0x1a6 - HOST End Point Pipe Status

pintflag5: PINTFLAG

0x1a7 - HOST Pipe Interrupt Flag

pintenclr5: PINTENCLR

0x1a8 - HOST Pipe Interrupt Flag Clear

pintenset5: PINTENSET

0x1a9 - HOST Pipe Interrupt Flag Set

pcfg6: PCFG

0x1c0 - HOST End Point Configuration

binterval6: BINTERVAL

0x1c3 - HOST Bus Access Period of Pipe

pstatusclr6: PSTATUSCLR

0x1c4 - HOST End Point Pipe Status Clear

pstatusset6: PSTATUSSET

0x1c5 - HOST End Point Pipe Status Set

pstatus6: PSTATUS

0x1c6 - HOST End Point Pipe Status

pintflag6: PINTFLAG

0x1c7 - HOST Pipe Interrupt Flag

pintenclr6: PINTENCLR

0x1c8 - HOST Pipe Interrupt Flag Clear

pintenset6: PINTENSET

0x1c9 - HOST Pipe Interrupt Flag Set

pcfg7: PCFG

0x1e0 - HOST End Point Configuration

binterval7: BINTERVAL

0x1e3 - HOST Bus Access Period of Pipe

pstatusclr7: PSTATUSCLR

0x1e4 - HOST End Point Pipe Status Clear

pstatusset7: PSTATUSSET

0x1e5 - HOST End Point Pipe Status Set

pstatus7: PSTATUS

0x1e6 - HOST End Point Pipe Status

pintflag7: PINTFLAG

0x1e7 - HOST Pipe Interrupt Flag

pintenclr7: PINTENCLR

0x1e8 - HOST Pipe Interrupt Flag Clear

pintenset7: PINTENSET

0x1e9 - HOST Pipe Interrupt Flag Set

Auto Trait Implementations

impl Send for HOST

impl !Sync for HOST

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]