You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

8 lines
219 B

#pragma once
#include "main.h"
#define FLASH_START_ADDRESS 0x08078000
HAL_StatusTypeDef FlashErase(void);
HAL_StatusTypeDef FlashWrite(uint32_t StartAddress, uint32_t data);
uint32_t FlashRead(uint32_t StartAddress);