Type Alias atsame70n21b::dacc::trigr::OSR1_R

source ·
pub type OSR1_R = FieldReader<OSR1SELECT_A>;
Expand description

Field OSR1 reader - Over Sampling Ratio of Channel 1

Aliased Type§

struct OSR1_R { /* private fields */ }

Implementations§

source§

impl OSR1_R

source

pub fn variant(&self) -> Option<OSR1SELECT_A>

Get enumerated values variant

source

pub fn is_osr_1(&self) -> bool

Checks if the value of the field is OSR_1

source

pub fn is_osr_2(&self) -> bool

Checks if the value of the field is OSR_2

source

pub fn is_osr_4(&self) -> bool

Checks if the value of the field is OSR_4

source

pub fn is_osr_8(&self) -> bool

Checks if the value of the field is OSR_8

source

pub fn is_osr_16(&self) -> bool

Checks if the value of the field is OSR_16

source

pub fn is_osr_32(&self) -> bool

Checks if the value of the field is OSR_32