summaryrefslogtreecommitdiff
path: root/zephyr/include/dt-bindings/motionsense/utils.h
blob: 7f0e5f5fc89aefefcc7d218c2d1b08ad690ee1f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * Copyright 2021 Google LLC.
 *
 * SPDX-License-Identifier: Apache-2.0
 */

#ifndef DT_BINDINGS_UTILS_H
#define DT_BINDINGS_UTILS_H

#define BIT(x)			(1U << (x))
#define ROUND_UP_FLAG		BIT(31)
#define USEC_PER_MSEC		1000

#endif /* DT_BINDINGS_UTILS_H */