aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@gmail.com>2017-08-11 17:16:33 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@gmail.com>2017-08-11 17:16:33 +0000
commite2f3acbc5cebf1dc2d7ad0a299acc222e8305afe (patch)
treed0920a310edcb69e0dc04ce87d631aac817fb357 /os/hal
parent701c73b0ca1aafa02fc43d32856f3c103ad8a430 (diff)
downloadChibiOS-e2f3acbc5cebf1dc2d7ad0a299acc222e8305afe.tar.gz
ChibiOS-e2f3acbc5cebf1dc2d7ad0a299acc222e8305afe.tar.bz2
ChibiOS-e2f3acbc5cebf1dc2d7ad0a299acc222e8305afe.zip
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
Diffstat (limited to 'os/hal')
-rw-r--r--os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h b/os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h
index 9e31ea579..b26cdad27 100644
--- a/os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h
+++ b/os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h
@@ -52,7 +52,7 @@
/**
* @brief Enable write protection on PMC registers block.
*
- * @api
+ * @notapi
*/
#define pmcEnableWP() { \
PMC->PMC_WPMR = PMC_WPMR_WPKEY_PASSWD | PMC_WPMR_WPEN; \
@@ -61,7 +61,7 @@
/**
* @brief Disable write protection on PMC registers block.
*
- * @api
+ * @notapi
*/
#define pmcDisableWP() { \
PMC->PMC_WPMR = PMC_WPMR_WPKEY_PASSWD; \
@@ -133,7 +133,7 @@
*
* @api
*/
-#define pmcEnablePIT() pmcEnablePidLow(SAMA_PID_PIT)
+#define pmcEnablePIT() pmcEnablePidLow(ID_PIT_MSK)
/**
* @brief Disables the PIT peripheral clock.