summaryrefslogtreecommitdiff
path: root/zephyr/include/dt-bindings/motionsense/utils.h
blob: f7a3a3192720cf2f2b2e14049fd01195081c405c (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 */