keil/include/board/board.h
@@ -86,7 +86,7 @@
#define CALIB_CH5 1
#define CALIB_CH2 2
#define CALIB_CH_NUM 3
#define SLEEP_TIMER_NUM 496
#define SLEEP_TIMER_NUM 500
#define CALIB_CH(x) (x == 9 ? 0 : (x == 5 ? 1 : 2))
enum BOARD_NVM_ITEM_ID_T
@@ -143,6 +143,7 @@
 */
void board_pins_config(void);
void boot_deinit(void);
/**
 * @brief Configure debug trace port.
 * @param[in] port      Trace port
@@ -193,16 +194,10 @@
 */
void board_5V_input_init(GPIO_IRQ_HANDLER_T irq_handler);
/**
 * @brief Configure button GPIO.
 * @param[in] irq_handler accelerate input interrupt process handler
 *
 */
void board_acceleration_detection_init(GPIO_IRQ_HANDLER_T irq_handler);
/**
 * @brief Configure LED GPIO.
 *
 */
void board_led_init(void);
void board_mode_pin_init(void);
/**
 * @brief LED on.
@@ -242,16 +237,7 @@
 *
 */
void board_restore_from_power_down(void);
/**
 * @brief Change uart1 gps to debug.
 *
 */
void uart1_change_from_gps_to_debug(void);
/**
 * @brief Change uart1 debug to gps.
 *
 */
void uart1_change_from_debug_to_gps(void);
#if defined(__cplusplus)
}
#endif