MSPM0G3519SensoredFOCMotorControlLibrary  1.0
Data Structures | Macros | Enumerations | Functions
Hall Trap

Data Structures

struct  HALL_INTERFACE_T
 Defines a halltrap instance. More...
 

Macros

#define HALLTRAP_HALT_TIME_US   (1e6)
 Defines the halt time before changing the motor direction.
 

Enumerations

enum  HALL_e {
  HALL_A = 0,
  HALL_B,
  HALL_C,
  HALL_MAX
}
 HALL_e. More...
 

Functions

void HallInterface_Init (HALL_INTERFACE_T *hallInst)
 Initialize the halltrap module. More...
 

Detailed Description

Enumeration Type Documentation

§ HALL_e

enum HALL_e

HALL_e.

Enumerator
HALL_A 

Defines hall A.

HALL_B 

Defines hall B.

HALL_C 

Defines hall C.

HALL_MAX 

Maximum hall signals.

Function Documentation

§ HallInterface_Init()

void HallInterface_Init ( HALL_INTERFACE_T hallInst)

Initialize the halltrap module.

Parameters
[in]hallInstThe halltrap instance
© Copyright 1995-2025, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale