Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Inc/RotaryEncoder_AS5600.h
- Revision:
- 0:dffe3a22587d
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Inc/RotaryEncoder_AS5600.h Fri Sep 01 14:59:36 2017 +0000
@@ -0,0 +1,40 @@
+/**
+ ******************************************************************************
+ * @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****/
+