JM9 XRCU Board 0.1.3
Libraries API Reference
Loading...
Searching...
No Matches
Ain.h
Go to the documentation of this file.
1
12
13#include <Arduino.h>
14#include <Ain.h>
15
16#ifndef AIN_H
17#define AIN_H
18
25uint16_t analog_read_raw (const uint8_t channel);
26
32uint16_t analog_read_threshold (const uint8_t channel);
33
40uint16_t analog_read_mapped (const uint8_t channel);
41
49bool analog_read_digital (const uint8_t channel);
50
57bool get_analog_reverse_flag (const uint8_t channel);
58
65void set_analog_reverse_flag (const uint8_t channel, const bool reverse_flag);
66
72void analog_start_cal ();
73
80bool analog_single_cal ();
81
87void analog_end_cal ();
88
89#endif // #ifndef AIN_H