pub struct W(_);
Expand description
Register U3_CONF1
writer
Implementations§
§impl W
impl W
pub fn cnt_thres0_u3(
&mut self
) -> FieldWriterRaw<'_, u32, U3_CONF1_SPEC, u16, u16, Unsafe, 16, 0>
pub fn cnt_thres0_u3(
&mut self
) -> FieldWriterRaw<'_, u32, U3_CONF1_SPEC, u16, u16, Unsafe, 16, 0>
Bits 0:15 - This register is used to configure thres0 value for unit3.
pub fn cnt_thres1_u3(
&mut self
) -> FieldWriterRaw<'_, u32, U3_CONF1_SPEC, u16, u16, Unsafe, 16, 16>
pub fn cnt_thres1_u3(
&mut self
) -> FieldWriterRaw<'_, u32, U3_CONF1_SPEC, u16, u16, Unsafe, 16, 16>
Bits 16:31 - This register is used to configure thres1 value for unit3.
Methods from Deref<Target = W<U3_CONF1_SPEC>>§
pub 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.
Safety
Read datasheet or reference manual to find what values are allowed to pass.
Trait Implementations§
§impl From<W<U3_CONF1_SPEC>> for W
impl From<W<U3_CONF1_SPEC>> for W
§fn from(writer: W<U3_CONF1_SPEC>) -> W
fn from(writer: W<U3_CONF1_SPEC>) -> W
Converts to this type from the input type.