Type Alias gd32f1::gd32f190::adc::sampt1::W

source ·
pub type W = W<Sampt1Spec>;
Expand description

Register SAMPT1 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn spt0(&mut self) -> Spt0W<'_, Sampt1Spec>

Bits 0:2 - Channel 0 sample time selection

source

pub fn spt1(&mut self) -> Spt1W<'_, Sampt1Spec>

Bits 3:5 - Channel 1 sample time selection

source

pub fn spt2(&mut self) -> Spt2W<'_, Sampt1Spec>

Bits 6:8 - Channel 2 sample time selection

source

pub fn spt3(&mut self) -> Spt3W<'_, Sampt1Spec>

Bits 9:11 - Channel 3 sample time selection

source

pub fn spt4(&mut self) -> Spt4W<'_, Sampt1Spec>

Bits 12:14 - Channel 4 sample time selection

source

pub fn spt5(&mut self) -> Spt5W<'_, Sampt1Spec>

Bits 15:17 - Channel 5 sample time selection

source

pub fn spt6(&mut self) -> Spt6W<'_, Sampt1Spec>

Bits 18:20 - Channel 6 sample time selection

source

pub fn spt7(&mut self) -> Spt7W<'_, Sampt1Spec>

Bits 21:23 - Channel 7 sample time selection

source

pub fn spt8(&mut self) -> Spt8W<'_, Sampt1Spec>

Bits 24:26 - Channel 8 sample time selection

source

pub fn spt9(&mut self) -> Spt9W<'_, Sampt1Spec>

Bits 27:29 - Channel 9 sample time selection