-
Notifications
You must be signed in to change notification settings - Fork 0
/
pca9555.h
37 lines (28 loc) · 1.13 KB
/
pca9555.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// pca9555.h
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
// ######################################## Enumerations ###########################################
// ######################################### Structures ############################################
// ####################################### Public variables ########################################
// ####################################### Global functions ########################################
void pca9555DIG_IN_Config(u8_t pin);
u8_t pca9555DIG_IN_GetState(u8_t pin);
void pca9555DIG_IN_Invert(u8_t pin);
void pca9555DIG_OUT_Config(u8_t pin);
void pca9555DIG_OUT_SetStateLazy(u8_t pin, u8_t State);
void pca9555DIG_OUT_SetState(u8_t pin, u8_t State);
int pca9555DIG_OUT_WriteAll(void);
int pca9555DIG_OUT_GetState(u8_t pin);
void pca9555DIG_OUT_Toggle(u8_t pin);
struct i2c_di_t;
int pca9555Diagnostics(struct i2c_di_t * psI2C);
int pca9555Identify(struct i2c_di_t * psI2C);
int pca9555Config(struct i2c_di_t * psI2C);
int pca9555Check(void);
struct report_t;
int pca9555Report(struct report_t * psR);
#ifdef __cplusplus
}
#endif