Struct w806_pac::rcc::clock_enable::CLOCK_ENABLE_SPEC
source · [−]pub struct CLOCK_ENABLE_SPEC;
Expand description
Software configure clock gate enable
By configuring this clock gating enable register, you can control the clock to shutdown a specified function, so as to achieve the purpose of shutting down a certain module.
In order to provide the firmware with flexibility to control the power consumption of the system, the clock and reset module provides the clock gating function of each module in the system. When the clock of the corresponding module is turned off, the digital logic and clock tree of the module will stop working, which can reduce the dynamic power consumption of the system.
This register you can read
, write_with_zero
, reset
, write
, modify
. See API.
For information about available fields see clock_enable module
Trait Implementations
sourceimpl Readable for CLOCK_ENABLE_SPEC
impl Readable for CLOCK_ENABLE_SPEC
read()
method returns clock_enable::R reader structure
sourceimpl RegisterSpec for CLOCK_ENABLE_SPEC
impl RegisterSpec for CLOCK_ENABLE_SPEC
sourceimpl Resettable for CLOCK_ENABLE_SPEC
impl Resettable for CLOCK_ENABLE_SPEC
reset()
method sets clock_enable to value 0x7fff
sourcefn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
sourceimpl Writable for CLOCK_ENABLE_SPEC
impl Writable for CLOCK_ENABLE_SPEC
write(|w| ..)
method takes clock_enable::W writer structure
Auto Trait Implementations
impl RefUnwindSafe for CLOCK_ENABLE_SPEC
impl Send for CLOCK_ENABLE_SPEC
impl Sync for CLOCK_ENABLE_SPEC
impl Unpin for CLOCK_ENABLE_SPEC
impl UnwindSafe for CLOCK_ENABLE_SPEC
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