Type Alias d1_pac::ths::ths_filter::FILTER_TYPE_R

source ·
pub type FILTER_TYPE_R = FieldReader<u8, FILTER_TYPE_A>;
Expand description

Field filter_type reader - Averaging filter type

Aliased Type§

struct FILTER_TYPE_R { /* private fields */ }

Implementations§

source§

impl FILTER_TYPE_R

source

pub fn variant(&self) -> FILTER_TYPE_A

Get enumerated values variant

source

pub fn is_t2(&self) -> bool

Checks if the value of the field is T2

source

pub fn is_t4(&self) -> bool

Checks if the value of the field is T4

source

pub fn is_t8(&self) -> bool

Checks if the value of the field is T8

source

pub fn is_t16(&self) -> bool

Checks if the value of the field is T16