STM32G0 MCAL 0.0.1
Tiny MCAL for educational purpose.
Loading...
Searching...
No Matches
Fls_Arch.h
Go to the documentation of this file.
1
12#ifndef FLS_ARCH_H__
13#define FLS_ARCH_H__
14
15#include "Fls_Types.h"
16#include "MemIf.h"
17
18void Fls_Arch_Init( Fls_HwUnit *HwUnit, const Fls_ConfigType *ConfigPtr );
20Std_ReturnType Fls_Arch_Write( Fls_HwUnit *HwUnit, Fls_AddressType TargetAddress, const uint8 *SourceAddressPtr, Fls_LengthType Length );
24Std_ReturnType Fls_Arch_Read( Fls_HwUnit *HwUnit, Fls_AddressType SourceAddress, uint8 *TargetAddressPtr, Fls_LengthType Length );
25Std_ReturnType Fls_Arch_Compare( Fls_HwUnit *HwUnit, Fls_AddressType SourceAddress, const uint8 *TargetAddressPtr, Fls_LengthType Length );
28
29#endif
static Can_HwUnit HwUnit
Variable for the initial value of the port configuration array.
Definition Can.c:45
Std_ReturnType Fls_Arch_Compare(Fls_HwUnit *HwUnit, Fls_AddressType SourceAddress, const uint8 *TargetAddressPtr, Fls_LengthType Length)
Fls_Compare Low Level Initialization
Definition Fls_Arch.c:148
Std_ReturnType Fls_Arch_Write(Fls_HwUnit *HwUnit, Fls_AddressType TargetAddress, const uint8 *SourceAddressPtr, Fls_LengthType Length)
Fls_Write Low Level Initialization
Definition Fls_Arch.c:62
void Fls_Arch_Init(Fls_HwUnit *HwUnit, const Fls_ConfigType *ConfigPtr)
FLS_Init Low Level Initialization
Definition Fls_Arch.c:23
Std_ReturnType Fls_Arch_Read(Fls_HwUnit *HwUnit, Fls_AddressType SourceAddress, uint8 *TargetAddressPtr, Fls_LengthType Length)
Fls_Read Low Level Initialization
Definition Fls_Arch.c:126
void Fls_Arch_Cancel(Fls_HwUnit *HwUnit)
Fls_Cancel Low Level Initialization
Definition Fls_Arch.c:78
Std_ReturnType Fls_Arch_BlankCheck(Fls_HwUnit *HwUnit, Fls_AddressType TargetAddress, Fls_LengthType Length)
Fls_BlankCheck Low Level Initialization
Definition Fls_Arch.c:186
Std_ReturnType Fls_Arch_Erase(Fls_HwUnit *HwUnit, Fls_AddressType TargetAddress, Fls_LengthType Length)
Fls_Erase Low Level Initialization
Definition Fls_Arch.c:41
void Fls_Arch_SetMode(Fls_HwUnit *HwUnit, MemIf_ModeType Mode)
Fls_SetMode Low Level Initialization
Definition Fls_Arch.c:166
MemIf_StatusType Fls_Arch_GetStatus(Fls_HwUnit *HwUnit)
Fls_GetStatus Low Level Initialization
Definition Fls_Arch.c:92
MemIf_JobResultType Fls_Arch_GetJobResult(Fls_HwUnit *HwUnit)
Fls_GetJobResult Low Level Initialization
Definition Fls_Arch.c:107
Flash Driver Types
struct _Fls_HwUnit Fls_HwUnit
Hardware control unit structure
struct _Fls_ConfigType Fls_ConfigType
Fls_ConfigType.
uint32 Fls_LengthType
Fls_LengthType.
Definition Fls_Types.h:84
uint32 Fls_AddressType
Fls_AddressType.
Definition Fls_Types.h:75
Memory Abstraction Interface
enum _MemIf_StatusType MemIf_StatusType
Denotes the current status of the underlying abstraction module and device drive.
enum _MemIf_JobResultType MemIf_JobResultType
Denotes the result of the last job.
enum _MemIf_ModeType MemIf_ModeType
Denotes the operation mode of the underlying abstraction modules and device drivers.
unsigned char uint8
Definition Platform_Types.h:94
uint8 Std_ReturnType
This type can be used as standard API return type which is shared between the RTE and the BSW modules...
Definition Std_Types.h:22