Added pmc functions for ETH

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11087 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
edolomb 2017-11-29 18:06:49 +00:00
parent 51a40e4457
commit 422b4549db
1 changed files with 14 additions and 0 deletions

View File

@ -462,6 +462,20 @@
*/
#define pmcDisableSHA() pmcDisablePidLow(ID_SHA_MSK)
/**
* @brief Enables the ETH0 peripheral clock.
*
* @api
*/
#define pmcEnableETH0() pmcEnablePidLow(ID_GMAC0_MSK)
/**
* @brief Disables the ETH0 peripheral clock.
*
* @api
*/
#define pmcDisableETH0() pmcDisablePidLow(ID_GMAC0_MSK)
/** @} */