Struct hpm5361_pac::DAC1
source · pub struct DAC1 { /* private fields */ }
Expand description
DAC1
Implementations§
source§impl DAC1
impl DAC1
sourcepub const PTR: *const RegisterBlock = {0xf3094000 as *const dac0::RegisterBlock}
pub const PTR: *const RegisterBlock = {0xf3094000 as *const dac0::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
sourcepub unsafe fn steal() -> Self
pub unsafe fn steal() -> Self
Steal an instance of this peripheral
§Safety
Ensure that the new instance of the peripheral cannot be used in a way that may race with any existing instances, for example by only accessing read-only or write-only registers, or by consuming the original peripheral and using critical sections to coordinate access between multiple new instances.
Additionally, other software such as HALs may rely on only one peripheral instance existing to ensure memory safety; ensure no stolen instances are passed to such software.
Methods from Deref<Target = RegisterBlock>§
sourcepub fn step_cfg_iter(&self) -> impl Iterator<Item = &STEP_CFG>
pub fn step_cfg_iter(&self) -> impl Iterator<Item = &STEP_CFG>
Iterator for array of: 0x10..0x20 - no description available
sourcepub fn step_cfgstep0(&self) -> &STEP_CFG
pub fn step_cfgstep0(&self) -> &STEP_CFG
0x10 - no description available
sourcepub fn step_cfgstep1(&self) -> &STEP_CFG
pub fn step_cfgstep1(&self) -> &STEP_CFG
0x14 - no description available
sourcepub fn step_cfgstep2(&self) -> &STEP_CFG
pub fn step_cfgstep2(&self) -> &STEP_CFG
0x18 - no description available
sourcepub fn step_cfgstep3(&self) -> &STEP_CFG
pub fn step_cfgstep3(&self) -> &STEP_CFG
0x1c - no description available
sourcepub fn buf_addr_iter(&self) -> impl Iterator<Item = &BUF_ADDR>
pub fn buf_addr_iter(&self) -> impl Iterator<Item = &BUF_ADDR>
Iterator for array of: 0x20..0x28 - no description available
sourcepub fn buf_addrbuf0(&self) -> &BUF_ADDR
pub fn buf_addrbuf0(&self) -> &BUF_ADDR
0x20 - no description available
sourcepub fn buf_addrbuf1(&self) -> &BUF_ADDR
pub fn buf_addrbuf1(&self) -> &BUF_ADDR
0x24 - no description available
sourcepub fn buf_length(&self) -> &BUF_LENGTH
pub fn buf_length(&self) -> &BUF_LENGTH
0x28 - No description avaiable