AM64x MCU+ SDK  08.02.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 #include <kernel/dpl/ClockP.h>
42 #include <kernel/dpl/TaskP.h>
43 
48 typedef struct hsrPrp_Config_s
49 {
50  /*Sequence number for non supervision frames*/
51  uint16_t redSeqNr ;
52  /*Sequence number for Supervision frames*/
53  uint16_t supSeqNr ;
54  /*Integer pointers to external variable*/
56  /*Integer pointers to external variable*/
58  /*ICSS emac handle*/
60  /*Host Table timer flag*/
62  /*node table clear flag*/
64  /*timer*/
66  /*timer*/
68  /*pointer to a RED_FRAME | generates the supervision frame*/
70  /*task handle to check successful creation of RedLifeCheckTask*/
72  /*task handle to check successful creation of hsrPrp_nodetable_refresh*/
74  /*semaphore*/
76  /*semaphore*/
78  /*Index Array base address*/
80  /*Bin Array base address*/
82  /*Nodetable base address*/
85 
86 typedef struct hsrPrp_Config_s hsrPrpHandle;
87 
88 #endif /* RED_HSR_HANDLE_H_ */
hsrPrp_Config::redPruCheckTimer
ClockP_Object redPruCheckTimer
Definition: hsrPrp_handle.h:65
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:67
RED_NODE_TABLE_ENTRY
Node Table Entry.
Definition: hsrPrp_red_common.h:491
hsrPrp_Config::indexArrayBase
RED_INDEX_ARRAY_ENTRY * indexArrayBase
Definition: hsrPrp_handle.h:79
ClockP_Object
Opaque clock object used with the clock APIs.
Definition: ClockP.h:59
RED_BIN_ARRAY_ENTRY
Bin array Entry.
Definition: hsrPrp_red_common.h:479
TaskP_Object
Opaque task object used with the task APIs.
Definition: TaskP.h:94
hsrPrp_Config::redLifeCheckSemaphore
SemaphoreP_Object redLifeCheckSemaphore
Definition: hsrPrp_handle.h:75
hsrPrp_Config::hsrPrpNodetableRefreshTask
TaskP_Object hsrPrpNodetableRefreshTask
Definition: hsrPrp_handle.h:73
hsrPrp_Config::icssEmacHandle
ICSS_EMAC_Handle icssEmacHandle
Definition: hsrPrp_handle.h:59
hsrPrp_Config::redPruCheckTimerNodeTableClear
uint32_t redPruCheckTimerNodeTableClear
Definition: hsrPrp_handle.h:63
hsrPrp_Config
hsrPrp_Config Structure storing the global variables
Definition: hsrPrp_handle.h:49
ClockP.h
hsrPrp_Config::nodesTableSemaphore
SemaphoreP_Object nodesTableSemaphore
Definition: hsrPrp_handle.h:77
hsrPrp_Config::redPruCheckTimerHostTableFlag
uint32_t redPruCheckTimerHostTableFlag
Definition: hsrPrp_handle.h:61
hsrPrpHandle
struct hsrPrp_Config_s hsrPrpHandle
Definition: hsrPrp_handle.h:86
hsrPrp_Config::supSeqNr
uint16_t supSeqNr
Definition: hsrPrp_handle.h:53
hsrPrp_Config::redSupFrame
RED_FRAME * redSupFrame
Definition: hsrPrp_handle.h:69
TaskP.h
hsrPrp_Config::num_of_collision_occured
int * num_of_collision_occured
Definition: hsrPrp_handle.h:57
hsrPrp_Config::binArrayBase
RED_BIN_ARRAY_ENTRY * binArrayBase
Definition: hsrPrp_handle.h:81
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:55
RED_FRAME
Definition: hsrPrp_red_common.h:140
hsrPrp_Config::nodeTableBase
RED_NODE_TABLE_ENTRY * nodeTableBase
Definition: hsrPrp_handle.h:83
RED_INDEX_ARRAY_ENTRY
Index array Entry.
Definition: hsrPrp_red_common.h:465
hsrPrp_Config::redSeqNr
uint16_t redSeqNr
Definition: hsrPrp_handle.h:51
hsrPrp_Config::redSupTask
TaskP_Object redSupTask
Definition: hsrPrp_handle.h:71