Commit Graph

11 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 ba07ae283f AP_HAL_AVR: sized ints in GPIO 2012-12-20 14:51:33 +11:00
Pat Hickey 2e32ec3013 AP_HAL_AVR GPIO: rename Arduino to be AVR 2012-12-20 14:51:30 +11:00
Pat Hickey b7c4cc20ac GPIO: optimized read, write, and mode for DigitalSource objects 2012-12-20 14:51:30 +11:00
Pat Hickey 11bf533c57 AP_HAL_AVR: implement GPIO::attach_interrupt just for interrupt 6 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 8eb9b39a44 AP_HAL_AVR move library classes to their own AP_HAL_AVR namespace 2012-12-20 14:51:19 +11:00
Pat Hickey 00920b0483 AP_HAL_AVR: Stub implementations of AP_HAL_AVR concrete classes 2012-12-20 14:51:18 +11:00