pub type PEAKDETMODE_W<'a, const O: u8> = FieldWriterSafe<'a, u32, HFXOCTRL_SPEC, u8, PEAKDETMODE_A, 2, O>;
Expand description

Field PEAKDETMODE writer - HFXO Automatic Peak Detection Mode

Implementations§

source§

impl<'a, const O: u8> PEAKDETMODE_W<'a, O>

source

pub fn oncecmd(self) -> &'a mut W

Automatic control of HFXO peak detection sequence. Only performs peak detection on initial HFXO startup. CMU_CMD HFXOPEAKDETSTART allowed to be used after HFXORDY=1.

source

pub fn autocmd(self) -> &'a mut W

Automatic control of HFXO peak detection sequence. CMU_CMD HFXOPEAKDETSTART allowed to be used after HFXORDY=1.

source

pub fn cmd(self) -> &'a mut W

CMU_CMD HFXOPEAKDETSTART can be used to trigger the peak detection sequence after HFXORDY=1.

source

pub fn manual(self) -> &'a mut W

CMU_HFXOSTEADYSTATECTRL IBTRIMXOCORE and PEAKDETEN are under full software control and are allowed to be changed once HFXO is ready.