diff options
author | edolomb <edolomb@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2017-09-27 13:30:07 +0000 |
---|---|---|
committer | edolomb <edolomb@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2017-09-27 13:30:07 +0000 |
commit | 90350ca87596cf68626d9eea5a1ac72fe8121f27 (patch) | |
tree | 06335d01d18bd661cce9dd96d2c5bb44177ad5db /os | |
parent | 74e5904301e23cf0dcb25a72aeac9a0bd0712c1a (diff) | |
download | ChibiOS-90350ca87596cf68626d9eea5a1ac72fe8121f27.tar.gz ChibiOS-90350ca87596cf68626d9eea5a1ac72fe8121f27.tar.bz2 ChibiOS-90350ca87596cf68626d9eea5a1ac72fe8121f27.zip |
Added clock definition for FLEXCOMx
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10719 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/ports/SAMA/SAMA5D2x/hal_lld.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/os/hal/ports/SAMA/SAMA5D2x/hal_lld.h b/os/hal/ports/SAMA/SAMA5D2x/hal_lld.h index 2144ea8fe..f4dc3839f 100644 --- a/os/hal/ports/SAMA/SAMA5D2x/hal_lld.h +++ b/os/hal/ports/SAMA/SAMA5D2x/hal_lld.h @@ -472,6 +472,15 @@ #define SAMA_UART3CLK (SAMA_MCK / SAMA_H64MX_H32MX_RATIO)
#define SAMA_UART4CLK (SAMA_MCK / SAMA_H64MX_H32MX_RATIO)
+/**
+ * @brief FLEXCOMx clock.
+ */
+#define SAMA_FLEXCOM0CLK (SAMA_MCK / SAMA_H64MX_H32MX_RATIO)
+#define SAMA_FLEXCOM1CLK (SAMA_MCK / SAMA_H64MX_H32MX_RATIO)
+#define SAMA_FLEXCOM2CLK (SAMA_MCK / SAMA_H64MX_H32MX_RATIO)
+#define SAMA_FLEXCOM3CLK (SAMA_MCK / SAMA_H64MX_H32MX_RATIO)
+#define SAMA_FLEXCOM4CLK (SAMA_MCK / SAMA_H64MX_H32MX_RATIO)
+
/*===========================================================================*/
/* Driver data structures and types. */
/*===========================================================================*/
|