36 #ifndef EXPAND13_CLICK_H
37 #define EXPAND13_CLICK_H
42 #define EXPAND13_USE_INTERRUPT 1
45 #define EXPAND13_NO_PIN_MASK 0x00
46 #define EXPAND13_PIN_0_MASK 0x01
47 #define EXPAND13_PIN_1_MASK 0x02
48 #define EXPAND13_PIN_2_MASK 0x04
49 #define EXPAND13_PIN_3_MASK 0x08
50 #define EXPAND13_PIN_4_MASK 0x10
51 #define EXPAND13_PIN_5_MASK 0x20
52 #define EXPAND13_PIN_6_MASK 0x40
53 #define EXPAND13_PIN_7_MASK 0x80
54 #define EXPAND13_ALL_PINS_MASK 0xFF
57 #define EXPAND13_PORT_0 0x00
58 #define EXPAND13_PORT_1 0x01
59 #define EXPAND13_PORT_2 0x02
60 #define EXPAND13_PORT_3 0x03
61 #define EXPAND13_PORT_4 0x04
62 #define EXPAND13_PORT_5 0x05
65 #define EXPAND13_I2C_ADDR 0x20
68 #define EXPAND13_T_RESET 1
uint8_t MIKROSDK_EXPAND13_Initialise(void)
Definition: expand13.c:160
uint8_t MIKROSDK_EXPAND13_SetOutput(uint8_t io, uint8_t val)
Definition: expand13.c:201
uint8_t MIKROSDK_EXPAND13_alarm_triggered(void)
Definition: expand13.c:152
uint8_t MIKROSDK_EXPAND13_Sense(uint8_t io, uint8_t *val)
Definition: expand13.c:226
@ EXPAND13_INT_CLEARED
Definition: expand13_click.h:74
@ EXPAND13_INT_TRIGGERED
Definition: expand13_click.h:73
void MIKROSDK_EXPAND13_pin_mapping(uint8_t reset, uint8_t irq)
Definition: expand13.c:145
@ EXPAND13_ST_FAIL
Definition: expand13_click.h:81
@ EXPAND13_ST_OK
Definition: expand13_click.h:80
uint8_t MIKROSDK_EXPAND13_Acquire(uint8_t *port0)
Definition: expand13.c:188
expand13_alarm_state
Definition: sif_pi4ioe5v96248.h:78
expand13_status
Definition: sif_pi4ioe5v96248.h:85