Struct esp32s2::systimer::target1_conf::R
source · pub struct R(_);Expand description
Register TARGET1_CONF reader
Implementations§
source§impl R
impl R
sourcepub fn target1_period(&self) -> TARGET1_PERIOD_R
pub fn target1_period(&self) -> TARGET1_PERIOD_R
Bits 0:29 - Set alarm period for system timer target 1, only valid in periodic alarms mode.
sourcepub fn target1_period_mode(&self) -> TARGET1_PERIOD_MODE_R
pub fn target1_period_mode(&self) -> TARGET1_PERIOD_MODE_R
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(&self) -> TARGET1_WORK_EN_R
pub fn target1_work_en(&self) -> TARGET1_WORK_EN_R
Bit 31 - System timer target 1 work enable.