Sanitise includes across codebase
[project/bcm63xx/atf.git] / drivers / renesas / rcar / delay / micro_delay.h
1 /*
2 * Copyright (c) 2015-2017, Renesas Electronics Corporation. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7 #ifndef MICRO_DELAY_H
8 #define MICRO_DELAY_H
9
10 #define TMU3_MEASUREMENT (0)
11
12 #ifndef __ASSEMBLY__
13 #include <stdint.h>
14 void rcar_micro_delay(uint32_t count_us);
15
16 #if (TMU3_MEASUREMENT == 1)
17 void tmu3_start(void);
18 void tmu3_init(void);
19 void tmu3_stop(void);
20
21 uint32_t tcnt3_snapshot(void);
22 #endif
23
24 #endif
25
26 #endif /* MICRO_DELAY_H */