Type Alias esp32c3::spi2::clk_gate::R

source ·
pub type R = R<CLK_GATE_SPEC>;
Expand description

Register CLK_GATE reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn clk_en(&self) -> CLK_EN_R

Bit 0 - Set this bit to enable clk gate

source

pub fn mst_clk_active(&self) -> MST_CLK_ACTIVE_R

Bit 1 - Set this bit to power on the SPI module clock.

source

pub fn mst_clk_sel(&self) -> MST_CLK_SEL_R

Bit 2 - This bit is used to select SPI module clock source in master mode. 1: PLL_CLK_80M. 0: XTAL CLK.