AT-Command/samples/none_os/user/platform.h
2022-12-31 22:42:31 +08:00

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