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

Loading...
Searching...
No Matches
Functions | Variables
clc1.h File Reference
MPLABX MCC Melody Code Generator » CLC Driver

This is the generated driver header file for the CLC1 driver. More...

`#include <xc.h>`
`#include <stdint.h>`
`#include <stdbool.h>`
`#include "clc_interface.h"`
Include dependency graph for clc1.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Functions
void | CLC1_Initialize (void)
| Initializes the CLC1 module.
void | CLC1_Deinitialize (void)
| Deinitializes the CLC1 to POR values.
bool | CLC1_OutputStatusGet (void)
| Returns output pin status of the CLC1 module.
static void | CLC1_Enable (void)
| This inline function enables the CLC1 module.
static void | CLC1_Disable (void)
| This inline function disables the CLC1 module.
void | CLC1_PositiveEdgeCallbackRegister (void(*handler)(void))
| This function can be used to override default callback and to define custom callback for CLC1 PositiveEdge event.
void | CLC1_PositiveEdgeCallback (void)
| This is the default callback with weak attribute. The user can override and implement the default callback without weak attribute or can register a custom callback function using CLC1_PositiveEdgeCallbackRegister.
void | CLC1_NegativeEdgeCallbackRegister (void(*handler)(void))
| This function can be used to override default callback and to define custom callback for CLC1 NegativeEdge event.
void | CLC1_NegativeEdgeCallback (void)
| This is the default callback with weak attribute. The user can override and implement the default callback without weak attribute or can register a custom callback function using CLC1_NegativeEdgeCallbackRegister.
void | CLC1_Tasks (void)
| Implements the tasks for polled implementations where the hardware supports dedicated event for Positive edge, Negative edge or both. Note: If both Positive Edge and Negative Edge uses polling mode then Callback function of positive edge takes the priority if both event occurred.

## Variables
const struct CLC_INTERFACE | CLC1
| Structure object of type CLC_INTERFACE with the custom name given by the user in the Melody Driver User interface. The default name e.g. CLC1 can be changed by the user in the CLC user interface. This allows defining a structure with application specific name using the 'Custom Name' field. Application specific name allows the API Portability.

## Detailed Description

CLC1 Generated Driver Header File

Definition in file clc1.h.