Type Alias PRESC_R

Source
pub type PRESC_R = FieldReader<u8, PRESC_A>;
Expand description

Field PRESC reader - Prescaler Setting

Aliased Type§

pub struct PRESC_R { /* private fields */ }

Implementations§

Source§

impl PRESC_R

Source

pub fn variant(&self) -> Option<PRESC_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