Type Alias R

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

Register period_data reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn phase(&self, n: u8) -> PHASE_R

Length of data condition phase (0-3)

NOTE: n is number of field in register. n == 0 corresponds to phase0 field

Source

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

Iterator for array of: Length of data condition phase (0-3)

Source

pub fn phase0(&self) -> PHASE_R

Bits 0:7 - Length of data condition phase 0

Source

pub fn phase1(&self) -> PHASE_R

Bits 8:15 - Length of data condition phase 1

Source

pub fn phase2(&self) -> PHASE_R

Bits 16:23 - Length of data condition phase 2

Source

pub fn phase3(&self) -> PHASE_R

Bits 24:31 - Length of data condition phase 3