Struct xmc4800::sdmmc::host_ctrl::HostCtrlSpec
source · pub struct HostCtrlSpec;
Expand description
Host Control Register
You can read
this register and get host_ctrl::R
. You can reset
, write
, write_with_zero
this register using host_ctrl::W
. You can also modify
this register. See API.
Trait Implementations§
source§impl RegisterSpec for HostCtrlSpec
impl RegisterSpec for HostCtrlSpec
source§impl Resettable for HostCtrlSpec
impl Resettable for HostCtrlSpec
reset()
method sets HOST_CTRL to value 0
source§const RESET_VALUE: u8 = 0u8
const RESET_VALUE: u8 = 0u8
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 HostCtrlSpec
impl Writable for HostCtrlSpec
write(|w| ..)
method takes host_ctrl::W
writer structure
source§const ZERO_TO_MODIFY_FIELDS_BITMAP: u8 = 0u8
const ZERO_TO_MODIFY_FIELDS_BITMAP: u8 = 0u8
Specifies the register bits that are not changed if you pass
1
and are changed if you pass 0
source§const ONE_TO_MODIFY_FIELDS_BITMAP: u8 = 0u8
const ONE_TO_MODIFY_FIELDS_BITMAP: u8 = 0u8
Specifies the register bits that are not changed if you pass
0
and are changed if you pass 1
impl Readable for HostCtrlSpec
read()
method returns host_ctrl::R
reader structure
Auto Trait Implementations§
impl RefUnwindSafe for HostCtrlSpec
impl Send for HostCtrlSpec
impl Sync for HostCtrlSpec
impl Unpin for HostCtrlSpec
impl UnwindSafe for HostCtrlSpec
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