diff options
author | areviu <areviu.info@gmail.com> | 2018-01-15 21:08:56 +0000 |
---|---|---|
committer | areviu <areviu.info@gmail.com> | 2018-01-15 21:08:56 +0000 |
commit | c8a29d8802f436115664cc640faa8389cb4beb19 (patch) | |
tree | 9cb163de4d0c927a73ace97d8dac773b2463c683 /os/hal/ports/SAMA/SAMA5D2x | |
parent | a5fa48f014bdcb90297fbfefcb08b5b9f9019ed7 (diff) | |
download | ChibiOS-c8a29d8802f436115664cc640faa8389cb4beb19.tar.gz ChibiOS-c8a29d8802f436115664cc640faa8389cb4beb19.tar.bz2 ChibiOS-c8a29d8802f436115664cc640faa8389cb4beb19.zip |
removed legacy code for pmc
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11288 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/SAMA/SAMA5D2x')
-rw-r--r-- | os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h b/os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h index 7375b4f6b..611cc9d05 100644 --- a/os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h +++ b/os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h @@ -490,6 +490,33 @@ */
#define pmcDisableSEC() pmcDisablePidLow(ID_SECUMOD_MSK)
+/**
+ * @brief Enables the SDMMC0 peripheral clock.
+ *
+ * @api
+ */
+#define pmcEnableSDMMC0() pmcEnablePidLow(ID_SDMMC0_MSK)
+
+/**
+ * @brief Disables the SDMMC0 peripheral clock.
+ *
+ * @api
+ */
+#define pmcDisableSDMMC0() pmcDisablePidLow(ID_SDMMC0_MSK)
+
+/**
+ * @brief Enables the SDMMC1 peripheral clock.
+ *
+ * @api
+ */
+#define pmcEnableSDMMC1() pmcEnablePidHigh(ID_SDMMC1_MSK)
+
+/**
+ * @brief Disables the SDMMC1 peripheral clock.
+ *
+ * @api
+ */
+#define pmcDisableSDMMC1() pmcDisablePidHigh(ID_SDMMC1_MSK)
/** @} */
|