Struct esp32s2::systimer::target1_conf::W
source · pub struct W(_);Expand description
Register TARGET1_CONF writer
Implementations§
source§impl W
impl W
sourcepub fn target1_period(&mut self) -> TARGET1_PERIOD_W<'_, 0>
pub fn target1_period(&mut self) -> TARGET1_PERIOD_W<'_, 0>
Bits 0:29 - Set alarm period for system timer target 1, only valid in periodic alarms mode.
sourcepub fn target1_period_mode(&mut self) -> TARGET1_PERIOD_MODE_W<'_, 30>
pub fn target1_period_mode(&mut self) -> TARGET1_PERIOD_MODE_W<'_, 30>
Bit 30 - Set work mode for system timer target 1. 0: work in a timedelay alarm mode; 1: work in periodic alarms mode.
sourcepub fn target1_work_en(&mut self) -> TARGET1_WORK_EN_W<'_, 31>
pub fn target1_work_en(&mut self) -> TARGET1_WORK_EN_W<'_, 31>
Bit 31 - System timer target 1 work enable.