ParaLib 2.0.28-master SHA: b4a0dafd73
PARA_MemoryInfo_STM32.c File Reference

Memory information of the STMicroelectroncs STM32H7 Series. More...

#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   6
 

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_U32 *ptThis, const ParameterRequest *ptRequest)
 
 ParameterU32 (0, PARA_ID_ValidMemoryAreas, GROUP_ID_FWID, "MemoryAreas", "0x{0:X4}", "Memory Areas which can be readout by the Parameter-Interface", "", "", "", 6, 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_U32 *ptThis
 
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 [6]
 
const uint32_t g_cui32ValidMemorySizes [6]
 
const uint32_t g_cui32MemoryAreasCount = 6
 
const ParameterRequest * ptRequest
 
*uint32_t *ptRequest pData = g_cui32ValidMemorySizes[ptRequest->ui16SubId]
 

Detailed Description

Memory information of the STMicroelectroncs STM32H7 Series.


© Copyright 2017-2022 Copyright: Retostronik GmbH Stütingstraße 30 58285 Gevelsberg

Macro Definition Documentation

◆ MEMORY_AREAS_COUNT

#define MEMORY_AREAS_COUNT   6

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 ( 0  ,
PARA_ID_ValidMemoryAreas  ,
GROUP_ID_FWID  ,
"MemoryAreas"  ,
"0x{0:X4}"  ,
"Memory Areas which can be readout by the Parameter-Interface"  ,
""  ,
""  ,
""  ,
6  ,
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   
)

◆ ReadFunction_ValidMemoryAreas()

static int32_t ReadFunction_ValidMemoryAreas ( Parameter_U32 *  ptThis,
const ParameterRequest *  ptRequest 
)
static

◆ StringTableAddress()

uint32_t StringTableAddress ( void  )

Address of the Stringtable.

◆ StringTableSize()

uint32_t StringTableSize ( void  )

Size of the Stringtable.

Variable Documentation

◆ g_cui32MemoryAreasCount

const uint32_t g_cui32MemoryAreasCount = 6

◆ g_cui32ValidMemoryAreas

const uint32_t g_cui32ValidMemoryAreas[6]
Initial value:
= {
(const uint32_t)&Image$$ER_STRING_TABLE$$Base,
AXI_SRAM_START,
SRAM1_START}
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[6]
Initial value:
= {
(const uint32_t)&Image$$ER_STRING_TABLE$$Length,
AXI_SRAM_SIZE,
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

◆ pData

* uint32_t* ptRequest pData = g_cui32ValidMemorySizes[ptRequest->ui16SubId]

◆ ptRequest

const ParameterRequest* ptRequest
Initial value:
{
if (IsValidForRead(ptThis, ptRequest) == false)
return 0
bool IsValidForRead(void *pvThis, const ParameterRequest *ptRequest)
Check if the actual access-right is sufficient to read the parameter.
Definition: PARA_Data.c:802
const ParameterRequest * ptRequest
Definition: PARA_MemoryInfo_STM32.c:173