Type Alias esp32c3::twai0::clock_divider::W
source · pub type W = W<CLOCK_DIVIDER_SPEC>;
Expand description
Register CLOCK_DIVIDER
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn cd(&mut self) -> CD_W<'_, CLOCK_DIVIDER_SPEC>
pub fn cd(&mut self) -> CD_W<'_, CLOCK_DIVIDER_SPEC>
Bits 0:7 - These bits are used to configure frequency dividing coefficients of the external CLKOUT pin.
sourcepub fn clock_off(&mut self) -> CLOCK_OFF_W<'_, CLOCK_DIVIDER_SPEC>
pub fn clock_off(&mut self) -> CLOCK_OFF_W<'_, CLOCK_DIVIDER_SPEC>
Bit 8 - This bit can be configured under reset mode. 1: Disable the external CLKOUT pin; 0: Enable the external CLKOUT pin