闭环步进电机

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers as5047.h Source File

as5047.h

00001 #ifndef __AS5047_H
00002 #define __AS5047_H   
00003 #include "mbed.h"
00004 #include "motor.h"
00005 //////////////////////////////////////////////////////////////////////////////////   
00006 //功能:磁编码器spi方式驱动代码
00007 //简介:
00008 //作者:陈欢 清华大学电机工程与应用电子技术系  
00009 //邮箱:heroistired@gmail.com OR h-che14@mails.stinghua.edu.cn
00010 ////////////////////////////////////////////////////////////////////////////////// 
00011 
00012 
00013 unsigned int AS5047_ReadData(SPI *device, DigitalOut *cs);
00014 
00015 void AS5047_Init(SPI *device, DigitalOut *cs);
00016 
00017 #endif