pynq.metadata-gpio_dict_view Module

Provides a view onto the Metadata object that displays all GPIO pins controlled by the PS. Models a dictionary where the keys are the names of the pin and each entry contains:

  • the index of the pin :int

  • the current state of the pin : str

class pynq.metadata.gpio_dict_view.GpioDictView(module: Module)[source]

Bases: MetadataView

Provides a view onto the Metadata object that displays all GPIO pins controlled by the PS. Models a dictionary where the keys are the names of the pin and each entry contains:

  • the index of the pin :int

  • the current state of the pin : str

property view: Dict

Returns the dictionary view of the metadata, this should be overloaded in the subclass to actually implement the view