Take action in the presence of the GPIO_PIN_PRESET_LOW/HIGH flags. This
part of the GPIO interface seems to be unused, but is trivially
implemented in our driver.
Details
Details
- Reviewers
bscott_bunyatech.com.au - Group Reviewers
riscv - Commits
- rGa0c0f12c1bbc: jh7110_gpio: handle preset high/low
rG6f9d0f02e72c: jh7110_gpio: handle preset high/low
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Works fine for me.
Can't say if it works 100% correctly since there is a (very short) delay between setting the pin to output and setting the value. I don't have equipment to see how long that delay is in practice but suspect it is way to fast to be noticed for any practical use. I wonder if it is possible to set the value before setting the pin to output? I haven't seen anything suggesting that it is either possible or impossible.