30 lines
425 B
C
30 lines
425 B
C
/*
|
|
* flash.h
|
|
*
|
|
* Created on: 4 àâã. 2021 ã.
|
|
* Author: Toporov
|
|
*/
|
|
|
|
#ifndef INC_FLASH_H_
|
|
#define INC_FLASH_H_
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
#include "stm32f4xx_hal.h"
|
|
#include "main.h"
|
|
|
|
|
|
#define USERPAGECOR ((uint32_t) 0x08040000)
|
|
#define USERPAGEPAR ((uint32_t) 0x08060000)
|
|
|
|
|
|
|
|
void MX_FLASH_Init(void);
|
|
void wrPar(void);
|
|
void rdPar(void);
|
|
void wrCor(void);
|
|
void rdCor(void);
|
|
|
|
|
|
#endif /* INC_FLASH_H_ */
|