I want to know how do I write to GIO pins registers?
There is this folder /pro/gio, where all the gio pins are listed. But hpw to write to them directly from there or somewhere else.?
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.
I want to know how do I write to GIO pins registers?
There is this folder /pro/gio, where all the gio pins are listed. But hpw to write to them directly from there or somewhere else.?
There is a gpio driver provided under the Linux Kernel source tree
.../ti-davinci/arch/arm/mach-davinci/gpio.c
There is sample source code on how to write to gpio registers there.
What do you mean by ADC on GPIO pins? The GPIO pins are binary on their own, though if you had an external ADC you could use GPIO to interface with it.
Do you mean analog-to-digital converter (ADC)? If so, please note that GPIO pins are in the digital domain only. If you have an analog signal, you will have to converted to digital signal with the characteristics specified in the DM355 data-sheet before feeding it into GPIO pin.