ClockControl

Trait ClockControl 

Source
pub trait ClockControl {
    // Required methods
    fn enable_clock<'w>(&self, w: &'w mut W) -> &'w mut W;
    fn disable_clock<'w>(&self, w: &'w mut W) -> &'w mut W;
}
Expand description

Internal trait for controlling peripheral clocks

This trait is an internal implementation detail and should neither be implemented nor used outside of LPC8xx HAL. Any changes to this trait won’t be considered breaking changes.

Please refer to syscon::Handle::enable_clock and syscon::Handle::disable_clock for the public API that uses this trait.

Required Methods§

Source

fn enable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Internal method to enable a peripheral clock

Source

fn disable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Internal method to disable a peripheral clock

Implementations on Foreign Types§

Source§

impl ClockControl for ACOMP

Source§

fn enable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

fn disable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

impl ClockControl for ADC0

Source§

fn enable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

fn disable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

impl ClockControl for CRC

Source§

fn enable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

fn disable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

impl ClockControl for CTIMER0

Source§

fn enable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

fn disable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

impl ClockControl for DMA0

Source§

fn enable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

fn disable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

impl ClockControl for FLASH_CTRL

Source§

fn enable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

fn disable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

impl ClockControl for GPIO

Source§

fn enable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

fn disable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

impl ClockControl for I2C0

Source§

fn enable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

fn disable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

impl ClockControl for I2C1

Source§

fn enable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

fn disable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

impl ClockControl for I2C2

Source§

fn enable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

fn disable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

impl ClockControl for I2C3

Source§

fn enable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

fn disable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

impl ClockControl for IOCON

Source§

fn enable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

fn disable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

impl ClockControl for MRT0

Source§

fn enable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

fn disable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

impl ClockControl for PINT

Source§

fn enable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

fn disable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

impl ClockControl for SCT0

Source§

fn enable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

fn disable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

impl ClockControl for SPI0

Source§

fn enable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

fn disable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

impl ClockControl for SPI1

Source§

fn enable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

fn disable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

impl ClockControl for SWM0

Source§

fn enable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

fn disable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

impl ClockControl for USART0

Source§

fn enable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

fn disable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

impl ClockControl for USART1

Source§

fn enable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

fn disable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

impl ClockControl for USART2

Source§

fn enable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

fn disable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

impl ClockControl for USART3

Source§

fn enable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

fn disable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

impl ClockControl for USART4

Source§

fn enable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

fn disable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

impl ClockControl for WKT

Source§

fn enable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

fn disable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

impl ClockControl for WWDT

Source§

fn enable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

fn disable_clock<'w>(&self, w: &'w mut W) -> &'w mut W

Implementors§