DL_EPWM_HRCalContext

Module: Driverlib (AM13E232X) APIs / DL EPWM API

HRPWM calibration context structure. More…

#include <dl_epwm.h>

Public Attributes

Name

uint16_t

Hrc1

uint16_t

Hrc2

uint16_t

TaskPtr

uint16_t

MEPScaleFactor

Detailed Description

struct DL_EPWM_HRCalContext;

HRPWM calibration context structure.

Holds per-instance calibration state for the MEP Scale Factor Optimizer (SFO). Allocate one HRCalContext per HRPWM instance and initialise it with DL_EPWM_setHRCalContextDefaultValues before the first call to DL_EPWM_calibrateHRPWMScaleFactor.

Public Attributes Documentation

variable Hrc1

uint16_t Hrc1;

Counter value captured during the first calibration run.

variable Hrc2

uint16_t Hrc2;

Counter value captured during the second calibration run.

variable TaskPtr

uint16_t TaskPtr;

A pointer to the next task to execute.

variable MEPScaleFactor

uint16_t MEPScaleFactor;

Computed MEP scale factor for this HRPWM instance.