sl_efpdrv_init_data Struct ReferenceKit Drivers > SL_EFPDRV

EFP driver initialization structure.

Definition at line 76 of file sl_efpdrv.h .

#include < sl_efpdrv.h >

Data Fields

uint8_t * config_data
Configuration data, pairs of (addr,data),(addr,data),... Set to NULL on preprogrammed parts.
unsigned int config_size
Number of register writes inside the configuration data. Set to 0 on preprogrammed parts.
bool enable_irq_pin
Initialize a GPIO pin as EFP IRQ input.
I2C_TypeDef * i2c_instance
I2C peripheral instance pointer.
unsigned int i2c_scl_pin
GPIO pin number to use for I2C SCL signal.
GPIO_Port_TypeDef i2c_scl_port
GPIO port to use for I2C SCL signal.
unsigned int i2c_scl_port_location
I2C location number to use for I2C SCL signal.
unsigned int i2c_sda_pin
GPIO pin number to use for I2C SDA signal.
GPIO_Port_TypeDef i2c_sda_port
GPIO port to use for I2C SDA signal.
unsigned int i2c_sda_port_location
I2C location number to use for I2C SDA signal.
unsigned int irq_pin
GPIO pin number to use for EFP IRQ GPIO pin.
GPIO_Port_TypeDef irq_port
GPIO port to use for EFP IRQ GPIO pin.

The documentation for this struct was generated from the following file:
  • C:/repos/super_h1/hardware/kit/common/drivers/ sl_efpdrv.h