Struct SYN_IOExp¶
Generic I2C GPIO Expander Instance Context.
#include <syn_ioexp.h>
Public Attributes¶
| Type | Name |
|---|---|
| uint16_t | dir_mask |
| SYN_SoftI2C | i2c |
| uint8_t | i2c_addr |
| uint8_t | num_pins |
| uint16_t | out_mask |
| uint16_t | pullup_mask |
| SYN_IOExpType | type |
Public Attributes Documentation¶
variable dir_mask¶
Direction mask (1 = input, 0 = output)
variable i2c¶
variable i2c_addr¶
variable num_pins¶
Total pins (8 or 16)
variable out_mask¶
Output state cache
variable pullup_mask¶
Pull-up resistor mask
variable type¶
The documentation for this class was generated from the following file src/syntropic/drivers/syn_ioexp.h