LibDriver ADS1118
Loading...
Searching...
No Matches
driver_ads1118_shot.h
Go to the documentation of this file.
1
36
37#ifndef DRIVER_ADS1118_SHOT_H
38#define DRIVER_ADS1118_SHOT_H
39
41
42#ifdef __cplusplus
43extern "C"{
44#endif
45
50
54#define ADS1118_SHOT_DEFAULT_RANGE ADS1118_RANGE_6P144V
55#define ADS1118_SHOT_DEFAULT_RATE ADS1118_RATE_128SPS
56#define ADS1118_SHOT_DEFAULT_DOUT_PULL_UP ADS1118_BOOL_FALSE
57
68
77uint8_t ads1118_shot_read(float *s);
78
87uint8_t ads1118_shot_read_temperature(float *deg);
88
96uint8_t ads1118_shot_deinit(void);
97
101
102#ifdef __cplusplus
103}
104#endif
105
106#endif
driver ads1118 interface header file
ads1118_mode_t
ads1118 mode enumeration definition
ads1118_channel_t
ads1118 channel enumeration definition
uint8_t ads1118_shot_deinit(void)
shot example deinit
uint8_t ads1118_shot_read_temperature(float *deg)
shot example read
uint8_t ads1118_shot_init(ads1118_mode_t mode, ads1118_channel_t channel)
shot example init
uint8_t ads1118_shot_read(float *s)
shot example read