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

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

pub fn sys(&self) -> SYSR[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(&self) -> ROMR[src]

Bit 1 - Enables clock for ROM.

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

Bit 2 - Enables clock for SRAM.

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

Bit 3 - Enables clock for flash register interface.

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

Bit 4 - Enables clock for flash.

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

Bit 5 - Enables clock for I2C.

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

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

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

Bit 7 - Enables clock for switch matrix.

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

Bit 8 - Enables clock for state configurable timer.

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

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

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

Bit 10 - Enables clock for multi-rate timer.

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

Bit 11 - Enables clock for SPI0.

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

Bit 12 - Enables clock for SPI1.

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

Bit 13 - Enables clock for CRC.

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

Bit 14 - Enables clock for UART0.

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

Bit 15 - Enables clock for UART1.

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

Bit 16 - Enables clock for UART2.

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

Bit 17 - Enables clock for WWDT.

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

Bit 18 - Enables clock for IOCON block.

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

Bit 19 - Enables clock to analog comparator.

Auto Trait Implementations

impl Send for R

impl Sync for R

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