#[repr(C)]
#[derive(Debug)]
pub struct DIEP {
ctl: CTL,
_reserved1: [u8; 0x04],
int: INT,
_reserved2: [u8; 0x04],
tsiz: TSIZ,
_reserved3: [u8; 0x04],
txfsts: TXFSTS,
_reserved_end: [u8; 0x04],
}
impl DIEP {
#[inline(always)]
pub const fn ctl(&self) -> &CTL {
&self.ctl
}
#[inline(always)]
pub const fn int(&self) -> &INT {
&self.int
}
#[inline(always)]
pub const fn tsiz(&self) -> &TSIZ {
&self.tsiz
}
#[inline(always)]
pub const fn txfsts(&self) -> &TXFSTS {
&self.txfsts
}
}
pub type CTL = crate::Reg<ctl::CTLrs>;
pub mod ctl;
pub use crate::stm32f765::otg_fs_device::diep0::int;
pub use crate::stm32f765::otg_fs_device::diep0::INT;
pub type TSIZ = crate::Reg<tsiz::TSIZrs>;
pub mod tsiz;
pub use crate::stm32f765::otg_fs_device::diep0::txfsts;
pub use crate::stm32f765::otg_fs_device::diep0::TXFSTS;