mbed library for STMicroelectronics' X-NUCLEO-IKA01A1 expansion board.
Dependents: HelloWorld_IKA01A1
Fork of X_NUCLEO_IKA01A1 by
Library for STMicroelectronics' X-NUCLEO-IKA01A1 multifunctional expansion board based on operational amplifiers.
Diff: x_nucleo_ika01a1_class.cpp
- Revision:
- 13:9cecc8d66cc1
- Parent:
- 2:19d1dcef0c0e
- Child:
- 14:8277ca0ab13a
diff -r ac16b9a1cad6 -r 9cecc8d66cc1 x_nucleo_ika01a1_class.cpp --- a/x_nucleo_ika01a1_class.cpp Thu Apr 07 04:15:34 2016 +0000 +++ b/x_nucleo_ika01a1_class.cpp Thu Apr 07 07:51:13 2016 +0000 @@ -98,7 +98,8 @@ /** * @brief Initializing the X_NUCLEO_IKA01A1 board. - * @retval true if initialization is successful, false otherwise. + * @retval true if initialization is successful + * @retval false otherwise. */ bool X_NUCLEO_IKA01A1::Init(void) { @@ -113,38 +114,11 @@ return true; } -/* ACTION 5 ------------------------------------------------------------------* - * Implement here an initialization method for each expansion board's * - * component. * - * * - * Example: * - * bool EXPANSION_BOARD::Init_COMPONENT_1(void) * - * { * - * // Verifying identity. * - * uint8_t id = 0; * - * int ret = component_1->ReadID(&id); * - * if ((ret != COMPONENT_OK) || (id != I_AM_COMPONENT_1)) * - * { * - * delete component_1; * - * component_1 = NULL; * - * return true; * - * } * - * * - * // Configuration. * - * COMPONENT_Init_t InitStructure; * - * InitStructure.Property_1 = COMPONENT_1_PROPERY_1_INIT; * - * InitStructure.Property_N = COMPONENT_1_PROPERY_N_INIT; * - * * - * // Initialization. * - * if (component_1->Init(&InitStructure) != COMPONENT_OK) * - * return false; * - * * - * return true; * - * } * - *----------------------------------------------------------------------------*/ + /** * @brief Initialize the TSZ124 component. - * @retval true if initialization is successful, false otherwise. + * @retval true if initialization is successful + * @retval false otherwise */ bool X_NUCLEO_IKA01A1::Init_TSZ124(void) { @@ -177,7 +151,8 @@ /** * @brief Initialize the TSU104 component. - * @retval true if initialization is successful, false otherwise. + * @retval true if initialization is successful + * @retval false otherwise */ bool X_NUCLEO_IKA01A1::Init_TSU104(void) { @@ -210,7 +185,8 @@ /** * @brief Initialize the TSV734 component. - * @retval true if initialization is successful, false otherwise. + * @retval true if initialization is successful + * @retval false otherwise */ bool X_NUCLEO_IKA01A1::Init_TSV734(void) {