Type Alias d1_pac::hs_timer::hs_tmr_ctrl::HS_TMR_CLK_W

source ·
pub type HS_TMR_CLK_W<'a, const O: u8> = FieldWriter<'a, u32, HS_TMR_CTRL_SPEC, u8, HS_TMR_CLK_A, 3, O>;
Expand description

Field hs_tmr_clk writer - Select the pre-scale for the HSTimer clock sources

Aliased Type§

struct HS_TMR_CLK_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

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

source

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

0

source

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

1

source

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

10

source

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

11

source

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

100