Type Alias d1_pac::rtc::rtc_spi_clk_ctrl::RTC_SPI_CLK_GATING_W

source ·
pub type RTC_SPI_CLK_GATING_W<'a, const O: u8> = BitWriter<'a, u32, RTC_SPI_CLK_CTRL_SPEC, RTC_SPI_CLK_GATING_A, O>;
Expand description

Field rtc_spi_clk_gating writer - RTC Reg CFG SPI Clock Gating

Before configurating RTC register, the clock divider of SPI needs be configured firstly, then clock gating needs be enabled.

Note: Frequency division and clock gating can not be set at the same time.

Aliased Type§

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

Implementations§

source§

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

source

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

Gating

source

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

Not Gating