mikrosdk interface
More...
#include <stdint.h>
Go to the source code of this file.
◆ EXPAND13_ALL_PINS_MASK
#define EXPAND13_ALL_PINS_MASK 0xFF |
◆ EXPAND13_I2C_ADDR
#define EXPAND13_I2C_ADDR 0x20 |
◆ EXPAND13_NO_PIN_MASK
#define EXPAND13_NO_PIN_MASK 0x00 |
◆ EXPAND13_PIN_0_MASK
#define EXPAND13_PIN_0_MASK 0x01 |
◆ EXPAND13_PIN_1_MASK
#define EXPAND13_PIN_1_MASK 0x02 |
◆ EXPAND13_PIN_2_MASK
#define EXPAND13_PIN_2_MASK 0x04 |
◆ EXPAND13_PIN_3_MASK
#define EXPAND13_PIN_3_MASK 0x08 |
◆ EXPAND13_PIN_4_MASK
#define EXPAND13_PIN_4_MASK 0x10 |
◆ EXPAND13_PIN_5_MASK
#define EXPAND13_PIN_5_MASK 0x20 |
◆ EXPAND13_PIN_6_MASK
#define EXPAND13_PIN_6_MASK 0x40 |
◆ EXPAND13_PIN_7_MASK
#define EXPAND13_PIN_7_MASK 0x80 |
◆ EXPAND13_PORT_0
#define EXPAND13_PORT_0 0x00 |
◆ EXPAND13_PORT_1
#define EXPAND13_PORT_1 0x01 |
◆ EXPAND13_PORT_2
#define EXPAND13_PORT_2 0x02 |
◆ EXPAND13_PORT_3
#define EXPAND13_PORT_3 0x03 |
◆ EXPAND13_PORT_4
#define EXPAND13_PORT_4 0x04 |
◆ EXPAND13_PORT_5
#define EXPAND13_PORT_5 0x05 |
◆ EXPAND13_T_RESET
#define EXPAND13_T_RESET 1 /* 1 ms for reset */ |
◆ EXPAND13_USE_INTERRUPT
#define EXPAND13_USE_INTERRUPT 1 |
◆ expand13_alarm_state
Enumerator |
---|
SIF_PI4IOE5V96248_INT_TRIGGERED | |
SIF_PI4IOE5V96248_INT_CLEARED | |
EXPAND13_INT_TRIGGERED | |
EXPAND13_INT_CLEARED | |
◆ expand13_status
Enumerator |
---|
SIF_PI4IOE5V96248_ST_OK | |
SIF_PI4IOE5V96248_ST_FAIL | |
EXPAND13_ST_OK | |
EXPAND13_ST_FAIL | |
◆ MIKROSDK_EXPAND13_Acquire()
uint8_t MIKROSDK_EXPAND13_Acquire |
( |
uint8_t * |
port0 | ) |
|
◆ MIKROSDK_EXPAND13_alarm_triggered()
uint8_t MIKROSDK_EXPAND13_alarm_triggered |
( |
void |
| ) |
|
◆ MIKROSDK_EXPAND13_Initialise()
uint8_t MIKROSDK_EXPAND13_Initialise |
( |
void |
| ) |
|
◆ MIKROSDK_EXPAND13_pin_mapping()
void MIKROSDK_EXPAND13_pin_mapping |
( |
uint8_t |
reset, |
|
|
uint8_t |
irq |
|
) |
| |
◆ MIKROSDK_EXPAND13_Sense()
uint8_t MIKROSDK_EXPAND13_Sense |
( |
uint8_t |
io, |
|
|
uint8_t * |
val |
|
) |
| |
◆ MIKROSDK_EXPAND13_SetOutput()
uint8_t MIKROSDK_EXPAND13_SetOutput |
( |
uint8_t |
io, |
|
|
uint8_t |
val |
|
) |
| |