#[repr(C)]
#[derive(Debug)]
pub struct CH2D {
lbar: LBAR,
_reserved1: [u8; 0x08],
fcr: FCR,
sr: SR,
cr: CR,
_reserved4: [u8; 0x28],
tr1: TR1,
tr2: TR2,
br1: BR1,
sar: SAR,
dar: DAR,
tr3: TR3,
br2: BR2,
_reserved11: [u8; 0x20],
llr: LLR,
}
impl CH2D {
#[inline(always)]
pub const fn lbar(&self) -> &LBAR {
&self.lbar
}
#[inline(always)]
pub const fn fcr(&self) -> &FCR {
&self.fcr
}
#[inline(always)]
pub const fn sr(&self) -> &SR {
&self.sr
}
#[inline(always)]
pub const fn cr(&self) -> &CR {
&self.cr
}
#[inline(always)]
pub const fn tr1(&self) -> &TR1 {
&self.tr1
}
#[inline(always)]
pub const fn tr2(&self) -> &TR2 {
&self.tr2
}
#[inline(always)]
pub const fn br1(&self) -> &BR1 {
&self.br1
}
#[inline(always)]
pub const fn sar(&self) -> &SAR {
&self.sar
}
#[inline(always)]
pub const fn dar(&self) -> &DAR {
&self.dar
}
#[inline(always)]
pub const fn tr3(&self) -> &TR3 {
&self.tr3
}
#[inline(always)]
pub const fn br2(&self) -> &BR2 {
&self.br2
}
#[inline(always)]
pub const fn llr(&self) -> &LLR {
&self.llr
}
}
pub use crate::stm32h7r::hpdma::ch::cr;
pub use crate::stm32h7r::hpdma::ch::fcr;
pub use crate::stm32h7r::hpdma::ch::lbar;
pub use crate::stm32h7r::hpdma::ch::sr;
pub use crate::stm32h7r::hpdma::ch::tr1;
pub use crate::stm32h7r::hpdma::ch::tr2;
pub use crate::stm32h7r::hpdma::ch::CR;
pub use crate::stm32h7r::hpdma::ch::FCR;
pub use crate::stm32h7r::hpdma::ch::LBAR;
pub use crate::stm32h7r::hpdma::ch::SR;
pub use crate::stm32h7r::hpdma::ch::TR1;
pub use crate::stm32h7r::hpdma::ch::TR2;
pub type BR1 = crate::Reg<br1::BR1rs>;
pub mod br1;
pub use crate::stm32h7r::hpdma::ch::dar;
pub use crate::stm32h7r::hpdma::ch::sar;
pub use crate::stm32h7r::hpdma::ch::DAR;
pub use crate::stm32h7r::hpdma::ch::SAR;
pub type TR3 = crate::Reg<tr3::TR3rs>;
pub mod tr3;
pub type BR2 = crate::Reg<br2::BR2rs>;
pub mod br2;
pub type LLR = crate::Reg<llr::LLRrs>;
pub mod llr;