Blame |
Last modification |
View Log
| Download
| RSS feed
/*
* ap_math.h
*
* Created on: 31 Jan 2016
* Author: Mike
*/
#pragma once
#define AP_K (1<<16)
#define AP_SCALE(x) ((x)/AP_K)
extern void ap_init(void);
extern int ap_sin(int x);
extern int ap_cos(int x);