R

Struct R 

Source
pub struct R(/* private fields */);
Expand description

Register SYSAHBCLKCTRL0 reader

Implementations§

Source§

impl R

Source

pub fn sys(&self) -> SYS_R

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.

Source

pub fn rom(&self) -> ROM_R

Bit 1 - Enables clock for ROM.

Source

pub fn ram0_1(&self) -> RAM0_1_R

Bit 2 - Enables clock for SRAM0 and SRAM1.

Source

pub fn flash(&self) -> FLASH_R

Bit 4 - Enables clock for flash.

Source

pub fn i2c0(&self) -> I2C0_R

Bit 5 - Enables clock for I2C0.

Source

pub fn gpio0(&self) -> GPIO0_R

Bit 6 - Enables clock for GPIO0 port registers.

Source

pub fn swm(&self) -> SWM_R

Bit 7 - Enables clock for switch matrix.

Source

pub fn sct(&self) -> SCT_R

Bit 8 - Enables clock for state configurable timer SCTimer/PWM.

Source

pub fn wkt(&self) -> WKT_R

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

Source

pub fn mrt(&self) -> MRT_R

Bit 10 - Enables clock for multi-rate timer.

Source

pub fn spi0(&self) -> SPI0_R

Bit 11 - Enables clock for SPI0.

Source

pub fn spi1(&self) -> SPI1_R

Bit 12 - Enables clock for SPI1.

Source

pub fn crc(&self) -> CRC_R

Bit 13 - Enables clock for CRC.

Source

pub fn uart0(&self) -> UART0_R

Bit 14 - Enables clock for UART0.

Source

pub fn uart1(&self) -> UART1_R

Bit 15 - Enables clock for UART1.

Source

pub fn uart2(&self) -> UART2_R

Bit 16 - Enables clock for UART2.

Source

pub fn wwdt(&self) -> WWDT_R

Bit 17 - Enables clock for WWDT.

Source

pub fn iocon(&self) -> IOCON_R

Bit 18 - Enables clock for IOCON.

Source

pub fn acmp(&self) -> ACMP_R

Bit 19 - Enables clock for analog comparator.

Source

pub fn gpio1(&self) -> GPIO1_R

Bit 20 - Enables clock for GPIO1 port registers.

Source

pub fn i2c1(&self) -> I2C1_R

Bit 21 - Enables clock for I2C1.

Source

pub fn i2c2(&self) -> I2C2_R

Bit 22 - Enables clock for I2C2.

Source

pub fn i2c3(&self) -> I2C3_R

Bit 23 - Enables clock for I2C3.

Source

pub fn adc(&self) -> ADC_R

Bit 24 - Enables clock for ADC.

Source

pub fn ctimer(&self) -> CTIMER_R

Bit 25 - Enables clock for CTIMER.

Source

pub fn mtb(&self) -> MTB_R

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

Source

pub fn dac0(&self) -> DAC0_R

Bit 27 - Enables clock for DAC0.

Source

pub fn gpio_int(&self) -> GPIO_INT_R

Bit 28 - Enable clock for GPIO pin interrupt registers

Source

pub fn dma(&self) -> DMA_R

Bit 29 - Enables clock for DMA.

Source

pub fn uart3(&self) -> UART3_R

Bit 30 - Enables clock for UART3.

Source

pub fn uart4(&self) -> UART4_R

Bit 31 - Enables clock for UART4.

Methods from Deref<Target = R<SYSAHBCLKCTRL0_SPEC>>§

Source

pub fn bits(&self) -> REG::Ux

Reads raw bits from register.

Trait Implementations§

Source§

impl Deref for R

Source§

type Target = R<SYSAHBCLKCTRL0_SPEC>

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Self::Target

Dereferences the value.
Source§

impl From<R<SYSAHBCLKCTRL0_SPEC>> for R

Source§

fn from(reader: R<SYSAHBCLKCTRL0_SPEC>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for R

§

impl RefUnwindSafe for R

§

impl Send for R

§

impl Sync for R

§

impl Unpin for R

§

impl UnwindSafe for R

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.