Struct esp32s2::systimer::target2_conf::R
source · pub struct R(_);
Expand description
Register TARGET2_CONF
reader
Implementations§
source§impl R
impl R
sourcepub fn target2_period(&self) -> TARGET2_PERIOD_R
pub fn target2_period(&self) -> TARGET2_PERIOD_R
Bits 0:29 - Set alarm period for system timer target 2, only valid in periodic alarms mode.
sourcepub fn target2_period_mode(&self) -> TARGET2_PERIOD_MODE_R
pub fn target2_period_mode(&self) -> TARGET2_PERIOD_MODE_R
Bit 30 - Set work mode for system timer target 2. 0: work in a timedelay alarm mode; 1: work in periodic alarms mode.
sourcepub fn target2_work_en(&self) -> TARGET2_WORK_EN_R
pub fn target2_work_en(&self) -> TARGET2_WORK_EN_R
Bit 31 - System timer target 2 work enable.