Type Alias R

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

Register SMPR2 reader

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn smp(&self, n: u8) -> SMP_R

Channel (10-18) sample time selection

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

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

Iterator for array of: Channel (10-18) sample time selection

Source

pub fn smp10(&self) -> SMP_R

Bits 0:2 - Channel 10 sample time selection

Source

pub fn smp11(&self) -> SMP_R

Bits 3:5 - Channel 11 sample time selection

Source

pub fn smp12(&self) -> SMP_R

Bits 6:8 - Channel 12 sample time selection

Source

pub fn smp13(&self) -> SMP_R

Bits 9:11 - Channel 13 sample time selection

Source

pub fn smp14(&self) -> SMP_R

Bits 12:14 - Channel 14 sample time selection

Source

pub fn smp15(&self) -> SMP_R

Bits 15:17 - Channel 15 sample time selection

Source

pub fn smp16(&self) -> SMP_R

Bits 18:20 - Channel 16 sample time selection

Source

pub fn smp17(&self) -> SMP_R

Bits 21:23 - Channel 17 sample time selection

Source

pub fn smp18(&self) -> SMP_R

Bits 24:26 - Channel 18 sample time selection

Trait Implementations§

Source§

impl Debug for R

Source§

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

Formats the value using the given formatter. Read more