Struct esp32s3::sens::sar_hall_ctrl::R
source · pub struct R(_);
Expand description
Register SAR_HALL_CTRL
reader
Implementations§
source§impl R
impl R
sourcepub fn xpd_hall(&self) -> XPD_HALL_R
pub fn xpd_hall(&self) -> XPD_HALL_R
Bit 28 - Power on hall sensor and connect to VP and VN
sourcepub fn xpd_hall_force(&self) -> XPD_HALL_FORCE_R
pub fn xpd_hall_force(&self) -> XPD_HALL_FORCE_R
Bit 29 - 1: XPD HALL is controlled by SW. 0: XPD HALL is controlled by FSM in ULP-coprocessor
sourcepub fn hall_phase(&self) -> HALL_PHASE_R
pub fn hall_phase(&self) -> HALL_PHASE_R
Bit 30 - Reverse phase of hall sensor
sourcepub fn hall_phase_force(&self) -> HALL_PHASE_FORCE_R
pub fn hall_phase_force(&self) -> HALL_PHASE_FORCE_R
Bit 31 - 1: HALL PHASE is controlled by SW 0: HALL PHASE is controlled by FSM in ULP-coprocessor
Methods from Deref<Target = R<SAR_HALL_CTRL_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more