Type Alias R

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

Register SQR3 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn sq(&self, n: u8) -> SQ_R

(1-6) conversion in regular sequence

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

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

Iterator for array of: (1-6) conversion in regular sequence

Source

pub fn sq1(&self) -> SQ_R

Bits 0:4 - 1 conversion in regular sequence

Source

pub fn sq2(&self) -> SQ_R

Bits 5:9 - 2 conversion in regular sequence

Source

pub fn sq3(&self) -> SQ_R

Bits 10:14 - 3 conversion in regular sequence

Source

pub fn sq4(&self) -> SQ_R

Bits 15:19 - 4 conversion in regular sequence

Source

pub fn sq5(&self) -> SQ_R

Bits 20:24 - 5 conversion in regular sequence

Source

pub fn sq6(&self) -> SQ_R

Bits 25:29 - 6 conversion in regular sequence

Trait Implementations§

Source§

impl Debug for R

Source§

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

Formats the value using the given formatter. Read more