12345678910111213141516171819202122232425 |
- #ifndef __hal_attitude_h__
- #define __hal_attitude_h__
- #include <stdbool.h>
- #include <stdint.h>
- #include <string.h>
- #include "sdk_common.h"
- #include "SEGGER_RTT.h"
- #include "usr_config.h"
- enum {
- Att_Lowpower,
- Att_GameMode
- };
- void hal_attitude_init(void);
- uint8_t hal_attitude_GetMode(uint8_t mode);
- void hal_attitude_setMode(uint8_t mode);
- void hal_att_read_Acc_Gry_temp(void);
- int16_t* hal_att_GetAcc(void);
- void hal_att_read_acc(void);
- int16_t* hal_att_GetGry(void);
- int16_t hal_att_GetAcc_Z(void);
- #endif
|