Enum d1_pac::rtc::rtc_spi_clk_ctrl::RTC_SPI_CLK_GATING_A
source · pub enum RTC_SPI_CLK_GATING_A {
GATING = 0,
NOT_GATING = 1,
}
Expand description
RTC Reg CFG SPI Clock Gating
Before configurating RTC register, the clock divider of SPI needs be configured firstly, then clock gating needs be enabled.
Note: Frequency division and clock gating can not be set at the same time.
Value on reset: 0
Variants§
Trait Implementations§
source§impl Clone for RTC_SPI_CLK_GATING_A
impl Clone for RTC_SPI_CLK_GATING_A
source§fn clone(&self) -> RTC_SPI_CLK_GATING_A
fn clone(&self) -> RTC_SPI_CLK_GATING_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RTC_SPI_CLK_GATING_A
impl Debug for RTC_SPI_CLK_GATING_A
source§impl From<RTC_SPI_CLK_GATING_A> for bool
impl From<RTC_SPI_CLK_GATING_A> for bool
source§fn from(variant: RTC_SPI_CLK_GATING_A) -> Self
fn from(variant: RTC_SPI_CLK_GATING_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for RTC_SPI_CLK_GATING_A
impl PartialEq for RTC_SPI_CLK_GATING_A
impl Copy for RTC_SPI_CLK_GATING_A
impl Eq for RTC_SPI_CLK_GATING_A
impl StructuralPartialEq for RTC_SPI_CLK_GATING_A
Auto Trait Implementations§
impl Freeze for RTC_SPI_CLK_GATING_A
impl RefUnwindSafe for RTC_SPI_CLK_GATING_A
impl Send for RTC_SPI_CLK_GATING_A
impl Sync for RTC_SPI_CLK_GATING_A
impl Unpin for RTC_SPI_CLK_GATING_A
impl UnwindSafe for RTC_SPI_CLK_GATING_A
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)