Library to handle the X_NUCLEO_IHM02A1 Motor Control Expansion Board based on the L6470 component.
Fork of X_NUCLEO_IHM02A1 by
Diff: Components/Interfaces/Component_class.h
- Revision:
- 14:e614697ebf34
- Parent:
- 12:a942d51c488b
--- a/Components/Interfaces/Component_class.h Tue Jan 19 16:07:00 2016 +0000 +++ b/Components/Interfaces/Component_class.h Tue Feb 09 16:01:30 2016 +0000 @@ -1,7 +1,7 @@ /** ****************************************************************************** * @file Component_class.h - * @author Davide Aliprandi, STMicroelectronics + * @author AST * @version V1.0.0 * @date April 13th, 2015 * @brief This file contains the abstract class describing the interface of a @@ -37,7 +37,7 @@ */ -/* Define to prevent from recursive inclusion --------------------------------*/ +/* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __COMPONENT_CLASS_H #define __COMPONENT_CLASS_H @@ -56,20 +56,20 @@ { public: /** - * @brief Initializing the component. - * @param init Pointer to device specific initalization structure. - * @retval "0" in case of success, an error code otherwise. + * @brief Initializing the component. + * @param[in] init pointer to device specific initalization structure. + * @retval "0" in case of success, an error code otherwise. */ virtual int Init(void *init) = 0; /** - * @brief Getting the ID of the component. - * @param id Pointer to an allocated variable to store the ID into. - * @retval "0" in case of success, an error code otherwise. + * @brief Getting the ID of the component. + * @param[out] id pointer to an allocated variable to store the ID into. + * @retval "0" in case of success, an error code otherwise. */ virtual int ReadID(uint8_t *id) = 0; }; #endif /* __COMPONENT_CLASS_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ +/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/