Struct Tsr
#[repr(transparent)]pub struct Tsr(pub u32);Expand description
GFXTIM timers status register.
Tuple Fields§
§0: u32Implementations§
§impl Tsr
impl Tsr
pub const fn afcs(&self) -> bool
pub const fn afcs(&self) -> bool
absolute frame counter status This bit returns the status of the absolute frame counter.
pub const fn set_afcs(&mut self, val: bool)
pub const fn set_afcs(&mut self, val: bool)
absolute frame counter status This bit returns the status of the absolute frame counter.
pub const fn alcs(&self) -> bool
pub const fn alcs(&self) -> bool
absolute line counter status This bit returns the status of the absolute line counter.
pub const fn set_alcs(&mut self, val: bool)
pub const fn set_alcs(&mut self, val: bool)
absolute line counter status This bit returns the status of the absolute line counter.
pub const fn rfc1s(&self) -> bool
pub const fn rfc1s(&self) -> bool
relative frame counter 1 status This bit returns the status of the relative frame counter 1.
pub const fn set_rfc1s(&mut self, val: bool)
pub const fn set_rfc1s(&mut self, val: bool)
relative frame counter 1 status This bit returns the status of the relative frame counter 1.
Trait Implementations§
impl Copy for Tsr
impl Eq for Tsr
impl StructuralPartialEq for Tsr
Auto Trait Implementations§
impl Freeze for Tsr
impl RefUnwindSafe for Tsr
impl Send for Tsr
impl Sync for Tsr
impl Unpin for Tsr
impl UnwindSafe for Tsr
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