[][src]Type Definition ambiq_apollo3p_pac::ctimer::stcfg::R

type R = R<u32, STCFG>;

Reader of register STCFG

Methods

impl R[src]

pub fn freeze(&self) -> FREEZE_R[src]

Bit 31 - Set this bit to one to freeze the clock input to the COUNTER register. Once frozen, the value can be safely written from the MCU. Unfreeze to resume.

pub fn clear(&self) -> CLEAR_R[src]

Bit 30 - Set this bit to one to clear the System Timer register. If this bit is set to '1', the system timer register will stay cleared. It needs to be set to '0' for the system timer to start running.

pub fn compare_h_en(&self) -> COMPARE_H_EN_R[src]

Bit 15 - Selects whether compare is enabled for the corresponding SCMPR register. If compare is enabled, the interrupt status is set once the comparison is met.

pub fn compare_g_en(&self) -> COMPARE_G_EN_R[src]

Bit 14 - Selects whether compare is enabled for the corresponding SCMPR register. If compare is enabled, the interrupt status is set once the comparison is met.

pub fn compare_f_en(&self) -> COMPARE_F_EN_R[src]

Bit 13 - Selects whether compare is enabled for the corresponding SCMPR register. If compare is enabled, the interrupt status is set once the comparison is met.

pub fn compare_e_en(&self) -> COMPARE_E_EN_R[src]

Bit 12 - Selects whether compare is enabled for the corresponding SCMPR register. If compare is enabled, the interrupt status is set once the comparison is met.

pub fn compare_d_en(&self) -> COMPARE_D_EN_R[src]

Bit 11 - Selects whether compare is enabled for the corresponding SCMPR register. If compare is enabled, the interrupt status is set once the comparison is met.

pub fn compare_c_en(&self) -> COMPARE_C_EN_R[src]

Bit 10 - Selects whether compare is enabled for the corresponding SCMPR register. If compare is enabled, the interrupt status is set once the comparison is met.

pub fn compare_b_en(&self) -> COMPARE_B_EN_R[src]

Bit 9 - Selects whether compare is enabled for the corresponding SCMPR register. If compare is enabled, the interrupt status is set once the comparison is met.

pub fn compare_a_en(&self) -> COMPARE_A_EN_R[src]

Bit 8 - Selects whether compare is enabled for the corresponding SCMPR register. If compare is enabled, the interrupt status is set once the comparison is met.

pub fn clksel(&self) -> CLKSEL_R[src]

Bits 0:3 - Selects an appropriate clock source and divider to use for the System Timer clock.