Generic DIO interface
Technical details
-
DigitalIO class implements a wrapper of GPIO peripheral APIs (Initial development in !11 (merged)) -
Pin state report and set/clear/toggle -
Pin configuration state report (need zephyr version greater than v3.1) -
Port state report and set/clear/toggle -
Search and reference of pins by name or gpio_spec
-
-
Global pin list should be defined in the device tree node dio
withgpios
andlabel
attributes
由 Victor Chen 编辑于