diff options
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h | 6 |
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.
|