[][src]Type Definition ambiq_apollo1_pac::vcomp::cfg::W

type W = W<u32, CFG>;

Writer for register CFG

Methods

impl W[src]

pub fn lvlsel(&mut self) -> LVLSEL_W[src]

Bits 16:19 - When the reference input NSEL is set to NSEL_DAC, this bitfield selects the voltage level for the negative input to the comparator.

pub fn nsel(&mut self) -> NSEL_W[src]

Bits 8:9 - This bitfield selects the negative input to the comparator.

pub fn psel(&mut self) -> PSEL_W[src]

Bits 0:1 - This bitfield selects the positive input to the comparator.