Struct gd32vf103_pac::timer5::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {
pub ctl0: CTL0,
pub ctl1: CTL1,
pub dmainten: DMAINTEN,
pub intf: INTF,
pub swevg: SWEVG,
pub cnt: CNT,
pub psc: PSC,
pub car: CAR,
/* private fields */
}
Expand description
Register block
Fields§
§ctl0: CTL0
0x00 - control register 0
ctl1: CTL1
0x04 - control register 1
dmainten: DMAINTEN
0x0c - DMA/Interrupt enable register
intf: INTF
0x10 - Interrupt flag register
swevg: SWEVG
0x14 - event generation register
cnt: CNT
0x24 - Counter register
psc: PSC
0x28 - Prescaler register
car: CAR
0x2c - Counter auto reload register
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more