Type Definition atsam4s2a_pac::pmc::pmc_mckr::PRES_W

source ·
pub type PRES_W<'a, const O: u8> = FieldWriterSafe<'a, u32, PMC_MCKR_SPEC, u8, PRES_A, 3, O>;
Expand description

Field PRES writer - Processor Clock Prescaler

Implementations§

source§

impl<'a, const O: u8> PRES_W<'a, O>

source

pub fn clk_1(self) -> &'a mut W

Selected clock

source

pub fn clk_2(self) -> &'a mut W

Selected clock divided by 2

source

pub fn clk_4(self) -> &'a mut W

Selected clock divided by 4

source

pub fn clk_8(self) -> &'a mut W

Selected clock divided by 8

source

pub fn clk_16(self) -> &'a mut W

Selected clock divided by 16

source

pub fn clk_32(self) -> &'a mut W

Selected clock divided by 32

source

pub fn clk_64(self) -> &'a mut W

Selected clock divided by 64

source

pub fn clk_3(self) -> &'a mut W

Selected clock divided by 3