U S E R M A N U A L
8
Jan 26, 2015, AN709-00011-1v0-E
Figure 4-1: Structure of FW
The C source and Header files which are included in each layer are shown in Table 4-2
Table 4-2: Directory Description of Project
Layer
Folder
Description
global
h01_global,
s01_global
MCU system file
driver
h02_driver,
s02_driver
MCU register setting function such as GPIO, interrupt, MFT, AD
module
h03_module,
s03_module
Algorithm folder for basic motor control such as FOC frame transform ,
SVPWM, math, PID, filter
app
h04_app,
s04_app
Application folder for the files of application functions such as speed and
position generator by hall sensor, protection, motor start-up, field
weaken, brake and etc.
user
h05_user,
s05_user
Customer interface folder for the files for motor Configuration and HW
setting
Note: if you want to quickly start the motor, you can refer to the setting for user layer at 6.2.1FW Interface
Configuration and chapter 5
The sub-files in each folder are shown in Figure 4-2, and the structure of header files is the same with C
files.