Trait lpc82x_hal::syscon::ClockControl [−][src]
pub trait ClockControl { fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W; fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W; }
Internal trait for controlling peripheral clocks
This trait is an internal implementation detail and should neither be implemented nor used outside of LPC82x 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
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
Internal method to enable a peripheral clock
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
Internal method to disable a peripheral clock
Implementations on Foreign Types
impl ClockControl for FLASHCTRL
[src]
impl ClockControl for FLASHCTRL
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
impl ClockControl for I2C0
[src]
impl ClockControl for I2C0
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
impl ClockControl for GPIO_PORT
[src]
impl ClockControl for GPIO_PORT
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
impl ClockControl for SWM
[src]
impl ClockControl for SWM
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
impl ClockControl for SCT
[src]
impl ClockControl for SCT
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
impl ClockControl for WKT
[src]
impl ClockControl for WKT
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
impl ClockControl for MRT
[src]
impl ClockControl for MRT
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
impl ClockControl for SPI0
[src]
impl ClockControl for SPI0
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
impl ClockControl for SPI1
[src]
impl ClockControl for SPI1
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
impl ClockControl for CRC
[src]
impl ClockControl for CRC
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
impl ClockControl for USART0
[src]
impl ClockControl for USART0
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
impl ClockControl for USART1
[src]
impl ClockControl for USART1
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
impl ClockControl for USART2
[src]
impl ClockControl for USART2
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
impl ClockControl for WWDT
[src]
impl ClockControl for WWDT
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
impl ClockControl for IOCON
[src]
impl ClockControl for IOCON
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
impl ClockControl for CMP
[src]
impl ClockControl for CMP
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
impl ClockControl for I2C1
[src]
impl ClockControl for I2C1
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
impl ClockControl for I2C2
[src]
impl ClockControl for I2C2
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
impl ClockControl for I2C3
[src]
impl ClockControl for I2C3
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
impl ClockControl for ADC
[src]
impl ClockControl for ADC
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
impl ClockControl for DMA
[src]
impl ClockControl for DMA
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn enable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W
[src]
fn disable_clock<'w>(&mut self, w: &'w mut W) -> &'w mut W