35#ifndef __VK_TGUI_CONTROLS_SLIDER_H__
36#define __VK_TGUI_CONTROLS_SLIDER_H__
42#if VSF_TGUI_CFG_SUPPORT_SLIDER == ENABLED
49#if defined(__VK_TGUI_CONTROLS_SLIDER_CLASS_IMPLEMENT)
50# define __PLOOC_CLASS_IMPLEMENT__
51# undef __VK_TGUI_CONTROLS_SLIDER_CLASS_IMPLEMENT
52#elif defined(__VK_TGUI_CONTROLS_SLIDER_CLASS_INHERIT)
53# define __PLOOC_CLASS_INHERIT__
54# undef __VK_TGUI_CONTROLS_SLIDER_CLASS_INHERIT
60#if VSF_TGUI_CFG_SUPPORT_TIMER == DISABLED
61# error tgui_slider depends on tgui_timer service, please either enable \
62tgui_timer by setting VSF_TGUI_CFG_SUPPORT_TIMER to ENABLED or disable \
63tgui_slider by setting VSF_TGUI_CFG_SUPPORT_SLIDER to DISABLED
88 vsf_tgui_timer_t tSlideTimer;
93end_def_class(__vk_tgui_slider_t)
99void vk_tgui_slider_init( __vk_tgui_slider_t *ptSlider,
104int_fast16_t vk_tgui_slider_on_timer_event_handler(__vk_tgui_slider_t *ptSlider);
107bool vk_tgui_slider_is_working(__vk_tgui_slider_t *ptSlider);
110int_fast16_t vk_tgui_slider_location_set( __vk_tgui_slider_t *ptSlider,
115int_fast16_t vk_tgui_slider_location_target_set( __vk_tgui_slider_t *ptSlider,
118int_fast16_t vk_tgui_slider_location_target_get( __vk_tgui_slider_t *ptSlider);
121int_fast16_t vk_tgui_slider_location_target_increase( __vk_tgui_slider_t *ptSlider,
125int_fast16_t vk_tgui_slider_location_current_get( __vk_tgui_slider_t *ptSlider);
128int_fast16_t vk_tgui_slider_location_current_set( __vk_tgui_slider_t *ptSlider,
132int_fast16_t vk_tgui_slider_location_current_increase( __vk_tgui_slider_t *ptSlider,
136int_fast16_t vk_tgui_slider_location_get_distance( __vk_tgui_slider_t *ptSlider);
139int_fast16_t vk_tgui_slider_reset(__vk_tgui_slider_t *ptSlider);
uint16_t hwAcceleration
Definition __vk_tgui_slider.h:77
int16_t iResidual
Definition __vk_tgui_slider.h:85
int16_t iCurrent
Definition __vk_tgui_slider.h:85
uint16_t hwSpeed
Definition __vk_tgui_slider.h:77
int16_t iTarget
Definition __vk_tgui_slider.h:85
declare_class(__vk_tgui_slider_t) def_class(__vk_tgui_slider_t
uint64_t vsf_systimer_tick_t
Definition cortex_a_generic.h:73
signed short int16_t
Definition lvgl.h:42
unsigned short uint16_t
Definition lvgl.h:41
unsigned char uint_fast8_t
Definition stdint.h:23
short int_fast16_t
Definition stdint.h:24
def_class(vsf_stream_fifo_t, which(vsf_stream_tx_t TX;vsf_stream_rx_t RX;), private:vsf_slist_queue_t union { vsf_stream_fifo_cfg_t cfg;struct { vsf_stream_dat_rdy_evt_t tDataReadyEventHandling;vsf_stream_dat_drn_evt_t tDataDrainEventHandling;vsf_stream_status_t Status;#if !defined(VSF_PBUF_QUEUE_CFG_ATOM_ACCESS) vsf_protect_region_t *pregion;#endif };};) end_def_class(vsf_stream_fifo_t) extern vsf_err_t vsf_stream_fifo_init(vsf_stream_fifo_t *obj_ptr
struct vsf_tgui_control_t vsf_tgui_control_t
Definition vsf_tgui_common.h:549