Re: GPIO drivers

2024-01-17 Thread Lwazi Dube
Hi Stewart, Take this with a grain of salt. I have never used the ioexpander ... took a quick look after seeing your email. You need to populate ioexpander_ops_s within your board specific files. IOEXP_WRITEPIN is the "virtual function" that calls your board specific write_pin function (which call

Re: GPIO drivers

2024-01-17 Thread Stewart Charnell
24-01-17 04:33     *To:* dev@nuttx.apache.org     *Subject:* [External Mail][Quarantine]GPIO drivers     Hello,     I have a processor board with GPIO ports which I would like to use to     control such things as relays and PSU enable pins.     Do I need to write a GPIO driver? There is an I/O ex

Re: GPIO drivers

2024-01-16 Thread Stewart Charnell
ev@nuttx.apache.org *Subject:* [External Mail][Quarantine]GPIO drivers Hello, I have a processor board with GPIO ports which I would like to use to control such things as relays and PSU enable pins. Do I need to write a GPIO driver? There is an I/O expander driver. Is th

Re: [External Mail][Quarantine]GPIO drivers

2024-01-16 Thread 汪博文
.plus.com> Date: 2024-01-17 04:33 To: dev@nuttx.apache.org<mailto:dev@nuttx.apache.org> Subject: [External Mail][Quarantine]GPIO drivers Hello, I have a processor board with GPIO ports which I would like to use to control such things as relays and PSU enable pins. Do I need to write a GPIO

GPIO drivers

2024-01-16 Thread Stewart Charnell
Hello, I have a processor board with GPIO ports which I would like to use to control such things as relays and PSU enable pins. Do I need to write a GPIO driver? There is an I/O expander driver. Is the I/O expander driver specific to expanders or can it be used for GPIO control? Kind regar