summaryrefslogtreecommitdiff
path: root/bsp/Vango/v85xxp/drivers/drv_comm.h
blob: ea6bb51f2ab4909a53bfa37890ce514b59026fd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * Copyright (c) 2006-2022, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author            Notes
 * 2021-01-28     iysheng           first version
 */

#ifndef __DRV_COMM_H__
#define __DRV_COMM_H__

#ifdef __cplusplus
extern "C" {
#endif

#ifndef ARRAY_SIZE
#define ARRAY_SIZE(x)    (sizeof(x) / sizeof(x[0]))
#endif

#ifdef __cplusplus
}
#endif

#endif /* __DRV_CLOCK_TIMER_H__ */