Andrew Tridgell
2bdda6be71
AP_HAL: added timer_tick() on GPIO
4 years ago
Andrew Tridgell
a426964349
AP_HAL: re-sync APIs for 4.0 update
5 years ago
Peter Barker
fcacdb42bb
AP_HAL: define base-class attach_interrupt to return false
7 years ago
Peter Barker
74263f8412
AP_HAL: add attach_interrupt that takes a functor, not a AP_HAL::Proc
...
AP_HAL: add type-safety for interrupt types
AP_HAL: remove interrupt-low and interrupt-high, and interrupt-none
It is possible that the radio needs very tight timings - do not force
the use of the functor interface
AP_HAL: add detach_interrupt method
7 years ago
Michael du Breuil
3419b045e1
AP_HAL: Remove GPIO::analogPinToDigitalPin()
7 years ago
Andrew Tridgell
391affc02d
AP_HAL: support ChibiOS
7 years ago
Lucas De Marchi
e122b2b651
AP_HAL: GPIO: remove unused functions
...
These functions are not used by any HAL, so remove them.
9 years ago
Lucas De Marchi
dbf2aedf1e
AP_HAL: replace header guard with pragma once
9 years ago
Andrew Tridgell
582318448f
AP_HAL: make new GPIO functions optional
...
not available on all boards
10 years ago
raspilot
6df83f46c5
AP_HAL: new GPIO APIs
10 years ago
Andrew Tridgell
18a64d17d3
AP_HAL: added HAL_ prefix to GPIO_ defines
...
this fixes a bug caused by GPIO_INPUT and GPIO_OUTPUT already being
defined in NuttX, which caused pinMode() not to setup pins for output
when requested
11 years ago
Andrew Tridgell
a5b29f44d5
AP_HAL: added hal.gpio->usb_connected() function
...
this replaces the USB_MUX_PIN on APM2, and works on PX4 and FMUv2
12 years ago
Randy Mackay
ac36a09747
AP_HAL: add toggle to GPIO
12 years ago
Andrew Tridgell
eb6c66af7e
AP_HAL: added gpio->analogPinToDigitalPin() API
12 years ago
Pat Hickey
1678dcc6f0
AP_HAL: GPIO INTERRUPT defines
12 years ago
Pat Hickey
709869f8ce
AP_HAL: use sized ints in GPIO
12 years ago
Pat Hickey
7480707f9e
AP_HAL: Add attach_interrupt method to GPIO
12 years ago
Pat Hickey
73ccfaf2d7
AP_HAL: implement DigitalSource abstraction
...
* GPIO's complement to AnalogSource
12 years ago
Pat Hickey
e9c5f07db2
AP_HAL: Working GPIO interface & implementation
...
* actually, tested the output only... gotta do input next
12 years ago
Pat Hickey
dc03b1190f
AP_HAL: Stub implementations of pure virtual AP_HAL classes
12 years ago