diff options
-rw-r--r-- | os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h b/os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h index 8b250ad73..7375b4f6b 100644 --- a/os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h +++ b/os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h @@ -476,6 +476,20 @@ */
#define pmcDisableETH0() pmcDisablePidLow(ID_GMAC0_MSK)
+/**
+ * @brief Enables the SECUMOD peripheral clock.
+ *
+ * @api
+ */
+#define pmcEnableSEC() pmcEnablePidLow(ID_SECUMOD_MSK)
+
+/**
+ * @brief Disables the SECUMOD peripheral clock.
+ *
+ * @api
+ */
+#define pmcDisableSEC() pmcDisablePidLow(ID_SECUMOD_MSK)
+
/** @} */
|