Struct hpm5361_pac::MCAN0
source · pub struct MCAN0 { /* private fields */ }
Expand description
MCAN0
Implementations§
source§impl MCAN0
impl MCAN0
sourcepub const PTR: *const RegisterBlock = {0xf0280000 as *const mcan0::RegisterBlock}
pub const PTR: *const RegisterBlock = {0xf0280000 as *const mcan0::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 dbtp(&self) -> &DBTP
pub fn dbtp(&self) -> &DBTP
0x0c - data bit timing and prescaler, writeable when CCCR.CCE and CCCR.INT are set
sourcepub fn ts_sel_iter(&self) -> impl Iterator<Item = &TS_SEL>
pub fn ts_sel_iter(&self) -> impl Iterator<Item = &TS_SEL>
Iterator for array of: 0x200..0x240 - no description available
sourcepub fn ts_selts_sel0(&self) -> &TS_SEL
pub fn ts_selts_sel0(&self) -> &TS_SEL
0x200 - no description available
sourcepub fn ts_selts_sel1(&self) -> &TS_SEL
pub fn ts_selts_sel1(&self) -> &TS_SEL
0x204 - no description available
sourcepub fn ts_selts_sel2(&self) -> &TS_SEL
pub fn ts_selts_sel2(&self) -> &TS_SEL
0x208 - no description available
sourcepub fn ts_selts_sel3(&self) -> &TS_SEL
pub fn ts_selts_sel3(&self) -> &TS_SEL
0x20c - no description available
sourcepub fn ts_selts_sel4(&self) -> &TS_SEL
pub fn ts_selts_sel4(&self) -> &TS_SEL
0x210 - no description available
sourcepub fn ts_selts_sel5(&self) -> &TS_SEL
pub fn ts_selts_sel5(&self) -> &TS_SEL
0x214 - no description available
sourcepub fn ts_selts_sel6(&self) -> &TS_SEL
pub fn ts_selts_sel6(&self) -> &TS_SEL
0x218 - no description available
sourcepub fn ts_selts_sel7(&self) -> &TS_SEL
pub fn ts_selts_sel7(&self) -> &TS_SEL
0x21c - no description available
sourcepub fn ts_selts_sel8(&self) -> &TS_SEL
pub fn ts_selts_sel8(&self) -> &TS_SEL
0x220 - no description available
sourcepub fn ts_selts_sel9(&self) -> &TS_SEL
pub fn ts_selts_sel9(&self) -> &TS_SEL
0x224 - no description available
sourcepub fn ts_selts_sel10(&self) -> &TS_SEL
pub fn ts_selts_sel10(&self) -> &TS_SEL
0x228 - no description available
sourcepub fn ts_selts_sel11(&self) -> &TS_SEL
pub fn ts_selts_sel11(&self) -> &TS_SEL
0x22c - no description available
sourcepub fn ts_selts_sel12(&self) -> &TS_SEL
pub fn ts_selts_sel12(&self) -> &TS_SEL
0x230 - no description available
sourcepub fn ts_selts_sel13(&self) -> &TS_SEL
pub fn ts_selts_sel13(&self) -> &TS_SEL
0x234 - no description available
sourcepub fn ts_selts_sel14(&self) -> &TS_SEL
pub fn ts_selts_sel14(&self) -> &TS_SEL
0x238 - no description available
sourcepub fn ts_selts_sel15(&self) -> &TS_SEL
pub fn ts_selts_sel15(&self) -> &TS_SEL
0x23c - no description available
sourcepub fn glb_status(&self) -> &GLB_STATUS
pub fn glb_status(&self) -> &GLB_STATUS
0x404 - global status