Type Alias esp32c3::apb_ctrl::clkgate_force_on::W

source ·
pub type W = W<CLKGATE_FORCE_ON_SPEC>;
Expand description

Register CLKGATE_FORCE_ON writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn rom_clkgate_force_on( &mut self ) -> ROM_CLKGATE_FORCE_ON_W<'_, CLKGATE_FORCE_ON_SPEC>

Bits 0:1 - reg_rom_clkgate_force_on

source

pub fn sram_clkgate_force_on( &mut self ) -> SRAM_CLKGATE_FORCE_ON_W<'_, CLKGATE_FORCE_ON_SPEC>

Bits 2:5 - reg_sram_clkgate_force_on

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

Safety

Passing incorrect value can cause undefined behaviour. See reference manual