Type Alias R

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

Register SQR4 reader

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

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

(15-16) conversion in regular sequence

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

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

Iterator for array of: (15-16) conversion in regular sequence

Source

pub fn sq15(&self) -> SQ_R

Bits 0:4 - 15 conversion in regular sequence

Source

pub fn sq16(&self) -> SQ_R

Bits 6:10 - 16 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