2012-08-20 15:37:46 -03:00
|
|
|
|
|
|
|
#ifndef __AP_HAL_NAMESPACE_H__
|
|
|
|
#define __AP_HAL_NAMESPACE_H__
|
|
|
|
|
2012-09-07 20:06:41 -03:00
|
|
|
#include <stdint.h>
|
|
|
|
|
2012-08-20 15:37:46 -03:00
|
|
|
namespace AP_HAL {
|
|
|
|
|
|
|
|
/* Toplevel pure virtual class Hal.*/
|
|
|
|
class HAL;
|
|
|
|
|
|
|
|
/* Toplevel class names for drivers: */
|
|
|
|
class UARTDriver;
|
|
|
|
class I2CDriver;
|
|
|
|
class SPIDriver;
|
|
|
|
class AnalogIn;
|
|
|
|
class Storage;
|
2012-08-31 14:48:37 -03:00
|
|
|
class Dataflash;
|
2012-08-20 15:37:46 -03:00
|
|
|
class GPIO;
|
2012-08-27 15:44:50 -03:00
|
|
|
class RCInput;
|
|
|
|
class RCOutput;
|
2012-08-23 15:36:13 -03:00
|
|
|
class Scheduler;
|
2012-08-20 15:37:46 -03:00
|
|
|
|
2012-08-21 18:11:24 -03:00
|
|
|
class EmptyUARTDriver;
|
2012-08-20 20:54:01 -03:00
|
|
|
|
|
|
|
/* Utility Classes */
|
|
|
|
class Print;
|
|
|
|
class Stream;
|
|
|
|
class BetterStream;
|
2012-09-07 20:06:41 -03:00
|
|
|
|
|
|
|
/* Typdefs for function pointers (Procedure, Timed Procedure) */
|
|
|
|
typedef void(*Proc)(void);
|
|
|
|
typedef void(*TimedProc)(uint32_t);
|
2012-08-20 15:37:46 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endif // __AP_HAL_NAMESPACE_H__
|