[][src]Struct xc2bit::XC2ExtraIBuf

pub struct XC2ExtraIBuf {
    pub schmitt_trigger: bool,
    pub termination_enabled: bool,
}

Represents the one additional special input-only pin on 32-macrocell devices.

Fields

schmitt_trigger: booltermination_enabled: bool

Methods

impl XC2ExtraIBuf[src]

pub fn encode_jed<T: ?Sized>(&self, fuses: &mut T) where
    T: IndexMut<usize, Output = bool>, 
[src]

impl XC2ExtraIBuf[src]

pub fn decode_jed<T: ?Sized>(fuses: &T) -> Self where
    T: Index<usize, Output = bool>, 
[src]

impl XC2ExtraIBuf[src]

pub fn encode_crbit<T: ?Sized>(&self, fuses: &mut T) where
    T: IndexMut<(usize, usize), Output = bool>, 
[src]

impl XC2ExtraIBuf[src]

pub fn decode_crbit<T: ?Sized>(fuses: &T) -> Self where
    T: Index<(usize, usize), Output = bool>, 
[src]

impl XC2ExtraIBuf[src]

pub fn dump_human_readable<W: Write>(&self, writer: W) -> Result<(), Error>[src]

Dump a human-readable explanation of the settings for this pin to the given writer object.

Trait Implementations

impl Clone for XC2ExtraIBuf[src]

impl Copy for XC2ExtraIBuf[src]

impl Debug for XC2ExtraIBuf[src]

impl Default for XC2ExtraIBuf[src]

fn default() -> Self[src]

Returns a "default" pin configuration.

impl<'de> Deserialize<'de> for XC2ExtraIBuf[src]

impl Eq for XC2ExtraIBuf[src]

impl Hash for XC2ExtraIBuf[src]

impl PartialEq<XC2ExtraIBuf> for XC2ExtraIBuf[src]

impl Serialize for XC2ExtraIBuf[src]

impl StructuralEq for XC2ExtraIBuf[src]

impl StructuralPartialEq for XC2ExtraIBuf[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.