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

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
Figure 2. Library structure for release 1.0
1.4 UTILITIES
1.4.1 lib.h file
The purpose of this header file is to provide useful macros and type re-definitions which will be
used throughout the entire library:
– Re-definition of data types using the following convention: a first letter indicating if a variable
– Defines for assembly mnemonics used in C source code: Nop(), Trap(), etc.
– Common macros used for bit-level access (SetBit, ClrBit, etc.), to get the dimension of an
10/77
is signed (s) or unsigned (u), plus a number indicating the number of available bits (for in-
stance: u8, s16, etc.),
array (DIM[x]), etc.
BLDCmotor_1.0 \ BLDC sensor \ config
\ sci
\ Pair poles chk
\ BLDC sensorless \ config
\ object
\ source
\ debug
\ release
\ source
\ debug
\ release
\ config
\ object
\ object
\ source
\ debug
\ release
\ cosmic
\ metrowerks
\ cosmic
\ metrowerks
\ cosmic
\ metrowerks
\ cosmic
\ metrowerks
\ cosmic
\ metrowerks
\ cosmic
\ metrowerks

Related parts for AN1905