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: pynqmetadata.models.module.Module)[source]¶ Bases:
pynq.metadata.metadata_view.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
-
view
¶ Returns the dictionary view of the metadata, this should be overloaded in the subclass to actually implement the view