Type Alias R

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

Register SQR2 reader

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

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

(7-12) conversion in regular sequence

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

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

Iterator for array of: (7-12) conversion in regular sequence

Source

pub fn sq7(&self) -> SQ_R

Bits 0:4 - 7 conversion in regular sequence

Source

pub fn sq8(&self) -> SQ_R

Bits 5:9 - 8 conversion in regular sequence

Source

pub fn sq9(&self) -> SQ_R

Bits 10:14 - 9 conversion in regular sequence

Source

pub fn sq10(&self) -> SQ_R

Bits 15:19 - 10 conversion in regular sequence

Source

pub fn sq11(&self) -> SQ_R

Bits 20:24 - 11 conversion in regular sequence

Source

pub fn sq12(&self) -> SQ_R

Bits 25:29 - 12 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