#define SLIDER_IMAGE_PIC_MAX 5 /* The maximum value is 5 */
enum{
SLIDER_IMAGE_TYPE_HORIZONTAL_LEFT_TO_RIGHT,
SLIDER_IMAGE_TYPE_HORIZONTAL_RIGHT_TO_LEFT,
SLIDER_IMAGE_TYPE_VERTICAL_UP_TO_DOWN,
SLIDER_IMAGE_TYPE_VERTICAL_DOWN_TO_UP,
};
typedefstruct{
uint8_tSliderType;
uint8_tSliderValid;
uint8_tReserve1;
uint8_tReserve2;
floatDestVal;
floatCurVal;
int16_tPosX;
int16_tPosY;
int16_tInterval;
uint16_tDampingVal;
uint16_tPicIndex[SLIDER_IMAGE_PIC_MAX];
}SLIDER_IMAGE_PARA_ST;
#pragma pack()
externvoidPackedTransfer_SliderImageData(uint8_tn,uint8_t*data,uint32_tlen);/* The setting range of parameter n is 0~9, PackedTransfer_SliderImageData(0, &SliderImageParaData, sizeof (SLIDER_IMAGE_PARA_ST)); */