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.
Dependencies: ST_INTERFACES X_NUCLEO_COMMON
Fork of X_NUCLEO_IHM01A1 by
Diff: Components/l6474/l6474_class.h
- Revision:
- 9:6f116ce8e314
- Parent:
- 8:42e0b00b1e4d
- Child:
- 10:c3824af0caf4
--- a/Components/l6474/l6474_class.h Mon Nov 23 11:10:54 2015 +0000
+++ b/Components/l6474/l6474_class.h Wed Nov 25 12:08:01 2015 +0000
@@ -529,7 +529,7 @@
L6474_AttachErrorHandler((void (*)(uint16_t error)) fptr);
}
- /**
+ /**
* @brief Enabling the device.
* @param None.
* @retval None.
@@ -539,7 +539,7 @@
L6474_CmdEnable();
}
- /**
+ /**
* @brief Disabling the device.
* @param None.
* @retval None.
@@ -549,6 +549,16 @@
L6474_CmdDisable();
}
+ /**
+ * @brief Getting the version of the firmware.
+ * @param None.
+ * @retval The version of the firmware.
+ */
+ virtual uint8_t GetFwVersion(void)
+ {
+ return (uint8_t) L6474_GetFwVersion();
+ }
+
/*** Public Interrupt Related Methods ***/
