(This message was transferred over from our old forum)
Posted August 14, 2015
By Todd DeBoer
[hr]
On 9/12/12 jrg76 asked, “I need to control some GPIOs pins on an individual basis, however, reading the “uEZ Software User’s Guide” I couldn’t find any hi level API for such a purpose (like ADC, AudioAmp, and so on) in the sections “Subsystem driver API” and “Subsystem Device Drivers”. In subsection 5.7 there is a GPIO HAL, indeed.
My question is: do I need to write either a device driver or subsystem driver (or both) in order to do so? May be a hi level API already exists, but I didn’t see it.”
[hr]
(Follow up post)
Answered:
In uEZ v2.00, a UEZGPIO interface was added that encapsulates the HAL_GPIO drivers and gives an easy to use top level control of the GPIOs. Will do what you need?
If you are using an older version, the standard procedure is to use the HAL_GPIO drivers instead.
Please Log in or Create an account to join the conversation.