AM263x MCU+ SDK  09.02.00
ti_tmu_trig.h File Reference

Go to the source code of this file.

Macros

#define ReciprocalOf2PI   0.159154943091895335768f
 
#define TwoPI   6.283185307F
 
#define Log2ofe   1.44269F
 
#define OnebyLog2ofe   0.693147F
 
#define ISR_TMU_CONTEXT_SAVE   HW_WR_REG32((CSL_MSS_TMU_BASE + CSL_TMU_CONTEXT_SAVE), HW_RD_REG32(CSL_MSS_TMU_BASE + CSL_TMU_CONTEXT_SAVE)| (1));
 
#define ISR_TMU_CONTEXT_RESTORE   HW_WR_REG32((CSL_MSS_TMU_BASE + CSL_TMU_CONTEXT_RESTORE), HW_RD_REG32(CSL_MSS_TMU_BASE + CSL_TMU_CONTEXT_RESTORE)| (1));
 

Functions

static float ti_tmu_sin_pu (float anglePU)
 Computes the trigonometric sine value of the input angle using TMU. More...
 
static float ti_tmu_cos_pu (float anglePU)
 Computes the trigonometric cosine value of the input angle using TMU. More...
 
static float ti_tmu_atan_pu (float x)
 Computes the trigonometric atan value of the input using TMU. More...
 
static float ti_tmu_log_pu (float x)
 Computes the logarithmic value of the input using TMU. More...
 
static float ti_tmu_log_e_pu (float x)
 Computes the logarithmic value to the base e of the input using TMU. More...
 
static float ti_tmu_iexp_pu (float x)
 Computes the inverse exponential value of the input using TMU. More...
 
static float ti_tmu_iexp_e_pu (float x)
 Computes the inverse exponential value to the base e of the input using TMU. More...
 
static float ti_tmu_sin (float angleRad)
 Computes the trigonometric sine value of the input angle using TMU. More...
 
static float ti_tmu_cos (float angleRad)
 Computes the trigonometric cosine value of the input angle using TMU. More...
 
static float ti_tmu_atan (float x)
 Computes the trigonometric atan value of the input angle using TMU. More...
 
static float ti_tmu_atan2 (float x, float y)
 Computes the trigonometric atan2 value of the input values using TMU. Uses the quadratic built in TMU function to comput the ratio and quadrant value, which is then used to comput atan2 value of input. More...
 
static void ti_tmu_sincos_pu (float anglePU, float *sin_val, float *cos_val)
 Computes the trigonometric sine and cosine value of the input using TMU. More...
 
static void ti_tmu_sincos (float angleRad, float *sin_val, float *cos_val)
 Computes the trigonometric sine and cosine value of the input using TMU. More...
 
static float ti_tmu_powf (float x, float y)
 Computes the power of the input value. More...