Struct swm341_pac::sys::prstr0::R

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

Register PRSTR0 reader

Implementations§

source§

impl R

source

pub fn gpioa(&self) -> GPIOA_R

Bit 0 - GPIOA field

source

pub fn gpiob(&self) -> GPIOB_R

Bit 1 - GPIOB field

source

pub fn gpioc(&self) -> GPIOC_R

Bit 2 - GPIOC field

source

pub fn gpiod(&self) -> GPIOD_R

Bit 3 - GPIOD field

source

pub fn gpiom(&self) -> GPIOM_R

Bit 4 - GPIOM field

source

pub fn gpion(&self) -> GPION_R

Bit 5 - GPION field

source

pub fn uart0(&self) -> UART0_R

Bit 6 - UART0 field

source

pub fn uart1(&self) -> UART1_R

Bit 7 - UART1 field

source

pub fn uart2(&self) -> UART2_R

Bit 8 - UART2 field

source

pub fn uart3(&self) -> UART3_R

Bit 9 - UART3 field

source

pub fn wdt(&self) -> WDT_R

Bit 10 - WDT field

source

pub fn timr(&self) -> TIMR_R

Bit 11 - TIMR field

source

pub fn pwm(&self) -> PWM_R

Bit 12 - PWM field

source

pub fn spi0(&self) -> SPI0_R

Bit 13 - SPI0 field

source

pub fn spi1(&self) -> SPI1_R

Bit 14 - SPI1 field

source

pub fn i2c0(&self) -> I2C0_R

Bit 15 - I2C0 field

source

pub fn i2c1(&self) -> I2C1_R

Bit 16 - I2C1 field

source

pub fn crc(&self) -> CRC_R

Bit 19 - CRC field

source

pub fn cordic(&self) -> CORDIC_R

Bit 20 - CORDIC field

source

pub fn div(&self) -> DIV_R

Bit 21 - DIV field

source

pub fn sdio(&self) -> SDIO_R

Bit 22 - SDIO field

source

pub fn usb(&self) -> USB_R

Bit 24 - USB field

source

pub fn anac(&self) -> ANAC_R

Bit 25 - ANAC field

source

pub fn adc0(&self) -> ADC0_R

Bit 26 - ADC0 field

source

pub fn can0(&self) -> CAN0_R

Bit 28 - CAN0 field

source

pub fn dma2d(&self) -> DMA2D_R

Bit 29 - DMA2D field

source

pub fn lcd(&self) -> LCD_R

Bit 30 - LCD field

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

source

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

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<PRSTR0_SPEC>

The resulting type after dereferencing.
source§

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

Dereferences the value.
source§

impl From<R<PRSTR0_SPEC>> for R

source§

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

Converts to this type from the input type.

Auto Trait Implementations§

§

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.