[][src]Struct e310x::gpio0::RegisterBlock

#[repr(C)]
pub struct RegisterBlock { pub value: VALUE, pub input_en: INPUT_EN, pub output_en: OUTPUT_EN, pub port: PORT, pub pullup: PULLUP, pub drive: DRIVE, pub rise_ie: RISE_IE, pub rise_ip: RISE_IP, pub fall_ie: FALL_IE, pub fall_ip: FALL_IP, pub high_ie: HIGH_IE, pub high_ip: HIGH_IP, pub low_ie: LOW_IE, pub low_ip: LOW_IP, pub iof_en: IOF_EN, pub iof_sel: IOF_SEL, pub out_xor: OUT_XOR, }

Register block

Fields

value: VALUE

0x00 - Pin value.

input_en: INPUT_EN

0x04 - Pin Input Enable Register

output_en: OUTPUT_EN

0x08 - Pin Output Enable Register

port: PORT

0x0c - Output Port Value Register

pullup: PULLUP

0x10 - Internal Pull-Up Enable Register

drive: DRIVE

0x14 - Drive Strength Register

rise_ie: RISE_IE

0x18 - Rise Interrupt Enable Register

rise_ip: RISE_IP

0x1c - Rise Interrupt Pending Register

fall_ie: FALL_IE

0x20 - Fall Interrupt Enable Register

fall_ip: FALL_IP

0x24 - Fall Interrupt Pending Register

high_ie: HIGH_IE

0x28 - High Interrupt Enable Register

high_ip: HIGH_IP

0x2c - High Interrupt Pending Register

low_ie: LOW_IE

0x30 - Low Interrupt Enable Register

low_ip: LOW_IP

0x34 - Low Interrupt Pending Register

iof_en: IOF_EN

0x38 - HW I/O Function Enable Register

iof_sel: IOF_SEL

0x3c - HW I/O Function Select Register

out_xor: OUT_XOR

0x40 - Output XOR (invert) Register

Auto Trait Implementations

Blanket Implementations

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> From for T[src]

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]