diff options
author | Claas Ziemke <ziemke@irs.uni-stuttgart.de> | 2012-08-22 14:39:02 +0200 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-11-03 14:19:47 -0600 |
commit | 7a669866eea8b66b87b22015b793b5ea4ff950c1 (patch) | |
tree | f7faffb2cd20b45894ddabbc60f1a0e5ee96403d /c/src/lib/libbsp/arm/beagle/include/beagle-clock-config.h | |
parent | Add some generic ARM am335x and omap definitions (diff) | |
download | rtems-7a669866eea8b66b87b22015b793b5ea4ff950c1.tar.bz2 |
Added BeagleBoard BSP
Coding done in course of GSoC2012.
Commit edited to be brought up-to-date with mainline by
Ben Gras <beng@shrike-systems.com>.
Diffstat (limited to 'c/src/lib/libbsp/arm/beagle/include/beagle-clock-config.h')
-rw-r--r-- | c/src/lib/libbsp/arm/beagle/include/beagle-clock-config.h | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/arm/beagle/include/beagle-clock-config.h b/c/src/lib/libbsp/arm/beagle/include/beagle-clock-config.h new file mode 100644 index 0000000000..18a1d86f75 --- /dev/null +++ b/c/src/lib/libbsp/arm/beagle/include/beagle-clock-config.h @@ -0,0 +1,58 @@ +/** + * @file + * + * @ingroup beagle_clock + * + * @brief Clock driver configuration. + */ + +/* + * Copyright (c) 2012 Claas Ziemke. All rights reserved. + * + * Claas Ziemke + * Kernerstrasse 11 + * 70182 Stuttgart + * Germany + * <claas.ziemke@gmx.net> + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + */ + +#ifndef LIBBSP_ARM_BEAGLE_BEAGLE_CLOCK_CONFIG_H +#define LIBBSP_ARM_BEAGLE_BEAGLE_CLOCK_CONFIG_H + +#include <bsp.h> +#include <bsp/irq.h> +#include <bsp/beagle.h> + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +/** + * @defgroup beagle_clock Clock Support + * + * @ingroup beagle + * + * @brief Clock support. + * + * @{ + */ + +#define BEAGLE_CLOCK_INTERRUPT BEAGLE_IRQ_TIMER_0 + +#define BEAGLE_CLOCK_TIMER_BASE BEAGLE_BASE_TIMER_0 + +#define BEAGLE_CLOCK_REFERENCE BEAGLE_PERIPH_CLK + +#define BEAGLE_CLOCK_MODULE_ENABLE() + +/** @} */ + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* LIBBSP_ARM_BEAGLE_BEAGLE_CLOCK_CONFIG_H */ |