From 606da3e464efdfea88af4fc0bb9d12d44b2805eb Mon Sep 17 00:00:00 2001 From: edolomb Date: Tue, 31 Oct 2017 09:58:28 +0000 Subject: Added TCx clock git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10915 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/SAMA/SAMA5D2x/hal_lld.h | 6 ++++++ 1 file changed, 6 insertions(+) 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" { -- cgit v1.2.3