12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- #ifndef __main_h__
- #define __main_h__
- /**************************** 系统头文件 ********************************/
- #include <stdbool.h>
- #include <stdint.h>
- #include <string.h>
- #include "sdk_common.h"
- #include "nrf.h"
- #include "nrf_esb.h"
- #include "nrf_error.h"
- #include "nrf_esb_error_codes.h"
- #include "nrf_delay.h"
- #include "nrf_gpio.h"
- #include "boards.h"
- #include "nrf_delay.h"
- #include "nrf_drv_timer.h"
- #include "app_util.h"
- #include "twi_master.h"
- #include "nrf_log.h"
- #include "nrf_log_ctrl.h"
- #include "nrf_log_default_backends.h"
- #include "nrf_drv_saadc.h"
- #include "nrf_temp.h"
- /**************************** 自定义头文件 ********************************/
- #include "bsp_interface.h"
- #include "bsp_protocol.h"
- #include "bsp_esb.h"
- #include "bsp_uart.h"
- #include "bsp_gpio.h"
- #include "bsp_time.h"
- #include "mpu9250.h"
- #include "MSE5611.h"
- #include "nrf_pwr_mgmt.h"
- #include "nrf_drv_clock.h"
- #include "app_timer.h"
- #include "User_low_power.h"
- #include "User_Battery.h"
- #include "User_Wdt.h"
- #include "User_task.h"
- #include "User_temperature.h"
- #include "User_flash.h"
- #ifdef USR_CONFIG
- #include "usr_config.h"
- #endif
- /**************************** 全局变量 ************************************/
- #endif
|