AM64x MCU+ SDK  08.02.00
hsrPrp_red_config.h
Go to the documentation of this file.
1 
38 #ifndef RED_CONFIG_H_
39 #define RED_CONFIG_H_
40 
41 /* ========================================================================== */
42 /* Include Files */
43 /* ========================================================================== */
44 
45 #include "hsrPrp_red_hsr.h"
46 
47 /* ========================================================================== */
48 /* Macros & Typedefs */
49 /* ========================================================================== */
50 
52 typedef struct _RED_Config
53 {
54 
55  uint32_t nodeTableSize;
59  uint32_t nodeForgetTime;
68  uint32_t nodeTableCounter;
69  uint32_t clearNodeTable;
70  uint32_t supAddressHi;
71  uint32_t supAddressLow;
74 } RED_CONFIG;
75 
76 /* ========================================================================== */
77 /* Function Declarations */
78 /* ========================================================================== */
89  PRUICSS_Handle pruicssHandle);
98 void RedInit(PRUICSS_Handle pruicssHandle);
99 
109 uint8_t RedLoadFirmware(PRUICSS_Handle pruicssHandle);
110 
111 #endif /* RED_CONFIG_H_ */
RED_CONFIG::nodeTableArbitration
uint32_t nodeTableArbitration
Definition: hsrPrp_red_config.h:56
RED_CONFIG::duplicatePortTableSize
uint32_t duplicatePortTableSize
Definition: hsrPrp_red_config.h:58
RED_CONFIG::duplicatePort1Counter
uint32_t duplicatePort1Counter
Definition: hsrPrp_red_config.h:66
RED_CONFIG::clearNodeTable
uint32_t clearNodeTable
Definition: hsrPrp_red_config.h:69
RedGetConfiguration
RED_STATUS RedGetConfiguration(RED_CONFIG *pCfg, PRUICSS_Handle pruicssHandle)
Reads the configuration from DMEM.
RED_CONFIG::nodeForgetTime
uint32_t nodeForgetTime
Definition: hsrPrp_red_config.h:59
RED_CONFIG::hostDuplicateArbitration
uint32_t hostDuplicateArbitration
Definition: hsrPrp_red_config.h:72
RED_CONFIG::duplicatePortCheckInterval
uint32_t duplicatePortCheckInterval
Definition: hsrPrp_red_config.h:62
RED_CONFIG::duplicateForgetTime
uint32_t duplicateForgetTime
Definition: hsrPrp_red_config.h:60
RED_CONFIG::duplicateHostTableSize
uint32_t duplicateHostTableSize
Definition: hsrPrp_red_config.h:57
RED_CONFIG::nodeTableCheckInterval
uint32_t nodeTableCheckInterval
Definition: hsrPrp_red_config.h:64
RED_CONFIG::supAddressHi
uint32_t supAddressHi
Definition: hsrPrp_red_config.h:70
RED_STATUS
RED_STATUS
RED Status.
Definition: hsrPrp_red_common.h:524
RED_CONFIG::supAddressLow
uint32_t supAddressLow
Definition: hsrPrp_red_config.h:71
RED_CONFIG::duplicateHostCheckInterval
uint32_t duplicateHostCheckInterval
Definition: hsrPrp_red_config.h:63
RedInit
void RedInit(PRUICSS_Handle pruicssHandle)
Initialises DMEM with default configuration values.
RED_CONFIG::duplicateHostCounter
uint32_t duplicateHostCounter
Definition: hsrPrp_red_config.h:67
RED_CONFIG::brokenPathDifference
uint32_t brokenPathDifference
Definition: hsrPrp_red_config.h:61
hsrPrp_red_hsr.h
Include file for hsrPrp_red_hsr.c.
RedLoadFirmware
uint8_t RedLoadFirmware(PRUICSS_Handle pruicssHandle)
Loads firmware.
RED_CONFIG
Definition: hsrPrp_red_config.h:53
RED_CONFIG::nodeTableSize
uint32_t nodeTableSize
Definition: hsrPrp_red_config.h:55
PRUICSS_Handle
struct PRUICSS_Config_s * PRUICSS_Handle
A handle that is returned from a PRUICSS_open() call. This handle is required for calling other APIs.
Definition: pruicss/g_v0/pruicss.h:234
RED_CONFIG::duplicatePort0Counter
uint32_t duplicatePort0Counter
Definition: hsrPrp_red_config.h:65
RED_CONFIG::nodeTableCounter
uint32_t nodeTableCounter
Definition: hsrPrp_red_config.h:68