Type Alias nrf52840_pac::qdec::sampleper::SAMPLEPER_R

source ·
pub type SAMPLEPER_R = FieldReader<u8, SAMPLEPER_A>;
Expand description

Field SAMPLEPER reader - Sample period. The SAMPLE register will be updated for every new sample

Aliased Type§

struct SAMPLEPER_R { /* private fields */ }

Implementations§

source§

impl SAMPLEPER_R

source

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

Get enumerated values variant

source

pub fn is_128us(&self) -> bool

Checks if the value of the field is _128US

source

pub fn is_256us(&self) -> bool

Checks if the value of the field is _256US

source

pub fn is_512us(&self) -> bool

Checks if the value of the field is _512US

source

pub fn is_1024us(&self) -> bool

Checks if the value of the field is _1024US

source

pub fn is_2048us(&self) -> bool

Checks if the value of the field is _2048US

source

pub fn is_4096us(&self) -> bool

Checks if the value of the field is _4096US

source

pub fn is_8192us(&self) -> bool

Checks if the value of the field is _8192US

source

pub fn is_16384us(&self) -> bool

Checks if the value of the field is _16384US

source

pub fn is_32ms(&self) -> bool

Checks if the value of the field is _32MS

source

pub fn is_65ms(&self) -> bool

Checks if the value of the field is _65MS

source

pub fn is_131ms(&self) -> bool

Checks if the value of the field is _131MS