bl61x_pac/
usb.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#[doc = r"Register block"]
#[repr(C)]
pub struct RegisterBlock {
    capability: CAPABILITY,
    _reserved1: [u8; 0x10],
    operation: OPERATION,
}
impl RegisterBlock {
    #[doc = "0x00 - Host Controller Capability Registers"]
    #[inline(always)]
    pub const fn capability(&self) -> &CAPABILITY {
        &self.capability
    }
    #[doc = "0x10 - Host Controller Operational Registers"]
    #[inline(always)]
    pub const fn operation(&self) -> &OPERATION {
        &self.operation
    }
}
#[doc = "Host Controller Capability Registers"]
pub use self::capability::CAPABILITY;
#[doc = r"Cluster"]
#[doc = "Host Controller Capability Registers"]
pub mod capability;
#[doc = "Host Controller Operational Registers"]
pub use self::operation::OPERATION;
#[doc = r"Cluster"]
#[doc = "Host Controller Operational Registers"]
pub mod operation;