SensoredFOCMotorControlLibrary  1.0
Data Structures | Functions
triState.h File Reference

Detailed Description

triState Module


Overview


#include "stdint.h"
Include dependency graph for triState.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

union  TRI_STATE_FLAGS_T
 TriState Flags Working Structure. More...
 
struct  TRI_STATE_FLAGS_T::triStateFlags
 TriState Flags Structure. More...
 
struct  TRISTATE_T
 TriState Working Structure. More...
 

Functions

void triStateInit (TRISTATE_T *pTriState)
 TriState Init. More...
 
void triStateRun (TRISTATE_T *pTriState)
 TriState Run. More...
 
_Bool getTriStateStatus (TRISTATE_T *pTriState)
 TriState Status check. More...
 

Function Documentation

§ triStateInit()

void triStateInit ( TRISTATE_T pTriState)

TriState Init.

Parameters
[in]*pTriStatePointer

References TRI_STATE_FLAGS_T::b, TRISTATE_T::count, FALSE, TRISTATE_T::flags, and TRI_STATE_FLAGS_T::triStateFlags::status.

Referenced by loadInit().

§ triStateRun()

void triStateRun ( TRISTATE_T pTriState)

§ getTriStateStatus()

_Bool getTriStateStatus ( TRISTATE_T pTriState)
inline

TriState Status check.

Parameters
[in]*pTriStatePointer
Returns
Returns the status

References TRI_STATE_FLAGS_T::b, TRISTATE_T::flags, and TRI_STATE_FLAGS_T::triStateFlags::status.

Referenced by loadRun().

© Copyright 1995-2024, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale