Struct hpm5361_pac::LIN1
source · pub struct LIN1 { /* private fields */ }
Expand description
LIN1
Implementations§
source§impl LIN1
impl LIN1
sourcepub const PTR: *const RegisterBlock = {0xf0024000 as *const lin0::RegisterBlock}
pub const PTR: *const RegisterBlock = {0xf0024000 as *const lin0::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 data_byte_iter(&self) -> impl Iterator<Item = &DATA_BYTE>
pub fn data_byte_iter(&self) -> impl Iterator<Item = &DATA_BYTE>
Iterator for array of: 0x00..0x08 - no description available
sourcepub fn data_bytedata_byte0(&self) -> &DATA_BYTE
pub fn data_bytedata_byte0(&self) -> &DATA_BYTE
0x00 - no description available
sourcepub fn data_bytedata_byte1(&self) -> &DATA_BYTE
pub fn data_bytedata_byte1(&self) -> &DATA_BYTE
0x01 - no description available
sourcepub fn data_bytedata_byte2(&self) -> &DATA_BYTE
pub fn data_bytedata_byte2(&self) -> &DATA_BYTE
0x02 - no description available
sourcepub fn data_bytedata_byte3(&self) -> &DATA_BYTE
pub fn data_bytedata_byte3(&self) -> &DATA_BYTE
0x03 - no description available
sourcepub fn data_bytedata_byte4(&self) -> &DATA_BYTE
pub fn data_bytedata_byte4(&self) -> &DATA_BYTE
0x04 - no description available
sourcepub fn data_bytedata_byte5(&self) -> &DATA_BYTE
pub fn data_bytedata_byte5(&self) -> &DATA_BYTE
0x05 - no description available
sourcepub fn data_bytedata_byte6(&self) -> &DATA_BYTE
pub fn data_bytedata_byte6(&self) -> &DATA_BYTE
0x06 - no description available
sourcepub fn data_bytedata_byte7(&self) -> &DATA_BYTE
pub fn data_bytedata_byte7(&self) -> &DATA_BYTE
0x07 - no description available
sourcepub fn data_iter(&self) -> impl Iterator<Item = &DATA>
pub fn data_iter(&self) -> impl Iterator<Item = &DATA>
Iterator for array of: 0x00..0x08 - no description available
sourcepub fn data_len_id(&self) -> &DATA_LEN_ID
pub fn data_len_id(&self) -> &DATA_LEN_ID
0x08 - data length and ID register
sourcepub fn control_status(&self) -> &CONTROL_STATUS
pub fn control_status(&self) -> &CONTROL_STATUS
0x0c - control and status register
sourcepub fn timing_control(&self) -> &TIMING_CONTROL
pub fn timing_control(&self) -> &TIMING_CONTROL
0x10 - timing control register
sourcepub fn dma_control(&self) -> &DMA_CONTROL
pub fn dma_control(&self) -> &DMA_CONTROL
0x14 - dma control register