Hello nie
I think that the pdf is not the official material that some one made it for customer supporting.
However, by my just checking pdf, the code is used NXP's motor control example.
You can find the link on the 119page/References chapter and you can download the motor control code.
Thank you.