#[repr(C)]pub struct RegisterBlock {
pub cr: Reg<CR_SPEC>,
pub ctrl: Reg<CTRL_SPEC>,
pub cntval: Reg<CNTVAL_SPEC>,
}Expand description
Register block
Fields§
§cr: Reg<CR_SPEC>0x00 - D/A Converter Register. This register contains the digital value to be converted to analog and a power control bit.
ctrl: Reg<CTRL_SPEC>0x04 - DAC Control register. This register controls DMA and timer operation.
cntval: Reg<CNTVAL_SPEC>0x08 - DAC Counter Value register. This register contains the reload value for the DAC DMA/Interrupt timer.
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnsafeUnpin 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