Type Definition atsam4n8a_pac::pwm::mr::DIVA_W

source ·
pub type DIVA_W<'a, const O: u8> = FieldWriter<'a, u32, MR_SPEC, u8, DIVA_A, 8, O>;
Expand description

Field DIVA writer - CLKA, CLKB Divide Factor

Implementations§

source§

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

source

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

CLKA, CLKB clock is turned off

source

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

CLKA, CLKB clock is clock selected by PREA, PREB