Type Alias R

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

Register IOSCR reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn g_io1(&self, n: u8) -> G_IO1_R

G(1-8)_IO1 sampling mode

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

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

Iterator for array of: G(1-8)_IO1 sampling mode

Source

pub fn g1_io1(&self) -> G_IO1_R

Bit 0 - G1_IO1 sampling mode

Source

pub fn g2_io1(&self) -> G_IO1_R

Bit 4 - G2_IO1 sampling mode

Source

pub fn g3_io1(&self) -> G_IO1_R

Bit 8 - G3_IO1 sampling mode

Source

pub fn g4_io1(&self) -> G_IO1_R

Bit 12 - G4_IO1 sampling mode

Source

pub fn g5_io1(&self) -> G_IO1_R

Bit 16 - G5_IO1 sampling mode

Source

pub fn g6_io1(&self) -> G_IO1_R

Bit 20 - G6_IO1 sampling mode

Source

pub fn g7_io1(&self) -> G_IO1_R

Bit 24 - G7_IO1 sampling mode

Source

pub fn g8_io1(&self) -> G_IO1_R

Bit 28 - G8_IO1 sampling mode

Source

pub fn g_io2(&self, n: u8) -> G_IO2_R

G(1-8)_IO2 sampling mode

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

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

Iterator for array of: G(1-8)_IO2 sampling mode

Source

pub fn g1_io2(&self) -> G_IO2_R

Bit 1 - G1_IO2 sampling mode

Source

pub fn g2_io2(&self) -> G_IO2_R

Bit 5 - G2_IO2 sampling mode

Source

pub fn g3_io2(&self) -> G_IO2_R

Bit 9 - G3_IO2 sampling mode

Source

pub fn g4_io2(&self) -> G_IO2_R

Bit 13 - G4_IO2 sampling mode

Source

pub fn g5_io2(&self) -> G_IO2_R

Bit 17 - G5_IO2 sampling mode

Source

pub fn g6_io2(&self) -> G_IO2_R

Bit 21 - G6_IO2 sampling mode

Source

pub fn g7_io2(&self) -> G_IO2_R

Bit 25 - G7_IO2 sampling mode

Source

pub fn g8_io2(&self) -> G_IO2_R

Bit 29 - G8_IO2 sampling mode

Source

pub fn g_io3(&self, n: u8) -> G_IO3_R

G(1-8)_IO3 sampling mode

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

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

Iterator for array of: G(1-8)_IO3 sampling mode

Source

pub fn g1_io3(&self) -> G_IO3_R

Bit 2 - G1_IO3 sampling mode

Source

pub fn g2_io3(&self) -> G_IO3_R

Bit 6 - G2_IO3 sampling mode

Source

pub fn g3_io3(&self) -> G_IO3_R

Bit 10 - G3_IO3 sampling mode

Source

pub fn g4_io3(&self) -> G_IO3_R

Bit 14 - G4_IO3 sampling mode

Source

pub fn g5_io3(&self) -> G_IO3_R

Bit 18 - G5_IO3 sampling mode

Source

pub fn g6_io3(&self) -> G_IO3_R

Bit 22 - G6_IO3 sampling mode

Source

pub fn g7_io3(&self) -> G_IO3_R

Bit 26 - G7_IO3 sampling mode

Source

pub fn g8_io3(&self) -> G_IO3_R

Bit 30 - G8_IO3 sampling mode

Source

pub fn g_io4(&self, n: u8) -> G_IO4_R

G(1-8)_IO4 sampling mode

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

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

Iterator for array of: G(1-8)_IO4 sampling mode

Source

pub fn g1_io4(&self) -> G_IO4_R

Bit 3 - G1_IO4 sampling mode

Source

pub fn g2_io4(&self) -> G_IO4_R

Bit 7 - G2_IO4 sampling mode

Source

pub fn g3_io4(&self) -> G_IO4_R

Bit 11 - G3_IO4 sampling mode

Source

pub fn g4_io4(&self) -> G_IO4_R

Bit 15 - G4_IO4 sampling mode

Source

pub fn g5_io4(&self) -> G_IO4_R

Bit 19 - G5_IO4 sampling mode

Source

pub fn g6_io4(&self) -> G_IO4_R

Bit 23 - G6_IO4 sampling mode

Source

pub fn g7_io4(&self) -> G_IO4_R

Bit 27 - G7_IO4 sampling mode

Source

pub fn g8_io4(&self) -> G_IO4_R

Bit 31 - G8_IO4 sampling mode

Trait Implementations§

Source§

impl Debug for R

Source§

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

Formats the value using the given formatter. Read more