pub type DTPRESC_R = FieldReader<u8, DTPRESC_A>;
Expand description

Field DTPRESC reader - DTI Prescaler Setting

Implementations§

source§

impl DTPRESC_R

source

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

Get enumerated values variant

source

pub fn is_div1(&self) -> bool

Checks if the value of the field is DIV1

source

pub fn is_div2(&self) -> bool

Checks if the value of the field is DIV2

source

pub fn is_div4(&self) -> bool

Checks if the value of the field is DIV4

source

pub fn is_div8(&self) -> bool

Checks if the value of the field is DIV8

source

pub fn is_div16(&self) -> bool

Checks if the value of the field is DIV16

source

pub fn is_div32(&self) -> bool

Checks if the value of the field is DIV32

source

pub fn is_div64(&self) -> bool

Checks if the value of the field is DIV64

source

pub fn is_div128(&self) -> bool

Checks if the value of the field is DIV128

source

pub fn is_div256(&self) -> bool

Checks if the value of the field is DIV256

source

pub fn is_div512(&self) -> bool

Checks if the value of the field is DIV512

source

pub fn is_div1024(&self) -> bool

Checks if the value of the field is DIV1024