beautypg.com

Motorola M68HC08 User Manual

Page 133

background image

User Guide

Tuning for Customer Motor

DRM028 — Rev 0

Designer Reference Manual

MOTOROLA

User Guide

133

/* MUST_CHANGE_nn: */

Label for changes which must be set (changed) when adapting
software for a motor

/* MUST_CHANGE_nn_EXPER: */

Label for changes which must be set (changed) when adapting
software for a motor — the setting can be done experimentally

/* MUST_IF_HW_CHANGE_nn */

Label for changes which must be set (changed) when a power
stage board different from high voltage power board is used

/* CAN_CHANGE_nn */

Label for changes which can be set (changed) when adapting
software for a motor, but usually the setting is not needed

/* CAN_CHANGE_nn_EXPER */

Label for changes which can be set (changed) when adapting
software for a motor, but usually the setting is not needed — the
setting can be done experimentally

6.5.2.2 Labels in the File const.h

The other parameters, like motor PWM frequency and current sampling
period can be set in the file const.h. The required steps are marked:

/* CAN_CHANGE_FPWM_n */

Label for definitions which should be modified, when changing
PWM frequency

/* CAN_CHANGE_PERCURSAMP_n */

lLabel for definitions which should be corrected, when changing
current sampling period

Let’s follow the next sections, or the labels in the source code to
customize the software.

F

re

e

sc

a

le

S

e

m

ic

o

n

d

u

c

to

r,

I

Freescale Semiconductor, Inc.

For More Information On This Product,

Go to: www.freescale.com

n

c

.

..