pub struct TiSysc { /* private fields */ }Implementations§
Source§impl TiSysc
impl TiSysc
Sourcepub fn new(regbits: &'static SyscRegbits) -> Self
pub fn new(regbits: &'static SyscRegbits) -> Self
Creates a new instance.
Sourcepub fn set_offsets(
&mut self,
rev: Option<usize>,
sysc: Option<usize>,
syss: Option<usize>,
)
pub fn set_offsets( &mut self, rev: Option<usize>, sysc: Option<usize>, syss: Option<usize>, )
Sets offsets.
Sourcepub fn set_quirks(&mut self, quirks: SyscQuirks)
pub fn set_quirks(&mut self, quirks: SyscQuirks)
Sets quirks.
Sourcepub fn read_revision(&self) -> u32
pub fn read_revision(&self) -> u32
Reads revision.
Sourcepub fn enable_module(&self)
pub fn enable_module(&self)
Enables module.
Sourcepub fn disable_module(&self)
pub fn disable_module(&self)
Disables module.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for TiSysc
impl RefUnwindSafe for TiSysc
impl Send for TiSysc
impl Sync for TiSysc
impl Unpin for TiSysc
impl UnsafeUnpin for TiSysc
impl UnwindSafe for TiSysc
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