From f5c980ef69846d366e7d073c36b15c9271864d71 Mon Sep 17 00:00:00 2001 From: edolomb Date: Wed, 10 Jan 2018 16:45:48 +0000 Subject: Added pmc functions for SECUMOD git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11249 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'os/hal/ports') 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) + /** @} */ -- cgit v1.2.3