Go to the documentation of this file.
4 #define MAX1363_SETUP_BYTE(a) ((a) | 0x80)
12 #define MAX1363_SETUP_AIN3_IS_AIN3_REF_IS_VDD 0x00
13 #define MAX1363_SETUP_AIN3_IS_REF_EXT_TO_REF 0x20
14 #define MAX1363_SETUP_AIN3_IS_AIN3_REF_IS_INT 0x40
15 #define MAX1363_SETUP_AIN3_IS_REF_REF_IS_INT 0x60
16 #define MAX1363_SETUP_POWER_UP_INT_REF 0x10
17 #define MAX1363_SETUP_POWER_DOWN_INT_REF 0x00
20 #define MAX1363_SETUP_EXT_CLOCK 0x08
21 #define MAX1363_SETUP_INT_CLOCK 0x00
22 #define MAX1363_SETUP_UNIPOLAR 0x00
23 #define MAX1363_SETUP_BIPOLAR 0x04
24 #define MAX1363_SETUP_RESET 0x00
25 #define MAX1363_SETUP_NORESET 0x02
31 #define MAX1363_SETUP_MONITOR_SETUP 0x01
34 #define MAX1363_MON_RESET_CHAN(a) (1 << ((a) + 4))
35 #define MAX1363_MON_INT_ENABLE 0x01
39 #define MAX1363_CONFIG_BYTE(a) ((a))
41 #define MAX1363_CONFIG_SE 0x01
42 #define MAX1363_CONFIG_DE 0x00
43 #define MAX1363_CONFIG_SCAN_TO_CS 0x00
44 #define MAX1363_CONFIG_SCAN_SINGLE_8 0x20
45 #define MAX1363_CONFIG_SCAN_MONITOR_MODE 0x40
46 #define MAX1363_CONFIG_SCAN_SINGLE_1 0x60
48 #define MAX1236_SCAN_MID_TO_CHANNEL 0x40
51 #define MAX1363_CONFIG_EN_MON_MODE_READ 0x18
53 #define MAX1363_CHANNEL_SEL(a) ((a) << 1)
56 #define MAX1363_CHANNEL_SEL_MASK 0x1E
57 #define MAX1363_SCAN_MASK 0x60
58 #define MAX1363_SE_DE_MASK 0x01
60 #define MAX1363_MAX_CHANNELS 25
74 _s0,
_s1,
_s2,
_s3,
_s4,
_s5,
_s6,
_s7,
_s8,
_s9,
_s10,
_s11,
154 #ifdef CONFIG_MAX1363_RING_BUFFER
156 const unsigned long *scan_mask);
162 const long *scan_mask)