Struct ht32f523x2::sctm0::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {Show 15 fields
pub sctm_cntcfr: SCTM_CNTCFR,
pub gptm_mdcfr: GPTM_MDCFR,
pub gptm_trcfr: GPTM_TRCFR,
pub gptm_ctr: GPTM_CTR,
pub gptm_ch0icfr: GPTM_CH0ICFR,
pub gptm_ch1ocfr: GPTM_CH1OCFR,
pub gptm_chctr: GPTM_CHCTR,
pub gptm_chpolr: GPTM_CHPOLR,
pub gptm_dictr: GPTM_DICTR,
pub gptm_evgr: GPTM_EVGR,
pub gptm_intsr: GPTM_INTSR,
pub gptm_cntr: GPTM_CNTR,
pub gptm_pscr: GPTM_PSCR,
pub gptm_crr: GPTM_CRR,
pub gptm_ch0ccr: GPTM_CH0CCR,
/* private fields */
}
Expand description
Register block
Fields
sctm_cntcfr: SCTM_CNTCFR
0x00 - SCTM_CNTCFR
gptm_mdcfr: GPTM_MDCFR
0x04 - GPTM_MDCFR
gptm_trcfr: GPTM_TRCFR
0x08 - GPTM_TRCFR
gptm_ctr: GPTM_CTR
0x10 - GPTM_CTR
gptm_ch0icfr: GPTM_CH0ICFR
0x20 - GPTM_CH0ICFR
gptm_ch1ocfr: GPTM_CH1OCFR
0x44 - GPTM_CH1OCFR
gptm_chctr: GPTM_CHCTR
0x50 - GPTM_CHCTR
gptm_chpolr: GPTM_CHPOLR
0x54 - GPTM_CHPOLR
gptm_dictr: GPTM_DICTR
0x74 - GPTM_DICTR
gptm_evgr: GPTM_EVGR
0x78 - GPTM_EVGR
gptm_intsr: GPTM_INTSR
0x7c - GPTM_INTSR
gptm_cntr: GPTM_CNTR
0x80 - GPTM_CNTR
gptm_pscr: GPTM_PSCR
0x84 - GPTM_PSCR
gptm_crr: GPTM_CRR
0x88 - GPTM_CRR
gptm_ch0ccr: GPTM_CH0CCR
0x90 - GPTM_CH0CCR
Auto Trait Implementations
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more