Type Alias gd32f1::gd32f130::tsi::sampcfg::R

source ·
pub type R = R<SampcfgSpec>;
Expand description

Register SAMPCFG reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn g0p0(&self) -> G0p0R

Bit 0 - G0P0 sampling mode

source

pub fn g0p1(&self) -> G0p1R

Bit 1 - G0P1 sampling mode

source

pub fn g0p2(&self) -> G0p2R

Bit 2 - G0P2 sampling mode

source

pub fn g0p3(&self) -> G0p3R

Bit 3 - G0P3 sampling mode

source

pub fn g1p0(&self) -> G1p0R

Bit 4 - G1P0 sampling mode

source

pub fn g1p1(&self) -> G1p1R

Bit 5 - G1P1 sampling mode

source

pub fn g1p2(&self) -> G1p2R

Bit 6 - G1P2 sampling mode

source

pub fn g1p3(&self) -> G1p3R

Bit 7 - G1P3 sampling mode

source

pub fn g2p0(&self) -> G2p0R

Bit 8 - G2P0 sampling mode

source

pub fn g2p1(&self) -> G2p1R

Bit 9 - G2P1 sampling mode

source

pub fn g2p2(&self) -> G2p2R

Bit 10 - G2P2 sampling mode

source

pub fn g2p3(&self) -> G2p3R

Bit 11 - G2P3 sampling mode

source

pub fn g3p0(&self) -> G3p0R

Bit 12 - G3P0 sampling mode

source

pub fn g3p1(&self) -> G3p1R

Bit 13 - G3P1 sampling mode

source

pub fn g3p2(&self) -> G3p2R

Bit 14 - G3P2 sampling mode

source

pub fn g3p3(&self) -> G3p3R

Bit 15 - G3P3 sampling mode

source

pub fn g4p0(&self) -> G4p0R

Bit 16 - G4P0 sampling mode

source

pub fn g4p1(&self) -> G4p1R

Bit 17 - G4P1 sampling mode

source

pub fn g4p2(&self) -> G4p2R

Bit 18 - G4P2 sampling mode

source

pub fn g4p3(&self) -> G4p3R

Bit 19 - G4P3 sampling mode

source

pub fn g5p0(&self) -> G5p0R

Bit 20 - G5P0 sampling mode

source

pub fn g5p1(&self) -> G5p1R

Bit 21 - G5P1 sampling mode

source

pub fn g5p2(&self) -> G5p2R

Bit 22 - G5P2 sampling mode

source

pub fn g5p3(&self) -> G5p3R

Bit 23 - G5P3 sampling mode