Struct esp32s3_hal::pac::sens::sar_tsens_ctrl::R
pub struct R(_);
Expand description
Register SAR_TSENS_CTRL
reader
Implementations§
§impl R
impl R
pub fn sar_tsens_out(&self) -> FieldReaderRaw<u8, u8>
pub fn sar_tsens_out(&self) -> FieldReaderRaw<u8, u8>
Bits 0:7 - temperature sensor data out
pub fn sar_tsens_ready(&self) -> BitReaderRaw<bool>
pub fn sar_tsens_ready(&self) -> BitReaderRaw<bool>
Bit 8 - indicate temperature sensor out ready
pub fn sar_tsens_int_en(&self) -> BitReaderRaw<bool>
pub fn sar_tsens_int_en(&self) -> BitReaderRaw<bool>
Bit 12 - enable temperature sensor to send out interrupt
pub fn sar_tsens_in_inv(&self) -> BitReaderRaw<bool>
pub fn sar_tsens_in_inv(&self) -> BitReaderRaw<bool>
Bit 13 - invert temperature sensor data
pub fn sar_tsens_clk_div(&self) -> FieldReaderRaw<u8, u8>
pub fn sar_tsens_clk_div(&self) -> FieldReaderRaw<u8, u8>
Bits 14:21 - temperature sensor clock divider
pub fn sar_tsens_power_up(&self) -> BitReaderRaw<bool>
pub fn sar_tsens_power_up(&self) -> BitReaderRaw<bool>
Bit 22 - temperature sensor power up
pub fn sar_tsens_power_up_force(&self) -> BitReaderRaw<bool>
pub fn sar_tsens_power_up_force(&self) -> BitReaderRaw<bool>
Bit 23 - 1: dump out & power up controlled by SW 0: by FSM
pub fn sar_tsens_dump_out(&self) -> BitReaderRaw<bool>
pub fn sar_tsens_dump_out(&self) -> BitReaderRaw<bool>
Bit 24 - temperature sensor dump out only active when reg_tsens_power_up_force = 1
Methods from Deref<Target = R<SAR_TSENS_CTRL_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations§
§impl From<R<SAR_TSENS_CTRL_SPEC>> for R
impl From<R<SAR_TSENS_CTRL_SPEC>> for R
§fn from(reader: R<SAR_TSENS_CTRL_SPEC>) -> R
fn from(reader: R<SAR_TSENS_CTRL_SPEC>) -> R
Converts to this type from the input type.