Type Alias nrf52840_pac::pwm0::prescaler::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