pub struct IoConfig {
pub mode: IoConfigMode,
pub mapped: u32,
pub sync_bypass: u32,
pub oe_inv: u32,
pub o_inv: u32,
pub i_inv: u32,
pub snap_inputs: Option<BioCore>,
pub snap_outputs: Option<BioCore>,
}Fields§
§mode: IoConfigModeSee definition of IoConfigMode enum
mapped: u32bits set to 1 here are mapped to the BIO instead of the GPIO
sync_bypass: u32bits set to 1 in the u32 corresponding to BIO inputs passed in as raw, unsynchronized
values. This can lead to instability, but reduces latency.
oe_inv: u32bits set to 1 in the u32 corresponding to BIO outputs that have the OE inverted
o_inv: u32bits set to 1 in the u32 corresponding to BIO outputs that have the output value inverted
compared to the value written into the register
i_inv: u32bits set to 1 in the u32 corresponding to BIO inputs that have the input value inverted
before being passed into the register accessed by the core
snap_inputs: Option<BioCore>When specified all GPIO inputs are aligned to the divided clock of the specified core
snap_outputs: Option<BioCore>When specified all GPIO outputs are aligned to the divided clock of the specified core