[][src]Type Definition imxrt1062_snvs::hpcr::W

type W = W<u32, HPCR>;

Writer for register HPCR

Methods

impl W[src]

pub fn rtc_en(&mut self) -> RTC_EN_W[src]

Bit 0 - HP Real Time Counter Enable

pub fn hpta_en(&mut self) -> HPTA_EN_W[src]

Bit 1 - HP Time Alarm Enable When set, the time alarm interrupt is generated if the value in the HP Time Alarm Registers is equal to the value of the HP Real Time Counter

pub fn dis_pi(&mut self) -> DIS_PI_W[src]

Bit 2 - Disable periodic interrupt in the functional interrupt

pub fn pi_en(&mut self) -> PI_EN_W[src]

Bit 3 - HP Periodic Interrupt Enable The periodic interrupt can be generated only if the HP Real Time Counter is enabled

pub fn pi_freq(&mut self) -> PI_FREQ_W[src]

Bits 4:7 - Periodic Interrupt Frequency Defines frequency of the periodic interrupt

pub fn hpcalb_en(&mut self) -> HPCALB_EN_W[src]

Bit 8 - HP Real Time Counter Calibration Enabled Indicates that the time calibration mechanism is enabled.

pub fn hpcalb_val(&mut self) -> HPCALB_VAL_W[src]

Bits 10:14 - HP Calibration Value Defines signed calibration value for the HP Real Time Counter

pub fn hp_ts(&mut self) -> HP_TS_W[src]

Bit 16 - HP Time Synchronize

pub fn btn_config(&mut self) -> BTN_CONFIG_W[src]

Bits 24:26 - Button Configuration

pub fn btn_mask(&mut self) -> BTN_MASK_W[src]

Bit 27 - Button interrupt mask