pub struct W(_);
Expand description
Register CCHP
writer
Implementations
sourceimpl W
impl W
sourcepub fn poen(&mut self) -> BitWriterRaw<'_, u16, CCHP_SPEC, POEN_A, BitM, 15_u8>
pub fn poen(&mut self) -> BitWriterRaw<'_, u16, CCHP_SPEC, POEN_A, BitM, 15_u8>
Bit 15 - Primary output enable
sourcepub fn oaen(&mut self) -> BitWriterRaw<'_, u16, CCHP_SPEC, OAEN_A, BitM, 14_u8>
pub fn oaen(&mut self) -> BitWriterRaw<'_, u16, CCHP_SPEC, OAEN_A, BitM, 14_u8>
Bit 14 - Output automatic enable
sourcepub fn brkp(&mut self) -> BitWriterRaw<'_, u16, CCHP_SPEC, BRKP_A, BitM, 13_u8>
pub fn brkp(&mut self) -> BitWriterRaw<'_, u16, CCHP_SPEC, BRKP_A, BitM, 13_u8>
Bit 13 - Break polarity
sourcepub fn brken(
&mut self
) -> BitWriterRaw<'_, u16, CCHP_SPEC, BRKEN_A, BitM, 12_u8>
pub fn brken(
&mut self
) -> BitWriterRaw<'_, u16, CCHP_SPEC, BRKEN_A, BitM, 12_u8>
Bit 12 - Break enable
sourcepub fn ros(&mut self) -> BitWriterRaw<'_, u16, CCHP_SPEC, ROS_A, BitM, 11_u8>
pub fn ros(&mut self) -> BitWriterRaw<'_, u16, CCHP_SPEC, ROS_A, BitM, 11_u8>
Bit 11 - Run mode off-state configure
sourcepub fn ios(&mut self) -> BitWriterRaw<'_, u16, CCHP_SPEC, IOS_A, BitM, 10_u8>
pub fn ios(&mut self) -> BitWriterRaw<'_, u16, CCHP_SPEC, IOS_A, BitM, 10_u8>
Bit 10 - Idle mode off-state configure
sourcepub fn prot(
&mut self
) -> FieldWriterRaw<'_, u16, CCHP_SPEC, u8, PROT_A, Safe, 2_u8, 8_u8>
pub fn prot(
&mut self
) -> FieldWriterRaw<'_, u16, CCHP_SPEC, u8, PROT_A, Safe, 2_u8, 8_u8>
Bits 8:9 - Complementary register protect control
Methods from Deref<Target = W<CCHP_SPEC>>
sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Trait Implementations
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