[][src]Struct lpc82x_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 ram0_1(&mut self) -> _RAM0_1W[src]

Bit 2 - Enables clock for SRAM0 and SRAM1.

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 i2c0(&mut self) -> _I2C0W[src]

Bit 5 - Enables clock for I2C0.

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 SCTimer/PWM.

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 USART0.

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

Bit 15 - Enables clock for USART1.

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

Bit 16 - Enables clock for USART2.

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.

pub fn i2c1(&mut self) -> _I2C1W[src]

Bit 21 - Enables clock to I2C1.

pub fn i2c2(&mut self) -> _I2C2W[src]

Bit 22 - Enables clock to I2C2.

pub fn i2c3(&mut self) -> _I2C3W[src]

Bit 23 - Enables clock to I2C3.

pub fn adc(&mut self) -> _ADCW[src]

Bit 24 - Enables clock to ADC.

pub fn mtb(&mut self) -> _MTBW[src]

Bit 26 - Enables clock to micro- trace buffer control registers. Turn on this clock when using the micro-trace buffer for debug purposes.

pub fn dma(&mut self) -> _DMAW[src]

Bit 29 - Enables clock to DMA.

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> From for T[src]

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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