lv_anim_speed() function
Store the speed as a special value which can be used as time in animations. It will be converted to time internally based on the start and end values
Syntax
uint32_t lv_anim_speed(uint32_t speed); Arguments
speed
the speed of the animation in with unit / sec resolution in 0..10k range
Return value
a special value which can be used as an animation time