mirror of
https://gitee.com/moluo-tech/AT-Command
synced 2025-06-17 16:07:52 +00:00
24 lines
608 B
C
24 lines
608 B
C
/******************************************************************************
|
|
* @brief 设备相关操作
|
|
*
|
|
* Copyright (c) 2020, <morro_luo@163.com>
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* Change Logs:
|
|
* Date Author Notes
|
|
*
|
|
******************************************************************************/
|
|
|
|
#ifndef _PLATFORM_DEVICE_H_
|
|
#define _PLATFORM_DEVICE_H_
|
|
|
|
#include <stdbool.h>
|
|
|
|
#define SYS_TICK_INTERVAL 10 /*系统滴答时间(ms) */
|
|
|
|
bool is_timeout(unsigned int start, unsigned int timeout);
|
|
unsigned int get_tick(void);
|
|
|
|
#endif
|