pub struct TVE_TOP { /* private fields */ }Expand description
TV Encoder TOP
Implementations§
Source§impl TVE_TOP
impl TVE_TOP
Sourcepub const PTR: *const RegisterBlock = {0x5600000 as *const tve_top::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x5600000 as *const tve_top::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 tve_dac_map(&self) -> &TVE_DAC_MAP
pub fn tve_dac_map(&self) -> &TVE_DAC_MAP
0x20 - TV Encoder DAC MAP Register
Sourcepub fn tve_dac_status(&self) -> &TVE_DAC_STATUS
pub fn tve_dac_status(&self) -> &TVE_DAC_STATUS
0x24 - TV Encoder DAC STAUTS Register
Sourcepub fn tve_dac_cfg0(&self) -> &TVE_DAC_CFG0
pub fn tve_dac_cfg0(&self) -> &TVE_DAC_CFG0
0x28 - TV Encoder DAC CFG0 Register
Sourcepub fn tve_dac_cfg1(&self) -> &TVE_DAC_CFG1
pub fn tve_dac_cfg1(&self) -> &TVE_DAC_CFG1
0x2c - TV Encoder DAC CFG1 Register
Sourcepub fn tve_dac_cfg2(&self) -> &TVE_DAC_CFG2
pub fn tve_dac_cfg2(&self) -> &TVE_DAC_CFG2
0x30 - TV Encoder DAC CFG2 Register
Sourcepub fn tve_dac_cfg3(&self) -> &TVE_DAC_CFG3
pub fn tve_dac_cfg3(&self) -> &TVE_DAC_CFG3
0x34 - TV Encoder DAC CFG2 Register
Sourcepub fn tve_dac_test(&self) -> &TVE_DAC_TEST
pub fn tve_dac_test(&self) -> &TVE_DAC_TEST
0xf0 - TV Encoder DAC TEST Register