Bar Logo 3.8/7.6 kw Totem pole Demonstration Application (Part-No. (not specified))
 
Content
     
Loading...
Searching...
No Matches
main_core_interface.h
1
15/*disclaimer*/
16
17#ifndef MAIN_CORE_INTERFACE_H
18#define MAIN_CORE_INTERFACE_H
19
20// Section: Included Files
21#include <stddef.h>
22#include <stdint.h>
23#include <stdbool.h>
24#include "main_core_types.h"
25
26// Section: Data Type Definitions
27
34{
35 void (*Initialize)(void);
37
38 void (*Deinitialize)(void);
40
43
46
49
50 bool (*IsInterruptRequested)(void);
52
55
58
61
62 uint16_t (*FIFORead)(uint16_t *pData, uint16_t wordCount);
64
65 uint16_t (*FIFOWrite)(uint16_t *pData, uint16_t wordCount);
67
68 bool (*FIFOReadIsFull)(void);
70
71 bool (*FIFOReadIsEmpty)(void);
73
74 bool (*FIFOWriteIsFull)(void);
76
77 bool (*FIFOWriteIsEmpty)(void);
79
80 bool (*ProtocolRead)(enum MAIN_CORE_PROTOCOLS protocolName, uint16_t *pData);
82
83 bool (*ProtocolWrite)(enum MAIN_CORE_PROTOCOLS protocolName, uint16_t *pData);
85
86 bool (*ProtocolIsFull)(enum MAIN_CORE_PROTOCOLS protocolName);
88
89 bool (*ProtocolIsEmpty)(enum MAIN_CORE_PROTOCOLS protocolName);
91
92 void (*ProtocolCallbackRegister)(enum MAIN_CORE_PROTOCOLS protocolName, void (*handler)(void));
94
95 void (*ReadFIFODataReadyCallbackRegister)(void (*handler)(void));
97
98 void (*WriteFIFOEmptyCallbackRegister)(void (*handler)(void));
100
101 void (*FIFOOverFLowUnderFlowCallbackRegister)(void (*handler)(void));
103
104 void (*MainInitiatedCallbackRegister)(void (*handler)(void));
106
107 void (*MainBreakCallbackRegister)(void (*handler)(void));
109
110 void (*MainResetCallbackRegister)(void (*handler)(void));
112
113};
114
115#endif // MAIN_CORE_INTERFACE_H
116
This is the generated driver types header file for the MAIN_CORE driver.
MAIN_CORE_SYSTEM_STATUS
Defines the status enumeration for main_core.
MAIN_CORE_PROTOCOLS
Defines the list of Protocols configured for MAIN_CORE_driver.
Structure containing the function pointers of MAIN_CORE driver.
bool(* ProtocolRead)(enum MAIN_CORE_PROTOCOLS protocolName, uint16_t *pData)
Pointer to MAIN_CORE_ProtocolRead.
void(* ReadFIFODataReadyCallbackRegister)(void(*handler)(void))
Pointer to MAIN_CORE_ReadFIFODataReadyCallbackRegister.
void(* MainBreakCallbackRegister)(void(*handler)(void))
Pointer to MAIN_CORE_MainBreakCallbackRegister.
void(* MainInitiatedCallbackRegister)(void(*handler)(void))
Pointer to MAIN_CORE_MainInitiatedCallbackRegister.
bool(* IsInterruptRequestAcknowledged)(void)
Pointer to MAIN_CORE_IsInterruptRequestAcknowledged.
bool(* IsInterruptRequested)(void)
Pointer to MAIN_CORE_IsInterruptRequested.
bool(* FIFOWriteIsFull)(void)
Pointer to MAIN_CORE_FIFOWriteIsFull.
enum MAIN_CORE_SYSTEM_STATUS(* SystemStatusGet)(void)
Pointer to MAIN_CORE_SystemStatusGet.
bool(* ProtocolIsFull)(enum MAIN_CORE_PROTOCOLS protocolName)
Pointer to MAIN_CORE_ProtocolIsFull.
void(* InterruptRequestGenerate)(void)
Pointer to MAIN_CORE_InterruptRequestGenerate.
uint16_t(* FIFORead)(uint16_t *pData, uint16_t wordCount)
Pointer to MAIN_CORE_FIFORead.
void(* ProtocolCallbackRegister)(enum MAIN_CORE_PROTOCOLS protocolName, void(*handler)(void))
Pointer to MAIN_CORE_ProtocolCallbackRegister.
void(* InterruptRequestComplete)(void)
Pointer to MAIN_CORE_InterruptRequestComplete.
void(* WriteFIFOEmptyCallbackRegister)(void(*handler)(void))
Pointer to MAIN_CORE_WriteFIFOEmptyCallbackRegister.
void(* FIFOOverFLowUnderFlowCallbackRegister)(void(*handler)(void))
Pointer to MAIN_CORE_FIFOOverFLowUnderFlowCallbackRegister.
bool(* FIFOReadIsEmpty)(void)
Pointer to MAIN_CORE_FIFOReadIsEmpty.
bool(* FIFOReadIsFull)(void)
Pointer to MAIN_CORE_FIFOReadIsFull.
void(* Deinitialize)(void)
Pointer to MAIN_CORE_Deinitialize.
bool(* FIFOWriteIsEmpty)(void)
Pointer to MAIN_CORE_FIFOWriteIsEmpty.
bool(* ProtocolIsEmpty)(enum MAIN_CORE_PROTOCOLS protocolName)
Pointer to MAIN_CORE_ProtocolIsEmpty.
bool(* ProtocolWrite)(enum MAIN_CORE_PROTOCOLS protocolName, uint16_t *pData)
Pointer to MAIN_CORE_ProtocolRead.
void(* InterruptRequestAcknowledgeComplete)(void)
Pointer to MAIN_CORE_InterruptRequestAcknowledgeComplete.
uint16_t(* FIFOWrite)(uint16_t *pData, uint16_t wordCount)
Pointer to MAIN_CORE_FIFOWrite.
void(* InterruptRequestAcknowledge)(void)
Pointer to MAIN_CORE_InterruptRequestAcknowledge.
void(* MainResetCallbackRegister)(void(*handler)(void))
Pointer to MAIN_CORE_MainResetCallbackRegister.
void(* Initialize)(void)
Pointer to MAIN_CORE_Initialize.