Added pmc functions for SECUMOD

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11249 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
edolomb 2018-01-10 16:45:48 +00:00
parent da0637d93d
commit f5c980ef69
1 changed files with 14 additions and 0 deletions

View File

@ -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)
/** @} */