StorageOnFlash_ARTERY_AT32/Inc/StorageOnFlashArtery.h

28 lines
548 B
C

//
// Created by cfif on 07.10.22.
//
#ifndef STORAGE_ON_FLASH_NATION_H
#define STORAGE_ON_FLASH_NATION_H
#include CMSIS_device_header
#include "stddef.h"
#include "StorageIO.h"
typedef struct {
uint32_t mainFlashPageAddress;
uint32_t recoveryFlashPageAddress;
} tStorageOnFlashArtery;
void vStorageOnFlashArtery_Init(
tStorageOnFlashArtery *env,
uint32_t mainPage,
uint32_t recoveryPage
);
tStorageInterface xStorageOnFlashArtery_GetInterface(tStorageOnFlashArtery *env);
#endif //STORAGE_ON_FLASH_NATION_H