Searched refs:FLASH (Results 1 – 2 of 2) sorted by relevance
29 #define FLASH ((struct StmFlash*)0x40023C00UL) macro46 while (FLASH->CR & 0x80000000) { in flashUnlock()47 FLASH->KEYR = 0x45670123; in flashUnlock()48 FLASH->KEYR = 0xCDEF89AB; in flashUnlock()54 while (FLASH->SR & 0x00010000); in flashWait()60 FLASH->CR = 0x00010004; //erase it all in flashEraseAll()70 FLASH->CR = 0x201; //program word at a time in flashWriteOneK()
45 VECI(FLASH);