Struct xc2bit::XC2MCSmallIOB [] [src]

pub struct XC2MCSmallIOB {
    pub zia_mode: XC2IOBZIAMode,
    pub schmitt_trigger: bool,
    pub obuf_uses_ff: bool,
    pub obuf_mode: XC2IOBOBufMode,
    pub termination_enabled: bool,
    pub slew_is_fast: bool,
}

Represents an I/O pin on "small" (32 and 64 macrocell) devices.

Fields

Mux selection for the ZIA input for this pin

Whether the Schmitt trigger is being used on this pin's input

Selects the source used to drive this pin's output (if the output is enabled). false selects the XOR gate in the macrocell (combinatorial output), and true selects the register output (registered output).

Selects the output mode for this pin

Selects if the global termination (bus hold or pull-up) is enabled on this pin

Selects if fast slew rate is used on this pin

Methods

impl XC2MCSmallIOB
[src]

[src]

impl XC2MCSmallIOB
[src]

[src]

impl XC2MCSmallIOB
[src]

[src]

Dump a human-readable explanation of the settings for this pin to the given writer object. my_idx must be the index of this I/O pin in the internal numbering scheme.

[src]

Write the crbit representation of the settings for this IO pin to the given fuse_array. device must be the device type this FB was extracted from. iob must be the index of this IO pin.

[src]

Read the crbit representation of the settings for this IO pin from the given fuse_array. device must be the device type this FB was extracted from. iob must be the index of this IO pin.

[src]

Internal function that reads only the IO-related bits from the macrocell configuration

[src]

Helper that prints the IOB and macrocell configuration on the "small" parts

Trait Implementations

impl Copy for XC2MCSmallIOB
[src]

impl Clone for XC2MCSmallIOB
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for XC2MCSmallIOB
[src]

impl PartialEq for XC2MCSmallIOB
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Hash for XC2MCSmallIOB
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for XC2MCSmallIOB
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for XC2MCSmallIOB
[src]

[src]

Returns a "default" I/O pin configuration. The default state is for the output and the input into the ZIA to be disabled.

Auto Trait Implementations

impl Send for XC2MCSmallIOB

impl Sync for XC2MCSmallIOB