pub struct SOF_RD_SPEC;Expand description
Read the last SOF (Start of Frame) frame number seen. In device mode the last SOF received from the host. In host mode the last SOF sent by the host.
You can read this register and get sof_rd::R. You can reset, write, write_with_zero this register using sof_rd::W. You can also modify this register. See API.
Trait Implementations§
Source§impl RegisterSpec for SOF_RD_SPEC
impl RegisterSpec for SOF_RD_SPEC
Source§impl Resettable for SOF_RD_SPEC
reset() method sets SOF_RD to value 0
impl Resettable for SOF_RD_SPEC
reset() method sets SOF_RD to value 0
Source§const RESET_VALUE: u32 = 0u32
const RESET_VALUE: u32 = 0u32
Reset value of the register.
Source§fn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
Source§impl Writable for SOF_RD_SPEC
write(|w| ..) method takes sof_rd::W writer structure
impl Writable for SOF_RD_SPEC
write(|w| ..) method takes sof_rd::W writer structure
Source§const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0u32
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0u32
Specifies the register bits that are not changed if you pass
1 and are changed if you pass 0Source§const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0u32
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0u32
Specifies the register bits that are not changed if you pass
0 and are changed if you pass 1impl Readable for SOF_RD_SPEC
read() method returns sof_rd::R reader structure
Auto Trait Implementations§
impl Freeze for SOF_RD_SPEC
impl RefUnwindSafe for SOF_RD_SPEC
impl Send for SOF_RD_SPEC
impl Sync for SOF_RD_SPEC
impl Unpin for SOF_RD_SPEC
impl UnwindSafe for SOF_RD_SPEC
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
Source§impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more