RTEMS 5.2
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
arm-a9mpcore-clock.h
1/*
2 * Copyright (c) 2013 Chris Johns <chrisj@rtems.org>. All rights reserved.
3 *
4 * The license and distribution terms for this file may be
5 * found in the file LICENSE in this distribution or at
6 * http://www.rtems.org/license/LICENSE.
7 */
8
9#ifndef LIBBSP_ARM_SHARED_ARM_A9MPCORE_CLOCK_H
10#define LIBBSP_ARM_SHARED_ARM_A9MPCORE_CLOCK_H
11
12#include <rtems/counter.h>
13
14#ifdef __cplusplus
15extern "C" {
16#endif /* __cplusplus */
17
18/*
19 * Return the peripheral clock. For systems such as the zynq this
20 * is controlled by the PL logic generation and can vary. Provide this
21 * function in your application to override the BSP default.
22 */
23uint32_t a9mpcore_clock_periphclk(void);
24
25#ifdef __cplusplus
26}
27#endif /* __cplusplus */
28
29#endif /* LIBBSP_ARM_SHARED_ARM_A9MPCORE_CLOCK_H */
Free-Running Counter and Busy Wait Delay API.