|  | Dual Active Bridge Development Board (Part-No. ) |
Content |  |  |  |  |  |

Loading...
Searching...
No Matches
clc_interface.h
1
20/*
21© [2024] Microchip Technology Inc. and its subsidiaries.
22
23 Subject to your compliance with these terms, you may use Microchip
24 software and any derivatives exclusively with Microchip products.
25 You are responsible for complying with 3rd party license terms
26 applicable to your use of 3rd party software (including open source
27 software) that may accompany Microchip software. SOFTWARE IS ?AS IS.?
28 NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, APPLY TO THIS
29 SOFTWARE, INCLUDING ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT,
30 MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT
31 WILL MICROCHIP BE LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE,
32 INCIDENTAL OR CONSEQUENTIAL LOSS, DAMAGE, COST OR EXPENSE OF ANY
33 KIND WHATSOEVER RELATED TO THE SOFTWARE, HOWEVER CAUSED, EVEN IF
34 MICROCHIP HAS BEEN ADVISED OF THE POSSIBILITY OR THE DAMAGES ARE
35 FORESEEABLE. TO THE FULLEST EXTENT ALLOWED BY LAW, MICROCHIP?S
36 TOTAL LIABILITY ON ALL CLAIMS RELATED TO THE SOFTWARE WILL NOT
37 EXCEED AMOUNT OF FEES, IF ANY, YOU PAID DIRECTLY TO MICROCHIP FOR
38 THIS SOFTWARE.
39*/
40
41#ifndef CLC_INTERFACE_H
42#define CLC_INTERFACE_H
43
44// Section: Data Type Definitions
45
51 struct CLC_INTERFACE
52{
53 void (*Initialize)(void);
55
56 void (*Deinitialize)(void);
58
59 void (*Enable)(void);
61
62 void (*Disable)(void);
64
65 bool (*OutputStatusGet)(void);
67
68 void (*EdgeCallbackRegister)(void (*CallbackHandler)(void));
70
71 void (*PositiveEdgeCallbackRegister)(void (*CallbackHandler)(void));
73
74 void (*NegativeEdgeCallbackRegister)(void (*CallbackHandler)(void));
76
77 void (*Tasks)(void);
79
80};
81
82
83#endif //CLC_INTERFACE_H
84
85
CLC_INTERFACE
Structure containing the function pointers of CLC driver.
Definition clc_interface.h:52
CLC_INTERFACE::OutputStatusGet
bool(* OutputStatusGet)(void)
Pointer to CLCx_OutputStatusGet e.g. CLC1_OutputStatusGet.
Definition clc_interface.h:65
CLC_INTERFACE::Enable
void(* Enable)(void)
Pointer to CLCx_Enable e.g. CLC1_Enable.
Definition clc_interface.h:59
CLC_INTERFACE::Tasks
void(* Tasks)(void)
Pointer to CLCx_Tasks e.g. CLC1_Tasks (Supported only in polling mode)
Definition clc_interface.h:77
CLC_INTERFACE::EdgeCallbackRegister
void(* EdgeCallbackRegister)(void(*CallbackHandler)(void))
Pointer to CLCx_EdgeCallbackRegister e.g. CLC1_EdgeCallbackRegister.
Definition clc_interface.h:68
CLC_INTERFACE::Disable
void(* Disable)(void)
Pointer to CLCx_Disable e.g. CLC1_Disable.
Definition clc_interface.h:62
CLC_INTERFACE::Deinitialize
void(* Deinitialize)(void)
Pointer to CLCx_Deinitialize e.g. CLC1_Deinitialize.
Definition clc_interface.h:56
CLC_INTERFACE::PositiveEdgeCallbackRegister
void(* PositiveEdgeCallbackRegister)(void(*CallbackHandler)(void))
Pointer to CLCx_PositiveEdgeCallbackRegister e.g. CLC1_PositiveEdgeCallbackRegister.
Definition clc_interface.h:71
CLC_INTERFACE::NegativeEdgeCallbackRegister
void(* NegativeEdgeCallbackRegister)(void(*CallbackHandler)(void))
Pointer to CLCx_NegativeEdgeCallbackRegister e.g. CLC1_NegativeEdgeCallbackRegister.
Definition clc_interface.h:74
CLC_INTERFACE::Initialize
void(* Initialize)(void)
Pointer to CLCx_Initialize e.g. CLC1_Initialize.
Definition clc_interface.h:53