Y2 Kb / Mbed 2 deprecated DCMotorControlShieldV1_0

Dependencies:   mbed

Inc/RotaryEncoder_AS5600.h

Committer:
y2kb
Date:
2017-09-01
Revision:
0:dffe3a22587d

File content as of revision 0:dffe3a22587d:

/**
 ******************************************************************************
 * @file    RotaryEncoder_AS5600.h
 * @brief   Header file of 12-Bit programmable contactless potentiometer AS5600
 * @version 1.0
 *
 * @par License
 *      This software is released under the MIT License, see LICENSE.txt.
 * @par ChangeLog
 * - 1.0 : Initial Version
 ******************************************************************************
 */

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __ROTARYENCODER_AS5600_H
#define __ROTARYENCODER_AS5600_H

#ifdef __cplusplus
extern "C" {
#endif

/* Include system header files -----------------------------------------------*/
/* Include user header files -------------------------------------------------*/
/* Exported macro ------------------------------------------------------------*/
/* Exported types ------------------------------------------------------------*/
/* Exported enum tag ---------------------------------------------------------*/
/* Exported struct/union tag -------------------------------------------------*/
/* Exported variables --------------------------------------------------------*/
/* Exported function prototypes ----------------------------------------------*/
void initEncoder(void);
int readPositionResponse(float*);
void setPositionResponse(float, float*);

#ifdef __cplusplus
}
#endif

#endif /*__ROTARYENCODER_AS5600_H */
/***************************************************************END OF FILE****/