Hardware manual

50
them during compilation or linking. Exactly the same situation was with H8S/2638 which I
used.
Name of pole
Short description
pxmc_ptvang_deg2irc
This function converts phase shift from degrees to IRC units.
Mainly it is used to calculate properly pxms_ptvang in
pxmc_state structure.
pxmc_init_ptable_sin
It generates sinusoidal phase table for a given motor.
pxmc_init_ptable_sin3ph
It generates sinusoidal 3-phase tables for a given motor.
pxmc_init_ptable_sin3phup
It generates sinusoidal 3-phase tables for a given motor. In this
case we generate differences between minimal value of one
phase and nominal from other phases. Please see
PXMC_PTPROF_SIN3FUP in previous subsection.
pxmc_init_ptable_triang
It generates triangular phase table for a given motor.
pxmc_init_ptable_trapez
It generates trapezoidal phase table for a given motor.
pxmc_init_ptable
This function is responsible for initialization of phase tables.
Depending on profile given as a parameter it allocates memory
for phases and then it calls one of above described functions to
generate proper tables.
Fig. 5.3.13-1. Phase tables generated with
pxmc_init_ptable_sin.
Fig. 5.3.13-2. Phase tables generated with
pxmc_init_ptable_sin3ph.