What is the difference between the 'gpio.h' and 'hw_gpio.h' header files? When is it necessary to include both?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
What is the difference between the 'gpio.h' and 'hw_gpio.h' header files? When is it necessary to include both?
Hello Prachi,
The files hw_xxx.h is the definition file for the register and bits for the module xxx. In this case xxx is gpio. The other file is the driver file which uses the hw_xxx to build higher level C functions (simple enough to program the device)
Regards
Amit