pub struct R(_);
Expand description
Register OPTCR
reader
Implementations
sourceimpl R
impl R
sourcepub fn optstart(&self) -> OPTSTART_R
pub fn optstart(&self) -> OPTSTART_R
Bit 1 - Option byte start change option configuration bit
sourcepub fn optchangeerrie(&self) -> OPTCHANGEERRIE_R
pub fn optchangeerrie(&self) -> OPTCHANGEERRIE_R
Bit 30 - Option byte change error interrupt enable bit
sourcepub fn swap_bank(&self) -> SWAP_BANK_R
pub fn swap_bank(&self) -> SWAP_BANK_R
Bit 31 - Bank swapping configuration bit
Methods from Deref<Target = R<OPTCR_SPEC>>
sourcepub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations
sourceimpl From<R<OPTCR_SPEC>> for R
impl From<R<OPTCR_SPEC>> for R
sourcefn from(reader: R<OPTCR_SPEC>) -> R
fn from(reader: R<OPTCR_SPEC>) -> R
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more