Can we use unused keypad column pin as "open drain" "general purpose output"? How to control the output level of it?
Thanks,
Antony
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.
Can we use unused keypad column pin as "open drain" "general purpose output"? How to control the output level of it?
Thanks,
Antony
Hi Antony,
Though th ecolumn is open drain there is no software control for these pins. The only way you can have any software control i sto check the row and column short (for key press detection). This obviously cannot be used for any GPIO like activity.
The KBC_REG bits can help you drive column lines but there is no detection for columns alone. You can use software scanning and try to detect the column pressed by reading the rows and columns. This is theoretically possible, however I have never seen anyone use this.
Regards,
Gandhar.