Profiles/Motor/profile_motor.c
void ProfileMotor_link(uint8_t profile_mode, profile_motor_t *profile_motor)
{
    profile_core_t *profile      = ProfileCore_GetNew(profile_mode);
    profile->type                = MOTOR_TYPE;
    profile->profile_data        = (void *)profile_motor;
    profile->profile_ops.Init    = 0;
    profile->profile_ops.Handler = ProfileMotor_Handler;
}
/******************************************************************************
 * @brief Link profile to the general profile handler
 * @param profile_mode HEAD / CONNECT
 * @param profile data structure
 * @return None
 ******************************************************************************/
@brief Link profile to the general profile handler
@param profile_mode HEAD / CONNECT
@param profile data structure
@return None
@brief Link profile to the general profile handler @param profile_mode HEAD / CONNECT @param profile data structure @return None
void ProfileMotor_link(uint8_t profile_mode, profile_motor_t *profile_motor)
{
    profile_core_t *profile      = ProfileCore_GetNew(profile_mode);
    profile->type                = MOTOR_TYPE;
    profile->profile_data        = (void *)profile_motor;
    profile->profile_ops.Init    = 0;
    profile->profile_ops.Handler = ProfileMotor_Handler;
}
void ProfileMotor_link ( uint8_t profile_mode , profile_motor_t * profile_motor ) { profile_core_t * profile = ProfileCore_GetNew ( profile_mode ) ; profile -> type = MOTOR_TYPE ; profile -> profile_data = ( void * ) profile_motor ; profile -> profile_ops . Init = 0 ; profile -> profile_ops . Handler = ProfileMotor_Handler ; }
@brief Link profile to the general profile handler
 @param profile_mode HEAD / CONNECT
 @param profile data structure
 @return None
@brief Link profile to the general profile handler @param profile_mode HEAD / CONNECT @param profile data structure @return None