StorageOnFlash_Flagchip_FC7240/Inc/StorageOnFlashFlagchip.h

27 lines
535 B
C

//
// Created by cfif on 07.10.22.
//
#ifndef STORAGE_ON_FLASH_FLAGCHIP_H
#define STORAGE_ON_FLASH_FLAGCHIP_H
#include "stddef.h"
#include "StorageIO.h"
typedef struct {
uint32_t mainFlashPageAddress;
uint32_t recoveryFlashPageAddress;
} tStorageOnFlashFlagchip;
void vStorageOnFlashFlagchip_Init(
tStorageOnFlashFlagchip *env,
uint32_t mainPage,
uint32_t recoveryPage
);
tStorageInterface xStorageOnFlashFlagchip_GetInterface(tStorageOnFlashFlagchip *env);
#endif //STORAGE_ON_FLASH_FLAGCHIP_H