Personal fork of the library for direct control instead of library control
Dependents: Thesis_Rotating_Platform
Fork of X_NUCLEO_IHM01A1 by
Diff: Components/Common/motor.h
- Revision:
- 18:2d6ab2b93685
- Parent:
- 5:d3c78f12a78d
- Child:
- 22:ed3a6990a6eb
--- a/Components/Common/motor.h Mon Jan 04 15:54:07 2016 +0000 +++ b/Components/Common/motor.h Wed Jan 13 14:35:59 2016 +0000 @@ -193,18 +193,6 @@ * @} */ -/** @defgroup Motor_Driver_Initialization_Structure - * @{ - */ -/// Motor driver initialization structure definition -typedef struct -{ - int placeholder; -} MOTOR_InitTypeDef; -/** - * @} - */ - /** @defgroup Motor_Driver_Structure * @{ */ @@ -216,9 +204,9 @@ * Declare here component's generic functions. * * * * Example: * - * DrvStatusTypeDef (*Init)(void *handle, INTERFACE_InitTypeDef *init); * + * DrvStatusTypeDef (*Init)(void *handle, void *init); * *------------------------------------------------------------------------*/ - DrvStatusTypeDef (*Init)(void *handle, MOTOR_InitTypeDef *init); + DrvStatusTypeDef (*Init)(void *handle, void *init); DrvStatusTypeDef (*ReadID)(void *handle, uint8_t *id); /* Interrupts */