Struct daisy::pac::rcc::c1_ahb1enr::R

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

Register C1_AHB1ENR reader

Implementations§

§

impl R

pub fn dma1en(&self) -> BitReaderRaw<DMA1EN_A>

Bit 0 - DMA1 Clock Enable

pub fn dma2en(&self) -> BitReaderRaw<DMA1EN_A>

Bit 1 - DMA2 Clock Enable

pub fn adc12en(&self) -> BitReaderRaw<DMA1EN_A>

Bit 5 - ADC1/2 Peripheral Clocks Enable

pub fn eth1macen(&self) -> BitReaderRaw<DMA1EN_A>

Bit 15 - Ethernet MAC bus interface Clock Enable

pub fn eth1txen(&self) -> BitReaderRaw<DMA1EN_A>

Bit 16 - Ethernet Transmission Clock Enable

pub fn eth1rxen(&self) -> BitReaderRaw<DMA1EN_A>

Bit 17 - Ethernet Reception Clock Enable

pub fn usb1otgen(&self) -> BitReaderRaw<DMA1EN_A>

Bit 25 - USB1OTG Peripheral Clocks Enable

pub fn usb1ulpien(&self) -> BitReaderRaw<DMA1EN_A>

Bit 26 - USB_PHY1 Clocks Enable

pub fn usb2otgen(&self) -> BitReaderRaw<DMA1EN_A>

Bit 27 - USB2OTG Peripheral Clocks Enable

pub fn usb2ulpien(&self) -> BitReaderRaw<DMA1EN_A>

Bit 28 - USB_PHY2 Clocks Enable

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

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

Reads raw bits from register.

Trait Implementations§

§

impl Deref for R

§

type Target = R<C1_AHB1ENR_SPEC>

The resulting type after dereferencing.
§

fn deref(&self) -> &<R as Deref>::Target

Dereferences the value.
§

impl From<R<C1_AHB1ENR_SPEC>> for R

§

fn from(reader: R<C1_AHB1ENR_SPEC>) -> R

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<T, U> TryFrom<U> for T
where U: Into<T>,

§

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>,

§

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.