Type Alias R

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

Register SQR1 reader

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn l(&self) -> L_R

Bits 0:3 - L3

Source

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

(1-4) 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-4) conversion in regular sequence

Source

pub fn sq1(&self) -> SQ_R

Bits 6:10 - 1 conversion in regular sequence

Source

pub fn sq2(&self) -> SQ_R

Bits 12:16 - 2 conversion in regular sequence

Source

pub fn sq3(&self) -> SQ_R

Bits 18:22 - 3 conversion in regular sequence

Source

pub fn sq4(&self) -> SQ_R

Bits 24:28 - 4 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