AN1905 ST Microelectronics, Inc., AN1905 Datasheet - Page 28

no-image

AN1905

Manufacturer Part Number
AN1905
Description
St7mc Three-phase BLDC Motor Control Software Library
Manufacturer
ST Microelectronics, Inc.
Datasheet
ST7MC THREE-PHASE BLDC MOTOR CONTROL SOFTWARE LIBRARY
MTC_StartMotor
Synopsis
Description
Functions called
See also
28/77
#include "mtc.h"
void MTC_StartMotor(void)
This function Initializes HW registers and SW variables needed in real
time for the motor drive. To ensure a proper start-up, the bootstrap ca-
pacitors of the high side switch drivers are refreshed. Finally, this func-
tion performs the alignment of the rotor in a known position, and sets the
flags of expected MTC interrupt events.
Init_PI (closed loop only), MTC_EnableDirectAccess,
MTC_DisableDirectAccess, MTC_EnableOutputs, RefreshBootstrap,
MTC_EnableClock, MTC_DisableClock, AlignRotor
ST7MC Datasheet: MTC chapter.

Related parts for AN1905