Struct esp32s3_hal::pac::pwm0::fault_detect::R
pub struct R(_);
Expand description
Register FAULT_DETECT
reader
Implementations§
§impl R
impl R
pub fn f0_pole(&self) -> BitReaderRaw<bool>
pub fn f0_pole(&self) -> BitReaderRaw<bool>
Bit 3 - Set event_f0 trigger polarity on FAULT2 source from GPIO matrix. 0: level low, 1: level high
pub fn f1_pole(&self) -> BitReaderRaw<bool>
pub fn f1_pole(&self) -> BitReaderRaw<bool>
Bit 4 - Set event_f1 trigger polarity on FAULT2 source from GPIO matrix. 0: level low, 1: level high
pub fn f2_pole(&self) -> BitReaderRaw<bool>
pub fn f2_pole(&self) -> BitReaderRaw<bool>
Bit 5 - Set event_f2 trigger polarity on FAULT2 source from GPIO matrix. 0: level low, 1: level high
pub fn event_f0(&self) -> BitReaderRaw<bool>
pub fn event_f0(&self) -> BitReaderRaw<bool>
Bit 6 - Set and reset by hardware. If set, event_f0 is on going
Methods from Deref<Target = R<FAULT_DETECT_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<FAULT_DETECT_SPEC>> for R
impl From<R<FAULT_DETECT_SPEC>> for R
§fn from(reader: R<FAULT_DETECT_SPEC>) -> R
fn from(reader: R<FAULT_DETECT_SPEC>) -> R
Converts to this type from the input type.