pub type W = W<CTL0_SPEC>;Expand description
Register CTL0 writer
Aliased Type§
pub struct W { /* private fields */ }Implementations§
Source§impl W
impl W
Sourcepub fn ctl0_enable(&mut self) -> CTL0_ENABLE_W<'_, CTL0_SPEC, 0>
pub fn ctl0_enable(&mut self) -> CTL0_ENABLE_W<'_, CTL0_SPEC, 0>
Bit 0 - This bit enables the VREF module.
Sourcepub fn ctl0_enablebias(&mut self) -> CTL0_ENABLEBIAS_W<'_, CTL0_SPEC, 1>
pub fn ctl0_enablebias(&mut self) -> CTL0_ENABLEBIAS_W<'_, CTL0_SPEC, 1>
Bit 1 - This bit enables the VREF Bias.
Sourcepub fn ctl0_ibprog(&mut self) -> CTL0_IBPROG_W<'_, CTL0_SPEC, 2>
pub fn ctl0_ibprog(&mut self) -> CTL0_IBPROG_W<'_, CTL0_SPEC, 2>
Bits 2:3 - There bits configure current bias.
Sourcepub fn ctl0_bufconfig(&mut self) -> CTL0_BUFCONFIG_W<'_, CTL0_SPEC, 7>
pub fn ctl0_bufconfig(&mut self) -> CTL0_BUFCONFIG_W<'_, CTL0_SPEC, 7>
Bit 7 - These bits configure output buffer.
Sourcepub fn ctl0_shmode(&mut self) -> CTL0_SHMODE_W<'_, CTL0_SPEC, 8>
pub fn ctl0_shmode(&mut self) -> CTL0_SHMODE_W<'_, CTL0_SPEC, 8>
Bit 8 - This bit enable sample and hold mode
Sourcepub fn ctl0_spare(&mut self) -> CTL0_SPARE_W<'_, CTL0_SPEC, 9>
pub fn ctl0_spare(&mut self) -> CTL0_SPARE_W<'_, CTL0_SPEC, 9>
Bits 9:12 - These bits are reserved