pub struct R(_);
Expand description
Register TARGET2_CONF
reader
Implementations
sourceimpl 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.
Methods from Deref<Target = R<TARGET2_CONF_SPEC>>
Trait Implementations
sourceimpl From<R<TARGET2_CONF_SPEC>> for R
impl From<R<TARGET2_CONF_SPEC>> for R
sourcefn from(reader: R<TARGET2_CONF_SPEC>) -> Self
fn from(reader: R<TARGET2_CONF_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more