pub type PCPRESC_R = FieldReader<u8, PCPRESC_A>;
Expand description

Field PCPRESC reader - Period Counter Prescaling

Implementations§

source§

impl PCPRESC_R

source

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