first commit
This commit is contained in:
20
Gambal/APP/as5600.h
Normal file
20
Gambal/APP/as5600.h
Normal file
@ -0,0 +1,20 @@
|
||||
#ifndef _AS5600_H
|
||||
#define _AS5600_H
|
||||
#include "system.h"
|
||||
#include "foc_math.h"
|
||||
|
||||
|
||||
extern long cpr;
|
||||
extern float full_rotation_offset;
|
||||
extern long angle_data_prev;
|
||||
extern unsigned long velocity_calc_timestamp;
|
||||
extern float angle_prev;
|
||||
|
||||
|
||||
void I2C_Init_(void);
|
||||
unsigned short I2C_getRawCount(I2C_TypeDef* I2Cx);
|
||||
void MagneticSensor_Init(void);
|
||||
|
||||
float getAngle(void);
|
||||
float getVelocity(void);
|
||||
#endif
|
Reference in New Issue
Block a user