pub struct LineStatusSpec;Expand description
Line status register
You can read this register and get line_status::R. You can reset, write, write_with_zero this register using line_status::W. You can also modify this register. See API.
Trait Implementations§
impl Readable for LineStatusSpec
read() method returns line_status::R reader structure
Source§impl RegisterSpec for LineStatusSpec
impl RegisterSpec for LineStatusSpec
Source§impl Resettable for LineStatusSpec
reset() method sets LINE_STATUS to value 0xc0
impl Resettable for LineStatusSpec
reset() method sets LINE_STATUS to value 0xc0
Source§const RESET_VALUE: u16 = 0xc0
const RESET_VALUE: u16 = 0xc0
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 LineStatusSpec
write(|w| ..) method takes line_status::W writer structure
impl Writable for LineStatusSpec
write(|w| ..) method takes line_status::W writer structure
Source§const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = <Self::Ux>::ZERO
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = <Self::Ux>::ZERO
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: Self::Ux = <Self::Ux>::ZERO
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = <Self::Ux>::ZERO
Specifies the register bits that are not changed if you pass
0 and are changed if you pass 1Auto Trait Implementations§
impl Freeze for LineStatusSpec
impl RefUnwindSafe for LineStatusSpec
impl Send for LineStatusSpec
impl Sync for LineStatusSpec
impl Unpin for LineStatusSpec
impl UnsafeUnpin for LineStatusSpec
impl UnwindSafe for LineStatusSpec
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