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.cpp
- Revision:
- 15:40470df81d9a
- Parent:
- 14:73823a4344be
- Child:
- 18:2d6ab2b93685
--- a/Components/l6474/l6474_class.cpp Wed Dec 09 14:59:53 2015 +0000
+++ b/Components/l6474/l6474_class.cpp Thu Dec 10 15:04:57 2015 +0000
@@ -55,24 +55,25 @@
#include "l6474.h"
-/* Private constants ---------------------------------------------------------*/
+/* Definitions ---------------------------------------------------------------*/
-/// Error while initialising the SPI
+/* Error while initialising the SPI. */
#define L6474_ERROR_0 (0x8000)
-/// Error: Bad SPI transaction
+
+/* Error of bad SPI transaction. */
#define L6474_ERROR_1 (0x8001)
-/// Maximum number of steps
+/* Maximum number of steps. */
#define MAX_STEPS (0x7FFFFFFF)
-/// Maximum frequency of the PWMs in Hz
+/* Maximum frequency of the PWMs in Hz. */
#define L6474_MAX_PWM_FREQ (10000)
-/// Minimum frequency of the PWMs in Hz
+/* Minimum frequency of the PWMs in Hz. */
#define L6474_MIN_PWM_FREQ (2)
-/* Private variables --------------------------------------------------------*/
+/* Variables ----------------------------------------------------------------*/
/* Number of devices. */
uint8_t L6474::numberOfDevices = 0;
