[][src]Struct lpc81x_pac::syscon::sysahbclkctrl::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register

pub fn sys(&mut self) -> _SYSW[src]

Bit 0 - Enables the clock for the AHB, the APB bridge, the Cortex-M0+ core clocks, SYSCON, and the PMU. This bit is read only and always reads as 1.

pub fn rom(&mut self) -> _ROMW[src]

Bit 1 - Enables clock for ROM.

pub fn ram(&mut self) -> _RAMW[src]

Bit 2 - Enables clock for SRAM.

pub fn flashreg(&mut self) -> _FLASHREGW[src]

Bit 3 - Enables clock for flash register interface.

pub fn flash(&mut self) -> _FLASHW[src]

Bit 4 - Enables clock for flash.

pub fn i2c(&mut self) -> _I2CW[src]

Bit 5 - Enables clock for I2C.

pub fn gpio(&mut self) -> _GPIOW[src]

Bit 6 - Enables clock for GPIO port registers and GPIO pin interrupt registers.

pub fn swm(&mut self) -> _SWMW[src]

Bit 7 - Enables clock for switch matrix.

pub fn sct(&mut self) -> _SCTW[src]

Bit 8 - Enables clock for state configurable timer.

pub fn wkt(&mut self) -> _WKTW[src]

Bit 9 - Enables clock for self wake-up timer.

pub fn mrt(&mut self) -> _MRTW[src]

Bit 10 - Enables clock for multi-rate timer.

pub fn spi0(&mut self) -> _SPI0W[src]

Bit 11 - Enables clock for SPI0.

pub fn spi1(&mut self) -> _SPI1W[src]

Bit 12 - Enables clock for SPI1.

pub fn crc(&mut self) -> _CRCW[src]

Bit 13 - Enables clock for CRC.

pub fn uart0(&mut self) -> _UART0W[src]

Bit 14 - Enables clock for UART0.

pub fn uart1(&mut self) -> _UART1W[src]

Bit 15 - Enables clock for UART1.

pub fn uart2(&mut self) -> _UART2W[src]

Bit 16 - Enables clock for UART2.

pub fn wwdt(&mut self) -> _WWDTW[src]

Bit 17 - Enables clock for WWDT.

pub fn iocon(&mut self) -> _IOCONW[src]

Bit 18 - Enables clock for IOCON block.

pub fn acmp(&mut self) -> _ACMPW[src]

Bit 19 - Enables clock to analog comparator.

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self