AN2341 - ArcTangent in PSoC® 1 Assembler | 赛普拉斯半导体
AN2341 - ArcTangent in PSoC® 1 Assembler
Many control applications require calculating an angular position when the Cartesian position data is given. The arctangent function makes this possible. A major setback to this is that the trigonometric functions supplied with the ‘C’ math library uses and returns float variables. Although very accurate, the processing overhead resulting from using the floating-point math routines can be prohibitive. Techniques are discussed to calculate an arctangent to a specific resolution. Software is presented using these techniques for an arctangent function that returns the calculated angle in 100ths of a degree resolution using signed 8-bit X and Y values.
Dear valued customer,
Thank you for choosing our products. They come with all the know-how and passion that our engineers have put into it. As you probably already know, Cypress is now Infineon. This is a major step for our company, but also for the good of you.
Reliability and business continuity are of utmost importance for us. Hence, we remain fully committed to honoring existing customer and distributor relationships. This includes offering the legacy Cypress product portfolio. We thank you very much for your trusting support.
For the full version of this message, please download the PDF version.