Type Alias R

Source
pub type R = R<MISRrs>;
Expand description

Register MISR reader

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn alrmf(&self, n: u8) -> ALRMF_R

Alarm (A,B) masked flag

`n` is number of field in register. `n == 0` corresponds to `ALRAMF` field.
Source

pub fn alrmf_iter(&self) -> impl Iterator<Item = ALRMF_R> + '_

Iterator for array of: Alarm (A,B) masked flag

Source

pub fn alramf(&self) -> ALRMF_R

Bit 0 - Alarm A masked flag

Source

pub fn alrbmf(&self) -> ALRMF_R

Bit 1 - Alarm B masked flag

Source

pub fn wutmf(&self) -> WUTMF_R

Bit 2 - Wakeup timer non-secure masked flag This flag is set by hardware when the wakeup timer non-secure interrupt occurs. This flag must be cleared by software at least 1.5 RTCCLK periods before WUTF is set to 1 again.

Source

pub fn tsmf(&self) -> TSMF_R

Bit 3 - Timestamp non-secure masked flag This flag is set by hardware when a timestamp non-secure interrupt occurs. If ITSF flag is set, TSF must be cleared together with ITSF.

Source

pub fn tsovmf(&self) -> TSOVMF_R

Bit 4 - Timestamp overflow non-secure masked flag This flag is set by hardware when a timestamp interrupt occurs while TSMF is already set. It is recommended to check and then clear TSOVF only after clearing the TSF bit. Otherwise, an overflow might not be noticed if a timestamp event occurs immediately before the TSF bit is cleared.

Source

pub fn itsmf(&self) -> ITSMF_R

Bit 5 - Internal timestamp non-secure masked flag This flag is set by hardware when a timestamp on the internal event occurs and timestamp non-secure interrupt is raised.

Source

pub fn ssrumf(&self) -> SSRUMF_R

Bit 6 - SSR underflow non-secure masked flag This flag is set by hardware when the SSR underflow non-secure interrupt occurs.

Trait Implementations§

Source§

impl Debug for R

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more