blob: 52a7ac6a30f98725e18281b573a2335fb599c522 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/* */
#ifndef FLASH_HEADER
#define FLASH_HEADER
#include <stdbool.h>
extern void flash_punlock(void);
extern void flash_dunlock(void);
extern void flash_plock(void);
extern void flash_dlock(void);
extern void flash_lock(void);
extern void flash_byte_mode(void);
extern void flash_word_mode(void);
extern void flash_erase_mode(void);
extern uint8_t flash_wait_finish(void);
extern uint8_t flash_erase(volatile uint8_t *addr, volatile uint8_t *iapsr);
#endif
/* End of stm8.src/test/flash.h */
|