#[repr(C)]
#[derive(Debug)]
pub struct RegisterBlock {
cr: CR,
isr: ISR,
icr: ICR,
dier: DIER,
cntr: CNTR,
perr: PERR,
repr: REPR,
cmp1r: CMP1R,
cmp1cr: CMP1CR,
cmp2r: CMP2R,
cmp3r: CMP3R,
cmp4r: CMP4R,
cpt1r: CPT1R,
cpt2r: CPT2R,
dtr: DTR,
set1r: SET1R,
rst1r: RST1R,
set2r: SET2R,
rst2r: RST2R,
eefr1: EEFR1,
eefr2: EEFR2,
rstr: RSTR,
chpr: CHPR,
cpt1cr: CPT1CR,
cpt2cr: CPT2CR,
outr: OUTR,
fltr: FLTR,
}
impl RegisterBlock {
#[inline(always)]
pub const fn cr(&self) -> &CR {
&self.cr
}
#[inline(always)]
pub const fn isr(&self) -> &ISR {
&self.isr
}
#[inline(always)]
pub const fn icr(&self) -> &ICR {
&self.icr
}
#[inline(always)]
pub const fn dier(&self) -> &DIER {
&self.dier
}
#[inline(always)]
pub const fn cntr(&self) -> &CNTR {
&self.cntr
}
#[inline(always)]
pub const fn perr(&self) -> &PERR {
&self.perr
}
#[inline(always)]
pub const fn repr(&self) -> &REPR {
&self.repr
}
#[inline(always)]
pub const fn cmp1r(&self) -> &CMP1R {
&self.cmp1r
}
#[inline(always)]
pub const fn cmp1cr(&self) -> &CMP1CR {
&self.cmp1cr
}
#[inline(always)]
pub const fn cmp2r(&self) -> &CMP2R {
&self.cmp2r
}
#[inline(always)]
pub const fn cmp3r(&self) -> &CMP3R {
&self.cmp3r
}
#[inline(always)]
pub const fn cmp4r(&self) -> &CMP4R {
&self.cmp4r
}
#[inline(always)]
pub const fn cpt1r(&self) -> &CPT1R {
&self.cpt1r
}
#[inline(always)]
pub const fn cpt2r(&self) -> &CPT2R {
&self.cpt2r
}
#[inline(always)]
pub const fn dtr(&self) -> &DTR {
&self.dtr
}
#[inline(always)]
pub const fn set1r(&self) -> &SET1R {
&self.set1r
}
#[inline(always)]
pub const fn rst1r(&self) -> &RST1R {
&self.rst1r
}
#[inline(always)]
pub const fn set2r(&self) -> &SET2R {
&self.set2r
}
#[inline(always)]
pub const fn rst2r(&self) -> &RST2R {
&self.rst2r
}
#[inline(always)]
pub const fn eefr1(&self) -> &EEFR1 {
&self.eefr1
}
#[inline(always)]
pub const fn eefr2(&self) -> &EEFR2 {
&self.eefr2
}
#[inline(always)]
pub const fn rstr(&self) -> &RSTR {
&self.rstr
}
#[inline(always)]
pub const fn chpr(&self) -> &CHPR {
&self.chpr
}
#[inline(always)]
pub const fn cpt1cr(&self) -> &CPT1CR {
&self.cpt1cr
}
#[inline(always)]
pub const fn cpt2cr(&self) -> &CPT2CR {
&self.cpt2cr
}
#[inline(always)]
pub const fn outr(&self) -> &OUTR {
&self.outr
}
#[inline(always)]
pub const fn fltr(&self) -> &FLTR {
&self.fltr
}
}
pub type CR = crate::Reg<cr::CRrs>;
pub mod cr;
pub use crate::stm32h753::hrtim_master::cmp1r;
pub use crate::stm32h753::hrtim_master::cmp1r as cmp2r;
pub use crate::stm32h753::hrtim_master::cmp1r as cmp3r;
pub use crate::stm32h753::hrtim_master::cmp1r as cmp4r;
pub use crate::stm32h753::hrtim_master::cntr;
pub use crate::stm32h753::hrtim_master::perr;
pub use crate::stm32h753::hrtim_master::repr;
pub use crate::stm32h753::hrtim_master::CMP1R;
pub use crate::stm32h753::hrtim_master::CMP1R as CMP2R;
pub use crate::stm32h753::hrtim_master::CMP1R as CMP3R;
pub use crate::stm32h753::hrtim_master::CMP1R as CMP4R;
pub use crate::stm32h753::hrtim_master::CNTR;
pub use crate::stm32h753::hrtim_master::PERR;
pub use crate::stm32h753::hrtim_master::REPR;
pub use crate::stm32h753::hrtim_tima::cmp1cr;
pub use crate::stm32h753::hrtim_tima::cpt1r;
pub use crate::stm32h753::hrtim_tima::cpt1r as cpt2r;
pub use crate::stm32h753::hrtim_tima::dier;
pub use crate::stm32h753::hrtim_tima::dtr;
pub use crate::stm32h753::hrtim_tima::icr;
pub use crate::stm32h753::hrtim_tima::isr;
pub use crate::stm32h753::hrtim_tima::CMP1CR;
pub use crate::stm32h753::hrtim_tima::CPT1R;
pub use crate::stm32h753::hrtim_tima::CPT1R as CPT2R;
pub use crate::stm32h753::hrtim_tima::DIER;
pub use crate::stm32h753::hrtim_tima::DTR;
pub use crate::stm32h753::hrtim_tima::ICR;
pub use crate::stm32h753::hrtim_tima::ISR;
pub type SET1R = crate::Reg<set1r::SET1Rrs>;
pub mod set1r;
pub type RST1R = crate::Reg<rst1r::RST1Rrs>;
pub mod rst1r;
pub use crate::stm32h753::hrtim_tima::eefr1;
pub use crate::stm32h753::hrtim_tima::eefr2;
pub use crate::stm32h753::hrtim_tima::EEFR1;
pub use crate::stm32h753::hrtim_tima::EEFR2;
pub use rst1r as rst2r;
pub use set1r as set2r;
pub use RST1R as RST2R;
pub use SET1R as SET2R;
pub type RSTR = crate::Reg<rstr::RSTRrs>;
pub mod rstr;
pub use crate::stm32h753::hrtim_tima::chpr;
pub use crate::stm32h753::hrtim_tima::CHPR;
pub type CPT1CR = crate::Reg<cpt1cr::CPT1CRrs>;
pub mod cpt1cr;
pub use crate::stm32h753::hrtim_tima::fltr;
pub use crate::stm32h753::hrtim_tima::outr;
pub use crate::stm32h753::hrtim_tima::FLTR;
pub use crate::stm32h753::hrtim_tima::OUTR;
pub use cpt1cr as cpt2cr;
pub use CPT1CR as CPT2CR;