diff options
| author | Glenn Ruben Bakke <glennbakke@gmail.com> | 2018-04-19 22:29:42 +0200 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2018-07-18 17:12:26 +1000 |
| commit | b7ce2f146013f5b599defe4d29b1155141dc00c0 (patch) | |
| tree | 4e2f255476e67cff0a7eb01924af48246854a7f4 /py/obj.h | |
| parent | 6011441342f32ff644ad56abcf002d585124bd7c (diff) | |
nrf: Add support for reading output pin state
Current adoption on top of nrfx only reads the GPIO->IN register.
In order to read back an output state, nrf_gpio_pin_out_read has
to be called.
This patch concatinate the two read functions such that, if
either IN or OUT register has a value 1 it will return this,
else 0.
Updating lib/nrfx submodule to latest version of master to get
the new GPIO API to read pin direction.
(nrfx: d37b16f2b894b0928395f6f56ca741287a31a244)
Diffstat (limited to 'py/obj.h')
0 files changed, 0 insertions, 0 deletions
