Struct gd32f1x0_hal::pac::tsi::gctl::R[][src]

pub struct R(_);
Expand description

Register GCTL reader

Implementations

impl R[src]

pub fn gc5(&self) -> GC5_R[src]

Bit 21 - Analog I/O group 5 status

pub fn gc4(&self) -> GC4_R[src]

Bit 20 - Analog I/O group 4 status

pub fn gc3(&self) -> GC3_R[src]

Bit 19 - Analog I/O group 3 status

pub fn gc2(&self) -> GC2_R[src]

Bit 18 - Analog I/O group 2 status

pub fn gc1(&self) -> GC1_R[src]

Bit 17 - Analog I/O group 1 status

pub fn gc0(&self) -> GC0_R[src]

Bit 16 - Analog I/O group 0 status

pub fn ge5(&self) -> GE5_R[src]

Bit 5 - Analog I/O group 5 enable

pub fn ge4(&self) -> GE4_R[src]

Bit 4 - Analog I/O group 4 enable

pub fn ge3(&self) -> GE3_R[src]

Bit 3 - Analog I/O group 3 enable

pub fn ge2(&self) -> GE2_R[src]

Bit 2 - Analog I/O group 2 enable

pub fn ge1(&self) -> GE1_R[src]

Bit 1 - Analog I/O group 1 enable

pub fn ge0(&self) -> GE0_R[src]

Bit 0 - Analog I/O group 0 enable

Methods from Deref<Target = R<GCTL_SPEC>>

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

Reads raw bits from register.

Trait Implementations

impl Deref for R[src]

type Target = R<GCTL_SPEC>

The resulting type after dereferencing.

pub fn deref(&self) -> &<R as Deref>::Target[src]

Dereferences the value.

impl From<R<GCTL_SPEC>> for R[src]

pub fn from(reader: R<GCTL_SPEC>) -> R[src]

Performs the conversion.

Auto Trait Implementations

impl Send for R

impl Sync for R

impl Unpin for R

Blanket Implementations

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

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

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.

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

Performs the conversion.

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.

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

Performs the conversion.