AM64x MCU+ SDK  08.03.00
hsrPrp_handle.h
Go to the documentation of this file.
1 
38 #ifndef RED_HSR_HANDLE_H_
39 #define RED_HSR_HANDLE_H_
40 
41 #ifdef __cplusplus
42 extern "C"
43 {
44 #endif
45 
46 
47 #include <kernel/dpl/ClockP.h>
48 #include <kernel/dpl/TaskP.h>
49 
54 typedef struct hsrPrp_Config_s
55 {
56  /*Sequence number for non supervision frames*/
57  uint16_t redSeqNr ;
58  /*Sequence number for Supervision frames*/
59  uint16_t supSeqNr ;
60  /*Integer pointers to external variable*/
62  /*Integer pointers to external variable*/
64  /*ICSS emac handle*/
66  /*Host Table timer flag*/
68  /*node table clear flag*/
70  /*timer*/
72  /*timer*/
74  /*pointer to a RED_FRAME | generates the supervision frame*/
76  /*task handle to check successful creation of RedLifeCheckTask*/
78  /*task handle to check successful creation of hsrPrp_nodetable_refresh*/
80  /*semaphore*/
82  /*semaphore*/
84  /*Index Array base address*/
86  /*Bin Array base address*/
88  /*Nodetable base address*/
91 
92 typedef struct hsrPrp_Config_s hsrPrpHandle;
93 
94 
95 #ifdef __cplusplus
96 }
97 #endif
98 
99 #endif /* RED_HSR_HANDLE_H_ */
hsrPrp_Config::redPruCheckTimer
ClockP_Object redPruCheckTimer
Definition: hsrPrp_handle.h:71
ICSS_EMAC_Handle
struct ICSS_EMAC_Config_s * ICSS_EMAC_Handle
Alias for ICSS EMAC Handle containing base addresses and modules.
Definition: icss_emac.h:368
hsrPrp_Config::redLifeCheckTimer
ClockP_Object redLifeCheckTimer
Definition: hsrPrp_handle.h:73
RED_NODE_TABLE_ENTRY
Node Table Entry.
Definition: hsrPrp_red_common.h:497
hsrPrp_Config::indexArrayBase
RED_INDEX_ARRAY_ENTRY * indexArrayBase
Definition: hsrPrp_handle.h:85
ClockP_Object
Opaque clock object used with the clock APIs.
Definition: ClockP.h:63
RED_BIN_ARRAY_ENTRY
Bin array Entry.
Definition: hsrPrp_red_common.h:485
TaskP_Object
Opaque task object used with the task APIs.
Definition: TaskP.h:92
hsrPrp_Config::redLifeCheckSemaphore
SemaphoreP_Object redLifeCheckSemaphore
Definition: hsrPrp_handle.h:81
hsrPrp_Config::hsrPrpNodetableRefreshTask
TaskP_Object hsrPrpNodetableRefreshTask
Definition: hsrPrp_handle.h:79
hsrPrp_Config::icssEmacHandle
ICSS_EMAC_Handle icssEmacHandle
Definition: hsrPrp_handle.h:65
hsrPrp_Config::redPruCheckTimerNodeTableClear
uint32_t redPruCheckTimerNodeTableClear
Definition: hsrPrp_handle.h:69
hsrPrp_Config
hsrPrp_Config Structure storing the global variables
Definition: hsrPrp_handle.h:55
ClockP.h
hsrPrp_Config::nodesTableSemaphore
SemaphoreP_Object nodesTableSemaphore
Definition: hsrPrp_handle.h:83
hsrPrp_Config::redPruCheckTimerHostTableFlag
uint32_t redPruCheckTimerHostTableFlag
Definition: hsrPrp_handle.h:67
hsrPrpHandle
struct hsrPrp_Config_s hsrPrpHandle
Definition: hsrPrp_handle.h:92
hsrPrp_Config::supSeqNr
uint16_t supSeqNr
Definition: hsrPrp_handle.h:59
hsrPrp_Config::redSupFrame
RED_FRAME * redSupFrame
Definition: hsrPrp_handle.h:75
TaskP.h
hsrPrp_Config::num_of_collision_occured
int * num_of_collision_occured
Definition: hsrPrp_handle.h:63
hsrPrp_Config::binArrayBase
RED_BIN_ARRAY_ENTRY * binArrayBase
Definition: hsrPrp_handle.h:87
SemaphoreP_Object
Opaque semaphore object used with the semaphore APIs.
Definition: SemaphoreP.h:59
hsrPrp_Config::collision_pkt_dropped
int * collision_pkt_dropped
Definition: hsrPrp_handle.h:61
RED_FRAME
Definition: hsrPrp_red_common.h:146
hsrPrp_Config::nodeTableBase
RED_NODE_TABLE_ENTRY * nodeTableBase
Definition: hsrPrp_handle.h:89
RED_INDEX_ARRAY_ENTRY
Index array Entry.
Definition: hsrPrp_red_common.h:471
hsrPrp_Config::redSeqNr
uint16_t redSeqNr
Definition: hsrPrp_handle.h:57
hsrPrp_Config::redSupTask
TaskP_Object redSupTask
Definition: hsrPrp_handle.h:77