| RTOS_MSPM0 1.1 ECE445M starter code

Functions
fixed.h File Reference

trig functions using fixed point More...

`#include <stdint.h>`

Go to the source code of this file.

## Functions
int16_t | fixed_sin (int32_t theta)
| decimal fixed-point sin More...
int16_t | fixed_cos (int32_t theta)
| decimal fixed-point cos More...
int32_t | fixed_sin2 (int32_t theta)
| binary fixed-point sin More...
int32_t | fixed_cos2 (int32_t theta)
| binary fixed-point cos More...
int32_t | sin540 (int32_t theta)
| binary fixed-point sin More...
int32_t | cos540 (int32_t theta)
| binary fixed-point cos More...

## Detailed Description

trig functions using fixed point

sin and cos functions. Input in decimal fixed point (units radians/1000) or binary fixed point (units 2*pi/16384). Output in either decimal fixed-point (units 1/10000) or binary fixed-point (units 1/65536)

Version
  TI-RSLK MAX v1.1

Author
  Daniel Valvano and Jonathan Valvano

Copyright
  Copyright 2019 by Jonathan W. Valvano, valva.nosp@m.no@m.nosp@m.ail.u.nosp@m.texa.nosp@m.s.edu,

Warning
  AS-IS

Note
  For more information see http://users.ece.utexas.edu/~valvano/

Date
  June 28, 2019