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:
parent
701c73b0ca
commit
e2f3acbc5c
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue