[][src]Enum k64::porte::pcr30::IRQCR

pub enum IRQCR {
    _0000,
    _0001,
    _0010,
    _0011,
    _1000,
    _1001,
    _1010,
    _1011,
    _1100,
    _Reserved(u8),
}

Possible values of the field IRQC

Variants

_0000

Interrupt/DMA request disabled.

_0001

DMA request on rising edge.

_0010

DMA request on falling edge.

_0011

DMA request on either edge.

_1000

Interrupt when logic 0.

_1001

Interrupt on rising-edge.

_1010

Interrupt on falling-edge.

_1011

Interrupt on either edge.

_1100

Interrupt when logic 1.

_Reserved(u8)

Reserved

Methods

impl IRQCR[src]

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

Value of the field as raw bits

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

Checks if the value of the field is _0000

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

Checks if the value of the field is _0001

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

Checks if the value of the field is _0010

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

Checks if the value of the field is _0011

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

Checks if the value of the field is _1000

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

Checks if the value of the field is _1001

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

Checks if the value of the field is _1010

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

Checks if the value of the field is _1011

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

Checks if the value of the field is _1100

Trait Implementations

impl PartialEq<IRQCR> for IRQCR[src]

impl Clone for IRQCR[src]

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

Performs copy-assignment from source. Read more

impl Copy for IRQCR[src]

impl Debug for IRQCR[src]

Auto Trait Implementations

impl Send for IRQCR

impl Sync for IRQCR

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]