pub struct W(/* private fields */);
Expand description
Register ODR
writer
Implementations§
Source§impl W
impl W
Sourcepub fn odr15(&mut self) -> BitWriterRaw<'_, u32, ODR_SPEC, ODR0_A, BitM, 15>
pub fn odr15(&mut self) -> BitWriterRaw<'_, u32, ODR_SPEC, ODR0_A, BitM, 15>
Bit 15 - Port output data (y = 0..15)
Sourcepub fn odr14(&mut self) -> BitWriterRaw<'_, u32, ODR_SPEC, ODR0_A, BitM, 14>
pub fn odr14(&mut self) -> BitWriterRaw<'_, u32, ODR_SPEC, ODR0_A, BitM, 14>
Bit 14 - Port output data (y = 0..15)
Sourcepub fn odr13(&mut self) -> BitWriterRaw<'_, u32, ODR_SPEC, ODR0_A, BitM, 13>
pub fn odr13(&mut self) -> BitWriterRaw<'_, u32, ODR_SPEC, ODR0_A, BitM, 13>
Bit 13 - Port output data (y = 0..15)
Sourcepub fn odr12(&mut self) -> BitWriterRaw<'_, u32, ODR_SPEC, ODR0_A, BitM, 12>
pub fn odr12(&mut self) -> BitWriterRaw<'_, u32, ODR_SPEC, ODR0_A, BitM, 12>
Bit 12 - Port output data (y = 0..15)
Sourcepub fn odr11(&mut self) -> BitWriterRaw<'_, u32, ODR_SPEC, ODR0_A, BitM, 11>
pub fn odr11(&mut self) -> BitWriterRaw<'_, u32, ODR_SPEC, ODR0_A, BitM, 11>
Bit 11 - Port output data (y = 0..15)
Sourcepub fn odr10(&mut self) -> BitWriterRaw<'_, u32, ODR_SPEC, ODR0_A, BitM, 10>
pub fn odr10(&mut self) -> BitWriterRaw<'_, u32, ODR_SPEC, ODR0_A, BitM, 10>
Bit 10 - Port output data (y = 0..15)
Sourcepub fn odr9(&mut self) -> BitWriterRaw<'_, u32, ODR_SPEC, ODR0_A, BitM, 9>
pub fn odr9(&mut self) -> BitWriterRaw<'_, u32, ODR_SPEC, ODR0_A, BitM, 9>
Bit 9 - Port output data (y = 0..15)
Sourcepub fn odr8(&mut self) -> BitWriterRaw<'_, u32, ODR_SPEC, ODR0_A, BitM, 8>
pub fn odr8(&mut self) -> BitWriterRaw<'_, u32, ODR_SPEC, ODR0_A, BitM, 8>
Bit 8 - Port output data (y = 0..15)
Sourcepub fn odr7(&mut self) -> BitWriterRaw<'_, u32, ODR_SPEC, ODR0_A, BitM, 7>
pub fn odr7(&mut self) -> BitWriterRaw<'_, u32, ODR_SPEC, ODR0_A, BitM, 7>
Bit 7 - Port output data (y = 0..15)
Sourcepub fn odr6(&mut self) -> BitWriterRaw<'_, u32, ODR_SPEC, ODR0_A, BitM, 6>
pub fn odr6(&mut self) -> BitWriterRaw<'_, u32, ODR_SPEC, ODR0_A, BitM, 6>
Bit 6 - Port output data (y = 0..15)
Sourcepub fn odr5(&mut self) -> BitWriterRaw<'_, u32, ODR_SPEC, ODR0_A, BitM, 5>
pub fn odr5(&mut self) -> BitWriterRaw<'_, u32, ODR_SPEC, ODR0_A, BitM, 5>
Bit 5 - Port output data (y = 0..15)
Sourcepub fn odr4(&mut self) -> BitWriterRaw<'_, u32, ODR_SPEC, ODR0_A, BitM, 4>
pub fn odr4(&mut self) -> BitWriterRaw<'_, u32, ODR_SPEC, ODR0_A, BitM, 4>
Bit 4 - Port output data (y = 0..15)
Sourcepub fn odr3(&mut self) -> BitWriterRaw<'_, u32, ODR_SPEC, ODR0_A, BitM, 3>
pub fn odr3(&mut self) -> BitWriterRaw<'_, u32, ODR_SPEC, ODR0_A, BitM, 3>
Bit 3 - Port output data (y = 0..15)
Sourcepub fn odr2(&mut self) -> BitWriterRaw<'_, u32, ODR_SPEC, ODR0_A, BitM, 2>
pub fn odr2(&mut self) -> BitWriterRaw<'_, u32, ODR_SPEC, ODR0_A, BitM, 2>
Bit 2 - Port output data (y = 0..15)
Sourcepub fn odr1(&mut self) -> BitWriterRaw<'_, u32, ODR_SPEC, ODR0_A, BitM, 1>
pub fn odr1(&mut self) -> BitWriterRaw<'_, u32, ODR_SPEC, ODR0_A, BitM, 1>
Bit 1 - Port output data (y = 0..15)
Methods from Deref<Target = W<ODR_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§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
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