Solar panel
|
Go to the source code of this file.
Macros | |
#define | PWM1_INITIALIZE_DUTY_VALUE 511 |
Functions | |
void | EPWM1_Initialize (void) |
void | EPWM1_LoadDutyValue (uint16_t dutyValue) |
#define PWM1_INITIALIZE_DUTY_VALUE 511 |
EPWM1 Generated Driver File
@Company Microchip Technology Inc.
@File Name epwm1.c
@Summary This is the generated driver implementation file for the EPWM1 driver using PIC10 / PIC12 / PIC16 / PIC18 MCUs
@Description This source 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: Macro Declarations
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);