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

#[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

0x00 - Pin value.

0x04 - Pin Input Enable Register

0x08 - Pin Output Enable Register

0x0c - Output Port Value Register

0x10 - Internal Pull-Up Enable Register

0x14 - Drive Strength Register

0x18 - Rise Interrupt Enable Register

0x1c - Rise Interrupt Pending Register

0x20 - Fall Interrupt Enable Register

0x24 - Fall Interrupt Pending Register

0x28 - High Interrupt Enable Register

0x2c - High Interrupt Pending Register

0x30 - Low Interrupt Enable Register

0x34 - Low Interrupt Pending Register

0x38 - HW I/O Function Enable Register

0x3c - HW I/O Function Select Register

0x40 - Output XOR (invert) Register