X-Git-Url: https://git.smho.de/gw/?p=owSlave2.git;a=blobdiff_plain;f=common%2FI2C%2FMAX1164x.h;fp=common%2FI2C%2FMAX1164x.h;h=3bb096a426fdb60712997f3ad098dc25c38965ba;hp=cf8977cc154fe01efe7459848aaa5277290d68f1;hb=a6a04f58e4afd20f206fdf4a8a7b3ce4062f1b67;hpb=cd92472e6fd63693741f8e168123a4182802651b diff --git a/common/I2C/MAX1164x.h b/common/I2C/MAX1164x.h index cf8977c..3bb096a 100644 --- a/common/I2C/MAX1164x.h +++ b/common/I2C/MAX1164x.h @@ -1,22 +1,22 @@ -#ifndef MAX1164x_H -#define MAX1164x_H -#define MAX1164x_S_SEL2 0x40 -#define MAX1164x_S_SEL1 0x20 -#define MAX1164x_S_SEL0 0x10 -#define MAX1164x_S_ECLK 0x08 -#define MAX1164x_S_BIP 0x04 -#define MAX1164_S_RESET 0x02 - -#define MAX1164x_C_SCAN1 0x40 -#define MAX1164x_C_SCAN0 0x20 -#define MAX1164x_C_CS0 0x02 -#define MAX1164x_C_SGL 0x01 - - - -void MAX1164x_init(); -void MAX1164x_config(uint8_t setup,uint8_t config); -int16_t MAX1164x_read(); - - -#endif \ No newline at end of file +#ifndef MAX1164x_H +#define MAX1164x_H +#define MAX1164x_S_SEL2 0x40 +#define MAX1164x_S_SEL1 0x20 +#define MAX1164x_S_SEL0 0x10 +#define MAX1164x_S_ECLK 0x08 +#define MAX1164x_S_BIP 0x04 +#define MAX1164_S_RESET 0x02 + +#define MAX1164x_C_SCAN1 0x40 +#define MAX1164x_C_SCAN0 0x20 +#define MAX1164x_C_CS0 0x02 +#define MAX1164x_C_SGL 0x01 + + + +void MAX1164x_init(void); +void MAX1164x_config(uint8_t setup,uint8_t config); +int16_t MAX1164x_read(void); + + +#endif