stm32f2+: flash: Rename FLASH_ACR_XCE -> FLASH_ACR_XCEN

Match the datasheet register names better.

squish into xcev
This commit is contained in:
Jordi Pakey-Rodriguez
2017-03-06 16:06:52 -06:00
committed by Karl Palsson
parent b40c72828d
commit 6798cee2a5
5 changed files with 24 additions and 26 deletions

View File

@@ -48,7 +48,7 @@ static inline void flash_set_program_size(uint32_t psize)
void flash_dcache_enable(void)
{
FLASH_ACR |= FLASH_ACR_DCE;
FLASH_ACR |= FLASH_ACR_DCEN;
}
/*---------------------------------------------------------------------------*/
@@ -58,7 +58,7 @@ void flash_dcache_enable(void)
void flash_dcache_disable(void)
{
FLASH_ACR &= ~FLASH_ACR_DCE;
FLASH_ACR &= ~FLASH_ACR_DCEN;
}
/*---------------------------------------------------------------------------*/
@@ -68,7 +68,7 @@ void flash_dcache_disable(void)
void flash_icache_enable(void)
{
FLASH_ACR |= FLASH_ACR_ICE;
FLASH_ACR |= FLASH_ACR_ICEN;
}
/*---------------------------------------------------------------------------*/
@@ -78,7 +78,7 @@ void flash_icache_enable(void)
void flash_icache_disable(void)
{
FLASH_ACR &= ~FLASH_ACR_ICE;
FLASH_ACR &= ~FLASH_ACR_ICEN;
}
/*---------------------------------------------------------------------------*/
@@ -412,4 +412,3 @@ void flash_program_option_bytes(uint32_t data)
flash_wait_for_last_operation();
}
/**@}*/