[][src]Enum cc2650::ioc::iocfg27::IOMODER

pub enum IOMODER {
    OPENSRC_INV,
    OPENSRC,
    OPENDR_INV,
    OPENDR,
    INV,
    NORMAL,
    _Reserved(u8),
}

Possible values of the field IOMODE

Variants

OPENSRC_INV

Open Source Inverted input / output

OPENSRC

Open Source Normal input / output

OPENDR_INV

Open Drain Inverted input / output

OPENDR

Open Drain, Normal input / output

INV

Inverted input / ouput

NORMAL

Normal input / output

_Reserved(u8)

Reserved

Methods

impl IOMODER[src]

pub fn bits(&self) -> u8[src]

Value of the field as raw bits

pub fn is_opensrc_inv(&self) -> bool[src]

Checks if the value of the field is OPENSRC_INV

pub fn is_opensrc(&self) -> bool[src]

Checks if the value of the field is OPENSRC

pub fn is_opendr_inv(&self) -> bool[src]

Checks if the value of the field is OPENDR_INV

pub fn is_opendr(&self) -> bool[src]

Checks if the value of the field is OPENDR

pub fn is_inv(&self) -> bool[src]

Checks if the value of the field is INV

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

Trait Implementations

impl Copy for IOMODER[src]

impl Debug for IOMODER[src]

impl PartialEq<IOMODER> for IOMODER[src]

impl Clone for IOMODER[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for IOMODER

impl Sync for IOMODER

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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]