Solar panel
|
#include <xc.h>
#include <stdint.h>
Go to the source code of this file.
Functions | |
void | EPWM1_Initialize (void) |
void | EPWM1_LoadDutyValue (uint16_t dutyValue) |
void EPWM1_Initialize | ( | void | ) |
EPWM1 Generated Driver File
@Company Microchip Technology Inc.
@File Name epwm1.h
@Summary This is the generated driver implementation file for the EPWM1 driver using PIC10 / PIC12 / PIC16 / PIC18 MCUs
@Description This header file provides implementations for driver APIs for EPWM1. Generation Information : Product Revision : PIC10 / PIC12 / PIC16 / PIC18 MCUs - 1.81.8 Device : PIC18F97J60 Driver Version : 2.01 The generated drivers are tested against the following: Compiler : XC8 2.36 and above MPLAB : MPLAB X 6.00 Section: Included Files Section: EPWM Module APIs @Summary Initializes the EPWM1
@Description This routine initializes the EPWM1 module. This routine must be called before any other EPWM1 routine is called. This routine should only be called once during system initialization.
@Preconditions None
@Param None
@Returns None
@Comment
@Example uint16_t dutycycle;
ECCP1_Initialize(); EPWM1_LoadDutyValue(dutycycle);
Section: EPWM Module APIs
void EPWM1_LoadDutyValue | ( | uint16_t | dutyValue | ) |
@Summary Loads 16-bit duty cycle.
@Description This routine loads the 16 bit duty cycle value.
@Preconditions EPWM1_Initialize() function should have been called before calling this function.
@Param Pass 16bit duty cycle value.
@Returns None
@Example uint16_t dutycycle;
EPWM1_Initialize(); EPWM1_LoadDutyValue(dutycycle);