LibDriver X9CXX
Loading...
Searching...
No Matches
driver_x9cxx_basic.h
Go to the documentation of this file.
1
36
37#ifndef DRIVER_X9CXX_BASIC_H
38#define DRIVER_X9CXX_BASIC_H
39
41
42#ifdef __cplusplus
43extern "C"{
44#endif
45
52
61uint8_t x9cxx_basic_init(x9cxx_type_t type);
62
70uint8_t x9cxx_basic_deinit(void);
71
80uint8_t x9cxx_basic_reset_to_min(x9cxx_bool_t store_enable);
81
90uint8_t x9cxx_basic_reset_to_max(x9cxx_bool_t store_enable);
91
101uint8_t x9cxx_basic_increment(uint8_t step, x9cxx_bool_t store_enable);
102
112uint8_t x9cxx_basic_decrement(uint8_t step, x9cxx_bool_t store_enable);
113
123uint8_t x9cxx_basic_set_absolute_step(uint8_t step, x9cxx_bool_t store_enable);
124
134uint8_t x9cxx_basic_set_absolute_resistor(float ohm, x9cxx_bool_t store_enable);
135
145uint8_t x9cxx_basic_get_resistor(uint8_t *step, float *ohm);
146
150
151#ifdef __cplusplus
152}
153#endif
154
155#endif
driver x9cxx interface header file
x9cxx_type_t
x9cxx type enumeration definition
x9cxx_bool_t
x9cxx bool enumeration definition
uint8_t x9cxx_basic_set_absolute_resistor(float ohm, x9cxx_bool_t store_enable)
basic example set absolute resistor
uint8_t x9cxx_basic_deinit(void)
basic example deinit
uint8_t x9cxx_basic_init(x9cxx_type_t type)
basic example init
uint8_t x9cxx_basic_increment(uint8_t step, x9cxx_bool_t store_enable)
basic example increment
uint8_t x9cxx_basic_set_absolute_step(uint8_t step, x9cxx_bool_t store_enable)
basic example set absolute step
uint8_t x9cxx_basic_reset_to_max(x9cxx_bool_t store_enable)
basic example reset to max
uint8_t x9cxx_basic_reset_to_min(x9cxx_bool_t store_enable)
basic example reset to min
uint8_t x9cxx_basic_get_resistor(uint8_t *step, float *ohm)
basic example get resistor
uint8_t x9cxx_basic_decrement(uint8_t step, x9cxx_bool_t store_enable)
basic example decrement