90523ae975
useful for key functions
40 lines
723 B
C
40 lines
723 B
C
|
|
#ifndef __AP_HAL_H__
|
|
#define __AP_HAL_H__
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
#include "AP_HAL_Namespace.h"
|
|
#include "AP_HAL_Boards.h"
|
|
|
|
#ifdef __GNUC__
|
|
#define WARN_IF_UNUSED __attribute__ ((warn_unused_result))
|
|
#else
|
|
#define WARN_IF_UNUSED
|
|
#endif
|
|
|
|
/* HAL Module Classes (all pure virtual) */
|
|
#include "UARTDriver.h"
|
|
#include "I2CDriver.h"
|
|
#include "SPIDriver.h"
|
|
#include "AnalogIn.h"
|
|
#include "Storage.h"
|
|
#include "Console.h"
|
|
#include "GPIO.h"
|
|
#include "RCInput.h"
|
|
#include "RCOutput.h"
|
|
#include "Scheduler.h"
|
|
#include "Semaphores.h"
|
|
#include "Util.h"
|
|
|
|
#include "utility/Print.h"
|
|
#include "utility/Stream.h"
|
|
#include "utility/BetterStream.h"
|
|
|
|
/* HAL Class definition */
|
|
#include "HAL.h"
|
|
|
|
#endif // __AP_HAL_H__
|
|
|