blob: f5983949dc59f19d9b0b849dce06d852e4f4da0c [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
7#ifndef MICRO_DELAY_H__
8#define MICRO_DELAY_H__
9
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
26#endif