|
MotorWare f2806x Module API Documentation
|
Contains the public interface to the frequency of execution monitoring(FEM) module routines. More...
Go to the source code of this file.
Data Structures | |
| struct | _FEM_Obj_ |
| Defines the frequency of execution monitoring (FEM) object. More... | |
Typedefs | |
| typedef struct _FEM_Obj_ | FEM_Obj |
| Defines the frequency of execution monitoring (FEM) object. More... | |
| typedef struct _FEM_Obj_ * | FEM_Handle |
| Defines the FEM handle. More... | |
Functions | |
| static uint32_t | FEM_getCnt_z0 (FEM_Handle handle) |
| Gets the current count value. More... | |
| static uint32_t | FEM_getCnt_z1 (FEM_Handle handle) |
| Gets the previous count value. More... | |
| static uint32_t | FEM_getDeltaCnt (FEM_Handle handle) |
| Gets the latest delta count measured, cnts. More... | |
| static uint32_t | FEM_getErrorCnt (FEM_Handle handle) |
| Gets the frequency error count. More... | |
| static bool | FEM_getFlag_freqError (FEM_Handle handle) |
| Gets the state of the frequency error flag. More... | |
| static uint32_t | FEM_getMaxDeltaCnt (FEM_Handle handle) |
| Gets the maximum delta count allowed, cnts. More... | |
| static uint32_t | FEM_getMaxDeltaCntObserved (FEM_Handle handle) |
| Gets the maximum delta count observed, cnts. More... | |
| static uint32_t | FEM_getMinDeltaCnt (FEM_Handle handle) |
| Gets the minimum delta count allowed, cnts. More... | |
| static uint32_t | FEM_getTimerPeriod (FEM_Handle handle) |
| Gets the timer period, cnts. More... | |
| FEM_Handle | FEM_init (void *pMemory, const size_t numBytes) |
| Initializes the frequency of execution monitoring (FEM) object. More... | |
| static bool | FEM_isFreqError (FEM_Handle handle) |
| Gets the state of the frequency error flag. More... | |
| static void | FEM_setCnt_z0 (FEM_Handle handle, const uint32_t cnt) |
| Sets the current count value. More... | |
| static void | FEM_setCnt_z1 (FEM_Handle handle, const uint32_t cnt) |
| Sets the previous count value. More... | |
| static void | FEM_setDeltaCnt (FEM_Handle handle, const uint32_t deltaCnt) |
| Sets the delta count value. More... | |
| static void | FEM_setErrorCnt (FEM_Handle handle, const uint32_t numErrors) |
| Sets the error count. More... | |
| static void | FEM_setFlag_freqError (FEM_Handle handle, const bool state) |
| Sets the state of the frequency error flag. More... | |
| static void | FEM_setMaxDeltaCnt (FEM_Handle handle, const uint32_t maxDeltaCnt) |
| Sets the maximum delta count, cnts. More... | |
| static void | FEM_setMaxDeltaCntObserved (FEM_Handle handle, const uint32_t maxDeltaCnt) |
| Sets the maximum delta count observed, cnts. More... | |
| static void | FEM_setMinDeltaCnt (FEM_Handle handle, const uint32_t minDeltaCnt) |
| Sets the minimum delta count, cnts. More... | |
| void | FEM_setParams (FEM_Handle handle, const float_t timerFreq_Hz, const uint32_t timerPeriod_cnts, const float_t spFreq_Hz, const float_t maxError_Hz) |
| Sets the frequency of execution monitoring parameters, cnts. More... | |
| static void | FEM_setTimerPeriod (FEM_Handle handle, const uint32_t timerPeriod_cnts) |
| Sets the timer period, cnts. More... | |
| static void | FEM_incrErrorCnt (FEM_Handle handle) |
| Increments the error counter. More... | |
| static void | FEM_run (FEM_Handle handle) |
| Runs the frequency of execution monitoring. More... | |
| static void | FEM_updateCnts (FEM_Handle handle, const uint32_t cnt) |
| Updates the current and previous count values. More... | |
Contains the public interface to the frequency of execution monitoring(FEM) module routines.
(C) Copyright 2013, Texas Instruments, Inc.
Definition in file fem.h.
1.8.9.1