AT-Command/Demo/user/platform.h

24 lines
619 B
C
Raw Normal View History

2021-01-20 14:18:32 +00:00
/******************************************************************************
* @brief <EFBFBD><EFBFBD><EFBFBD><EFBFBD>ز<EFBFBD><EFBFBD><EFBFBD>
*
* 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 /*ϵͳ<CFB5>δ<EFBFBD>ʱ<EFBFBD><CAB1>(ms) */
bool is_timeout(unsigned int start, unsigned int timeout);
unsigned int get_tick(void);
#endif