Type Definition atsam4s2a_pac::pmc::pmc_pck::PRES_R

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

Field PRES reader - Programmable Clock Prescaler

Implementations§

source§

impl PRES_R

source

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