blob: 458959fd8d08a198ba06e550d09e91a0bb8ae62c [file] [log] [blame]
Jorge Ramirez-Ortizf7c14d52018-09-23 09:39:37 +02001/*
2 * Copyright (c) 2015-2017, Renesas Electronics Corporation. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +00007#ifndef MICRO_DELAY_H
8#define MICRO_DELAY_H
Jorge Ramirez-Ortizf7c14d52018-09-23 09:39:37 +02009
10#define TMU3_MEASUREMENT (0)
11
12#ifndef __ASSEMBLY__
13#include "stdint.h"
14void rcar_micro_delay(uint32_t count_us);
15
16#if (TMU3_MEASUREMENT == 1)
17void tmu3_start(void);
18void tmu3_init(void);
19void tmu3_stop(void);
20
21uint32_t tcnt3_snapshot(void);
22#endif
23
24#endif
25
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000026#endif /* MICRO_DELAY_H */