TouchGFX + 0/3 examples
CodeScope will show references to touchgfx::CWRUtil::cosine() from the following samples and libraries:
Examples
STM32469I-Discovery
Demonstrations
STM32469I_EVAL
Demonstrations
STM324x9I_EVAL
Demonstrations
 
Symbols
loading...
Files
loading...

touchgfx::CWRUtil::cosine() method

@fn static Q15 cosine(int i) Find the value of cos(i) with 15 bits precision. Find the value of cos(i) with 15 bits precision using the fact that cos(i)=sin(90- i). @see sine()

Syntax

static Q15 cosine(int i);

Arguments

i

the angle in degrees. The angle follows the angles of the clock, 0 being straight up and 90 being 3 o'clock.

Return value

the value of cos(i) with 15 bits precision on the fractional part.

Examples

touchgfx::CWRUtil::cosine() is referenced by 3 libraries and example projects.

References

LocationText
CWRUtil.hpp:637
static Q15 cosine(int i)
CWRUtil.hpp:656
static Q15 cosine(Q5 i)

Call Tree

Functions called by touchgfx::CWRUtil::cosine()
touchgfx::CWRUtil::cosine()
Data read by touchgfx::CWRUtil::cosine()
all items filtered out
touchgfx::CWRUtil::cosine()
Type of touchgfx::CWRUtil::cosine()
touchgfx::CWRUtil::cosine()
all items filtered out