pub struct UART0_SPEC;Expand description
Control whether debugger, DMA, core 0 and core 1 can access UART0, and at what security/privilege levels they can do so. Defaults to Secure access from any master. This register is writable only from a Secure, Privileged processor or debugger, with the exception of the NSU bit, which becomes Non-secure-Privileged-writable when the NSP bit is set.
You can read this register and get uart0::R. You can reset, write, write_with_zero this register using uart0::W. You can also modify this register. See API.
Trait Implementations§
Source§impl RegisterSpec for UART0_SPEC
impl RegisterSpec for UART0_SPEC
Source§impl Resettable for UART0_SPEC
reset() method sets UART0 to value 0xfc
impl Resettable for UART0_SPEC
reset() method sets UART0 to value 0xfc
Source§const RESET_VALUE: u32 = 252u32
const RESET_VALUE: u32 = 252u32
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 UART0_SPEC
write(|w| ..) method takes uart0::W writer structure
impl Writable for UART0_SPEC
write(|w| ..) method takes uart0::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 UART0_SPEC
read() method returns uart0::R reader structure
Auto Trait Implementations§
impl Freeze for UART0_SPEC
impl RefUnwindSafe for UART0_SPEC
impl Send for UART0_SPEC
impl Sync for UART0_SPEC
impl Unpin for UART0_SPEC
impl UnwindSafe for UART0_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