Struct esp32s3::rtc_io::rtc_gpio_pin21::PAD_DRIVER_R
source · [−]pub struct PAD_DRIVER_R(_);
Expand description
Field PAD_DRIVER
reader - if set to 0: normal output, if set to 1: open drain
Methods from Deref<Target = FieldReader<bool, bool>>
sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0).
sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1).
Trait Implementations
sourceimpl Deref for PAD_DRIVER_R
impl Deref for PAD_DRIVER_R
Auto Trait Implementations
impl RefUnwindSafe for PAD_DRIVER_R
impl Send for PAD_DRIVER_R
impl Sync for PAD_DRIVER_R
impl Unpin for PAD_DRIVER_R
impl UnwindSafe for PAD_DRIVER_R
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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