pub struct R(_);
Expand description
Register clock_enable
reader
Implementations
sourceimpl R
impl R
sourcepub fn touch(&self) -> TOUCH_R
pub fn touch(&self) -> TOUCH_R
Bit 21 - Touch sensor module clock gate enable
By default, touch sensor module clock gate is enabled.
sourcepub fn sdio(&self) -> SDIO_R
pub fn sdio(&self) -> SDIO_R
Bit 18 - Secure digital input/output clock gate enable
By default, SDIO master module clock gate is enabled.
sourcepub fn rsa(&self) -> RSA_R
pub fn rsa(&self) -> RSA_R
Bit 16 - RSA Montgomery coprocessor clock gate enable
By default, RSA clock gate is enabled.
sourcepub fn i2s(&self) -> I2S_R
pub fn i2s(&self) -> I2S_R
Bit 15 - Inter-Integrated Sound clock gate enable
By default, I2S clock gate is enabled.
sourcepub fn pwm(&self) -> PWM_R
pub fn pwm(&self) -> PWM_R
Bit 13 - Pulse-width modulation module clock gate enable
By default, PWM clock gate is enabled.
sourcepub fn gpio(&self) -> GPIO_R
pub fn gpio(&self) -> GPIO_R
Bit 11 - General purpose input/output clock gate enable
By default, GPIO clock gate is enabled.
sourcepub fn timer(&self) -> TIMER_R
pub fn timer(&self) -> TIMER_R
Bit 10 - Timer module clock gate enable
By default, timer clock gate is enabled.
sourcepub fn dma(&self) -> DMA_R
pub fn dma(&self) -> DMA_R
Bit 8 - Direct memory access clock gate enable
By default, DMA clock gate is enabled.
sourcepub unsafe fn uart(&self, n: usize) -> UART_R
pub unsafe fn uart(&self, n: usize) -> UART_R
Universal asynchronous transmitter/receiver enable
By default, UART clock gate is enabled.
sourcepub fn uart0(&self) -> UART_R
pub fn uart0(&self) -> UART_R
Bit 1 - Universal asynchronous transmitter/receiver enable
By default, UART clock gate is enabled.
sourcepub fn uart1(&self) -> UART_R
pub fn uart1(&self) -> UART_R
Bit 2 - Universal asynchronous transmitter/receiver enable
By default, UART clock gate is enabled.
sourcepub fn uart2(&self) -> UART_R
pub fn uart2(&self) -> UART_R
Bit 3 - Universal asynchronous transmitter/receiver enable
By default, UART clock gate is enabled.
sourcepub fn uart3(&self) -> UART_R
pub fn uart3(&self) -> UART_R
Bit 4 - Universal asynchronous transmitter/receiver enable
By default, UART clock gate is enabled.
sourcepub fn uart4(&self) -> UART_R
pub fn uart4(&self) -> UART_R
Bit 5 - Universal asynchronous transmitter/receiver enable
By default, UART clock gate is enabled.
Methods from Deref<Target = R<CLOCK_ENABLE_SPEC>>
Trait Implementations
sourceimpl From<R<CLOCK_ENABLE_SPEC>> for R
impl From<R<CLOCK_ENABLE_SPEC>> for R
sourcefn from(reader: R<CLOCK_ENABLE_SPEC>) -> Self
fn from(reader: R<CLOCK_ENABLE_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
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