33 #ifndef SIF_PI4IOE5V96248_H
34 #define SIF_PI4IOE5V96248_H
45 #define SIF_PI4IOE5V96248_INT_PIN 5
48 #define SIF_PI4IOE5V96248_RST_PIN 6
51 #define SIF_PI4IOE5V96248_NO_PIN_MASK 0x00
52 #define SIF_PI4IOE5V96248_PIN_0_MASK 0x01
53 #define SIF_PI4IOE5V96248_PIN_1_MASK 0x02
54 #define SIF_PI4IOE5V96248_PIN_2_MASK 0x04
55 #define SIF_PI4IOE5V96248_PIN_3_MASK 0x08
56 #define SIF_PI4IOE5V96248_PIN_4_MASK 0x10
57 #define SIF_PI4IOE5V96248_PIN_5_MASK 0x20
58 #define SIF_PI4IOE5V96248_PIN_6_MASK 0x40
59 #define SIF_PI4IOE5V96248_PIN_7_MASK 0x80
60 #define SIF_PI4IOE5V96248_ALL_PINS_MASK 0xFF
63 #define SIF_PI4IOE5V96248_PORT_0 0x00
64 #define SIF_PI4IOE5V96248_PORT_1 0x01
65 #define SIF_PI4IOE5V96248_PORT_2 0x02
66 #define SIF_PI4IOE5V96248_PORT_3 0x03
67 #define SIF_PI4IOE5V96248_PORT_4 0x04
68 #define SIF_PI4IOE5V96248_PORT_5 0x05
71 #define SIF_PI4IOE5V96248_I2C_ADDR 0x20
74 #define SIF_PI4IOE5V96248_T_RESET 1
uint8_t SIF_PI4IOE5V96248_alarm_triggered(void)
Definition: sif_pi4ioe5v96248.c:123
uint8_t SIF_PI4IOE5V96248_SetOutput(uint8_t io, uint8_t val)
Definition: sif_pi4ioe5v96248.c:159
uint8_t SIF_PI4IOE5V96248_Sense(uint8_t io, uint8_t *val)
Definition: sif_pi4ioe5v96248.c:180
uint8_t SIF_PI4IOE5V96248_Acquire(uint8_t *port0)
Definition: sif_pi4ioe5v96248.c:150
uint8_t SIF_PI4IOE5V96248_Initialise(void)
Definition: sif_pi4ioe5v96248.c:131
expand13_alarm_state
Definition: sif_pi4ioe5v96248.h:78
@ SIF_PI4IOE5V96248_INT_CLEARED
Definition: sif_pi4ioe5v96248.h:80
@ SIF_PI4IOE5V96248_INT_TRIGGERED
Definition: sif_pi4ioe5v96248.h:79
expand13_status
Definition: sif_pi4ioe5v96248.h:85
@ SIF_PI4IOE5V96248_ST_OK
Definition: sif_pi4ioe5v96248.h:86
@ SIF_PI4IOE5V96248_ST_FAIL
Definition: sif_pi4ioe5v96248.h:87