#[repr(C)]pub struct RegisterBlock {Show 17 fields
pub input_val: INPUT_VAL,
pub input_en: INPUT_EN,
pub output_en: OUTPUT_EN,
pub output_val: OUTPUT_VAL,
pub pullup_en: PULLUP_EN,
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 output_xor: OUTPUT_XOR,
}Expand description
Register block
Fields§
§input_val: INPUT_VAL0x00 - Input Value Register
input_en: INPUT_EN0x04 - Pin Input Enable Register
output_en: OUTPUT_EN0x08 - Pin Output Enable Register
output_val: OUTPUT_VAL0x0c - Output Value Register
pullup_en: PULLUP_EN0x10 - Internal Pull-Up Enable Register
drive: DRIVE0x14 - Drive Strength Register
rise_ie: RISE_IE0x18 - Rise Interrupt Enable Register
rise_ip: RISE_IP0x1c - Rise Interrupt Pending Register
fall_ie: FALL_IE0x20 - Fall Interrupt Enable Register
fall_ip: FALL_IP0x24 - Fall Interrupt Pending Register
high_ie: HIGH_IE0x28 - High Interrupt Enable Register
high_ip: HIGH_IP0x2c - High Interrupt Pending Register
low_ie: LOW_IE0x30 - Low Interrupt Enable Register
low_ip: LOW_IP0x34 - Low Interrupt Pending Register
iof_en: IOF_EN0x38 - HW I/O Function Enable Register
iof_sel: IOF_SEL0x3c - HW I/O Function Select Register
output_xor: OUTPUT_XOR0x40 - Output XOR (invert) Register
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more