aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredolomb <none@example.com>2017-10-31 09:58:28 +0000
committeredolomb <none@example.com>2017-10-31 09:58:28 +0000
commit606da3e464efdfea88af4fc0bb9d12d44b2805eb (patch)
tree89e4534b11a4ef02a094a99340741a13e37c4f77
parent63c1ec23f7186b958cc4aec92419161b9927a535 (diff)
downloadChibiOS-606da3e464efdfea88af4fc0bb9d12d44b2805eb.tar.gz
ChibiOS-606da3e464efdfea88af4fc0bb9d12d44b2805eb.tar.bz2
ChibiOS-606da3e464efdfea88af4fc0bb9d12d44b2805eb.zip
Added TCx clock
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10915 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/hal/ports/SAMA/SAMA5D2x/hal_lld.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/os/hal/ports/SAMA/SAMA5D2x/hal_lld.h b/os/hal/ports/SAMA/SAMA5D2x/hal_lld.h
index 13235c724..6c5624eec 100644
--- a/os/hal/ports/SAMA/SAMA5D2x/hal_lld.h
+++ b/os/hal/ports/SAMA/SAMA5D2x/hal_lld.h
@@ -467,6 +467,11 @@
#define SAMA_FLEXCOM3CLK (SAMA_MCK / SAMA_H64MX_H32MX_RATIO)
#define SAMA_FLEXCOM4CLK (SAMA_MCK / SAMA_H64MX_H32MX_RATIO)
+/**
+ * @brief TCx clock.
+ */
+#define SAMA_TC0CLK (SAMA_MCK / SAMA_H64MX_H32MX_RATIO)
+#define SAMA_TC1CLK (SAMA_MCK / SAMA_H64MX_H32MX_RATIO)
/*===========================================================================*/
/* Driver data structures and types. */
/*===========================================================================*/
@@ -485,6 +490,7 @@
#include "sama_matrix.h"
#include "sama_xdmac.h"
#include "sama_cache.h"
+#include "hal_tc_lld.h"
#ifdef __cplusplus
extern "C" {