ParaLib 2.0.15-master SHA: 2e03d68caa
PARA_MemoryInfo_STM32H5.c File Reference
#include <stdbool.h>
#include <stdint.h>
#include "project_config.h"
#include "PARA_MemoryInfo.h"
#include "lib/Para/SYS_Type.h"
#include "lib/Para/PARA_Lib.h"
#include "lib/Para/PARA_ID_System.h"
#include "PARA_ID_Device.h"
#include "MemoryOrganization.h"

Macros

#define MEMORY_AREAS_COUNT   5
 

Functions

uint32_t StringTableAddress (void)
 Address of the Stringtable. More...
 
uint32_t StringTableSize (void)
 Size of the Stringtable. More...
 
uint32_t ErrorMemoryAddress (void)
 Address of the Error-memory. More...
 
uint32_t ErrorMemorySize (void)
 Size of the Error-memory. More...
 
uint32_t ErrorDescriptorAddress (void)
 Address of the ErrorDescriptor-memory. More...
 
uint32_t ErrorDescriptorSize (void)
 Size of the ErrorDescriptor-memory. More...
 
static int32_t ReadFunction_ValidMemoryAreas (Parameter *this, uint16_t SubID, void *data, int32_t MaxCount, uint32_t offset, ParameterAccessSource Access, uint8_t access_level)
 
 ParameterU32 (0, PARA_ID_ValidMemoryAreas, GROUP_ID_FWID, "MemoryAreas", "0x{0:X4}", "Memory Areas which can be readout by the Parameter-Interface", "", "", "", 5, MIN_uint32, MAX_uint32, 0, ReadFunction_ValidMemoryAreas, WriteFunction_STD_Const, SetToDefaultFunction_STD_Const, VIEWER_READ|USER_READ|PROFESSIONAL_READ|DEVELOPER_READ, NOT_STORED, FLAG_HIDDEN) static int32_t ReadFunction_ValidMemorySizes(Parameter *this
 
return GetDataTypeSize (TYPE_uint32)
 

Variables

int32_t Image$$ER_STRING_TABLE$$Base
 
int32_t Image$$ER_STRING_TABLE$$Length
 
int32_t Image$$ER_ERROR_DESCRIPTOR$$Base
 
int32_t Image$$ER_ERROR_DESCRIPTOR$$Length
 
int32_t Image$$ER_ERROR_SOURCES$$Base
 
int32_t Image$$ER_ERROR_SOURCES$$Length
 
int32_t Image$$ER_ERROR_REACTIONS$$Base
 
int32_t Image$$ER_ERROR_REACTIONS$$Length
 
int32_t Image$$ERROR_MEMORY$$Base
 
int32_t Image$$ERROR_MEMORY$$Length
 
const uint32_t g_cui32ValidMemoryAreas [5]
 
const uint32_t g_cui32ValidMemorySizes [5]
 
const uint32_t g_cui32MemoryAreasCount = 5
 
uint16_t SubID
 
uint16_t void * data = g_cui32ValidMemorySizes[SubID]
 
uint16_t void int32_t MaxCount
 
uint16_t void int32_t uint32_t offset
 
uint16_t void int32_t uint32_t ParameterAccessSource Access
 
uint16_t void int32_t uint32_t ParameterAccessSource uint8_t access_level
 

Macro Definition Documentation

◆ MEMORY_AREAS_COUNT

#define MEMORY_AREAS_COUNT   5

Function Documentation

◆ ErrorDescriptorAddress()

uint32_t ErrorDescriptorAddress ( void  )

Address of the ErrorDescriptor-memory.

◆ ErrorDescriptorSize()

uint32_t ErrorDescriptorSize ( void  )

Size of the ErrorDescriptor-memory.

◆ ErrorMemoryAddress()

uint32_t ErrorMemoryAddress ( void  )

Address of the Error-memory.

◆ ErrorMemorySize()

uint32_t ErrorMemorySize ( void  )

Size of the Error-memory.

◆ GetDataTypeSize()

return GetDataTypeSize ( TYPE_uint32  )

◆ ParameterU32()

ParameterU32 ( ,
PARA_ID_ValidMemoryAreas  ,
GROUP_ID_FWID  ,
"MemoryAreas"  ,
"0x{0:X4}"  ,
"Memory Areas which can be readout by the Parameter-Interface"  ,
""  ,
""  ,
""  ,
,
MIN_uint32  ,
MAX_uint32  ,
,
ReadFunction_ValidMemoryAreas  ,
WriteFunction_STD_Const  ,
SetToDefaultFunction_STD_Const  ,
VIEWER_READ|USER_READ|PROFESSIONAL_READ DEVELOPER_READ,
NOT_STORED  ,
FLAG_HIDDEN   
)

◆ ReadFunction_ValidMemoryAreas()

static int32_t ReadFunction_ValidMemoryAreas ( Parameter this,
uint16_t  SubID,
void *  data,
int32_t  MaxCount,
uint32_t  offset,
ParameterAccessSource  Access,
uint8_t  access_level 
)
static

◆ StringTableAddress()

uint32_t StringTableAddress ( void  )

Address of the Stringtable.

◆ StringTableSize()

uint32_t StringTableSize ( void  )

Size of the Stringtable.

Variable Documentation

◆ Access

uint16_t void int32_t uint32_t ParameterAccessSource Access

◆ access_level

uint16_t void int32_t uint32_t ParameterAccessSource uint8_t access_level
Initial value:
{
if (SubID > 5 ) return 0
uint16_t SubID
Definition: PARA_MemoryInfo_STM32H5.c:168

◆ data

* uint32_t* data = g_cui32ValidMemorySizes[SubID]

◆ g_cui32MemoryAreasCount

const uint32_t g_cui32MemoryAreasCount = 5

◆ g_cui32ValidMemoryAreas

const uint32_t g_cui32ValidMemoryAreas[5]
Initial value:
= {
(const uint32_t)&Image$$ER_STRING_TABLE$$Base,
SRAM1_BASE_NS}
int32_t Image$$ER_ERROR_SOURCES$$Base
int32_t Image$$ER_ERROR_DESCRIPTOR$$Base
int32_t Image$$ER_STRING_TABLE$$Base
int32_t Image$$ER_ERROR_REACTIONS$$Base

◆ g_cui32ValidMemorySizes

const uint32_t g_cui32ValidMemorySizes[5]
Initial value:
= {
(const uint32_t)&Image$$ER_STRING_TABLE$$Length,
SRAM1_SIZE}
int32_t Image$$ER_ERROR_REACTIONS$$Length
int32_t Image$$ER_ERROR_SOURCES$$Length
int32_t Image$$ER_ERROR_DESCRIPTOR$$Length
int32_t Image$$ER_STRING_TABLE$$Length

◆ Image$$ER_ERROR_DESCRIPTOR$$Base

int32_t Image$$ER_ERROR_DESCRIPTOR$$Base
extern

◆ Image$$ER_ERROR_DESCRIPTOR$$Length

int32_t Image$$ER_ERROR_DESCRIPTOR$$Length
extern

◆ Image$$ER_ERROR_REACTIONS$$Base

int32_t Image$$ER_ERROR_REACTIONS$$Base
extern

◆ Image$$ER_ERROR_REACTIONS$$Length

int32_t Image$$ER_ERROR_REACTIONS$$Length
extern

◆ Image$$ER_ERROR_SOURCES$$Base

int32_t Image$$ER_ERROR_SOURCES$$Base
extern

◆ Image$$ER_ERROR_SOURCES$$Length

int32_t Image$$ER_ERROR_SOURCES$$Length
extern

◆ Image$$ER_STRING_TABLE$$Base

int32_t Image$$ER_STRING_TABLE$$Base
extern

◆ Image$$ER_STRING_TABLE$$Length

int32_t Image$$ER_STRING_TABLE$$Length
extern

◆ Image$$ERROR_MEMORY$$Base

int32_t Image$$ERROR_MEMORY$$Base
extern

◆ Image$$ERROR_MEMORY$$Length

int32_t Image$$ERROR_MEMORY$$Length
extern

◆ MaxCount

uint16_t void int32_t MaxCount

◆ offset

uint16_t void int32_t uint32_t offset

◆ SubID

uint16_t SubID