micro_delay.h 463 Bytes
Newer Older
1
2
3
4
5
6
/*
 * Copyright (c) 2015-2017, Renesas Electronics Corporation. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

7
8
#ifndef MICRO_DELAY_H
#define MICRO_DELAY_H
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

#define TMU3_MEASUREMENT	(0)

#ifndef __ASSEMBLY__
#include "stdint.h"
void rcar_micro_delay(uint32_t count_us);

#if (TMU3_MEASUREMENT == 1)
void tmu3_start(void);
void tmu3_init(void);
void tmu3_stop(void);

uint32_t tcnt3_snapshot(void);
#endif

#endif

26
#endif /* MICRO_DELAY_H */