nrf52840_pac::pwm0::prescaler

Type Alias PRESCALER_R

Source
pub type PRESCALER_R = FieldReader<u8, PRESCALER_A>;
Expand description

Field PRESCALER reader - Prescaler of PWM_CLK

Aliased Type§

struct PRESCALER_R { /* private fields */ }

Implementations§

Source§

impl PRESCALER_R

Source

pub fn variant(&self) -> PRESCALER_A

Get enumerated values variant

Source

pub fn is_div_1(&self) -> bool

Checks if the value of the field is DIV_1

Source

pub fn is_div_2(&self) -> bool

Checks if the value of the field is DIV_2

Source

pub fn is_div_4(&self) -> bool

Checks if the value of the field is DIV_4

Source

pub fn is_div_8(&self) -> bool

Checks if the value of the field is DIV_8

Source

pub fn is_div_16(&self) -> bool

Checks if the value of the field is DIV_16

Source

pub fn is_div_32(&self) -> bool

Checks if the value of the field is DIV_32

Source

pub fn is_div_64(&self) -> bool

Checks if the value of the field is DIV_64

Source

pub fn is_div_128(&self) -> bool

Checks if the value of the field is DIV_128