Type Definition atsam4s2a_pac::pmc::pmc_mckr::PRES_R

source ·
pub type PRES_R = FieldReader<u8, PRES_A>;
Expand description

Field PRES reader - Processor Clock Prescaler

Implementations§

source§

impl PRES_R

source

pub fn variant(&self) -> PRES_A

Get enumerated values variant

source

pub fn is_clk_1(&self) -> bool

Checks if the value of the field is CLK_1

source

pub fn is_clk_2(&self) -> bool

Checks if the value of the field is CLK_2

source

pub fn is_clk_4(&self) -> bool

Checks if the value of the field is CLK_4

source

pub fn is_clk_8(&self) -> bool

Checks if the value of the field is CLK_8

source

pub fn is_clk_16(&self) -> bool

Checks if the value of the field is CLK_16

source

pub fn is_clk_32(&self) -> bool

Checks if the value of the field is CLK_32

source

pub fn is_clk_64(&self) -> bool

Checks if the value of the field is CLK_64

source

pub fn is_clk_3(&self) -> bool

Checks if the value of the field is CLK_3