mirror of
https://gitee.com/jiuyilian/embedded-framework.git
synced 2025-10-24 18:20:15 -04:00
18 lines
281 B
C
18 lines
281 B
C
#ifndef HAL_H
|
|
#define HAL_H
|
|
#include "StatusCode.h"
|
|
#include "IHal.h"
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
typedef struct hal Hal;
|
|
typedef struct hal
|
|
{
|
|
IHal base;
|
|
} Hal;
|
|
StatusCode NewHal(Hal **hal);
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif |