Laridium_v49/Core/Inc/FLASH_SECTOR_F4.h
2024-10-09 23:15:27 +05:30

41 lines
1.7 KiB
C

/**
***************************************************************************************************************
***************************************************************************************************************
***************************************************************************************************************
File: FLASH_SECTOR_H7.c
Modifier: ControllersTech.com
Updated: 27th MAY 2021
***************************************************************************************************************
Copyright (C) 2017 ControllersTech.com
This is a free software under the GNU license, you can redistribute it and/or modify it under the terms
of the GNU General Public License version 3 as published by the Free Software Foundation.
This software library is shared with public for educational purposes, without WARRANTY and Author is not liable for any damages caused directly
or indirectly by this software, read more about this on the GNU General Public License.
***************************************************************************************************************
*/
#ifndef INC_FLASH_SECTOR_F4_H_
#define INC_FLASH_SECTOR_F4_H_
#include "stdint.h"
#ifdef __cplusplus
extern "C" {
#endif
uint32_t Flash_Write_Data (uint32_t StartSectorAddress, uint32_t *Data, uint16_t numberofwords);
void Flash_Read_Data (uint32_t StartSectorAddress, uint32_t *RxBuf, uint16_t numberofwords);
void Convert_To_Str (uint32_t *Data, char *Buf);
void Flash_Write_NUM (uint32_t StartSectorAddress, float Num);
float Flash_Read_NUM (uint32_t StartSectorAddress);
#ifdef __cplusplus
}
#endif
#endif /* INC_FLASH_SECTOR_F4_H_ */