Commit Graph

9 Commits

Author SHA1 Message Date
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
2013-09-19 16:23:40 +10:00
Randy Mackay ac36a09747 AP_HAL: add toggle to GPIO 2013-08-30 13:01:34 +10:00
Andrew Tridgell eb6c66af7e AP_HAL: added gpio->analogPinToDigitalPin() API 2013-03-22 12:31:14 +11:00
Pat Hickey 1678dcc6f0 AP_HAL: GPIO INTERRUPT defines 2012-12-22 09:11:11 +11:00
Pat Hickey 709869f8ce AP_HAL: use sized ints in GPIO 2012-12-20 14:51:33 +11:00
Pat Hickey 7480707f9e AP_HAL: Add attach_interrupt method to GPIO 2012-12-20 14:51:26 +11:00
Pat Hickey 73ccfaf2d7 AP_HAL: implement DigitalSource abstraction
* GPIO's complement to AnalogSource
2012-12-20 14:51:25 +11:00
Pat Hickey e9c5f07db2 AP_HAL: Working GPIO interface & implementation
* actually, tested the output only... gotta do input next
2012-12-20 14:51:20 +11:00
Pat Hickey dc03b1190f AP_HAL: Stub implementations of pure virtual AP_HAL classes 2012-12-20 14:51:18 +11:00