Minor changes in sama_pmc helper header

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10403 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
Rocco Marco Guglielmi 2017-08-11 17:16:33 +00:00
parent 701c73b0ca
commit e2f3acbc5c
1 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@
/** /**
* @brief Enable write protection on PMC registers block. * @brief Enable write protection on PMC registers block.
* *
* @api * @notapi
*/ */
#define pmcEnableWP() { \ #define pmcEnableWP() { \
PMC->PMC_WPMR = PMC_WPMR_WPKEY_PASSWD | PMC_WPMR_WPEN; \ PMC->PMC_WPMR = PMC_WPMR_WPKEY_PASSWD | PMC_WPMR_WPEN; \
@ -61,7 +61,7 @@
/** /**
* @brief Disable write protection on PMC registers block. * @brief Disable write protection on PMC registers block.
* *
* @api * @notapi
*/ */
#define pmcDisableWP() { \ #define pmcDisableWP() { \
PMC->PMC_WPMR = PMC_WPMR_WPKEY_PASSWD; \ PMC->PMC_WPMR = PMC_WPMR_WPKEY_PASSWD; \
@ -133,7 +133,7 @@
* *
* @api * @api
*/ */
#define pmcEnablePIT() pmcEnablePidLow(SAMA_PID_PIT) #define pmcEnablePIT() pmcEnablePidLow(ID_PIT_MSK)
/** /**
* @brief Disables the PIT peripheral clock. * @brief Disables the PIT peripheral clock.