ardupilot/libraries/AP_HAL
Caio Marcelo de Oliveira Filho 72cd5ef185 AP_HAL: add run() method
Add run method, that encapsulate any mainloop logic on behalf of the
client code. The setup/loop functions are passed via a HAL::Callbacks
interface. The AP_HAL_MAIN() macro should be kept as trivial as
possible.

This interface should be implemented by the existing vehicle objects. To
make easy for the examples (that don't have the equivalent of vehicle
objects), a FunCallbacks was added to bridge to the functions directly.
2015-10-21 09:16:07 +11:00
..
examples build: compile only the HAL files needed by the board 2015-10-21 09:16:07 +11:00
utility AP_HAL: standardize inclusion of libaries headers 2015-08-18 17:12:51 +10:00
AnalogIn.h AP_HAL: added servorail_voltage and power_status_flags() API on AnalogIn 2014-02-15 05:00:09 +11:00
AP_HAL_Boards.h AP_HAL: make code not depend on concrete HAL implementations 2015-10-21 09:16:07 +11:00
AP_HAL_Macros.h AP_HAL: use noreturn attribute on panic 2015-06-08 21:09:08 +10:00
AP_HAL_Namespace.h AP_HAL: make code not depend on concrete HAL implementations 2015-10-21 09:16:07 +11:00
AP_HAL.h AP_HAL: removed separate Console class 2013-10-05 18:32:00 +10:00
GPIO.h AP_HAL: make new GPIO functions optional 2015-09-14 14:22:16 +10:00
HAL.cpp AP_HAL: add run() method 2015-10-21 09:16:07 +11:00
HAL.h AP_HAL: add run() method 2015-10-21 09:16:07 +11:00
I2CDriver.h AP_HAL: fixed I2C build on APM2 2014-07-14 09:44:35 +10:00
RCInput.h AP_HAL: Added deinit() method to RCInput 2015-07-23 08:51:37 +10:00
RCOutput.h AP_HAL: RCOutput: add methods to allow grouping writes 2015-10-06 10:42:18 +11:00
Scheduler.h AP_HAL: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
Semaphores.h AP_HAL: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
SPIDriver.h AP_HAL: Add support for using SPI devices of the same type. 2015-09-18 09:15:09 +10:00
Storage.h AP_HAL: removed old storage type read/write functions 2014-08-13 18:46:44 +10:00
UARTDriver.cpp AP_HAL: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
UARTDriver.h AP_HAL: create a common utility/RingBuffer.h header 2015-01-07 08:41:14 +11:00
Util.cpp AP_HAL: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
Util.h AP_HAL: added generic perf counter 2015-10-20 18:09:57 +11:00