EFP driver initialization structure.
Public Attributes#
Set to True to rewrite EFP's register to OTP defaults during init.
Number of register writes inside the configuration data. Set to 0 on preprogrammed parts.
Configuration data, pairs of (addr,data),(addr,data),... Set to NULL on preprogrammed parts.
Number of values in the handoff parameter list. Set to 0 if unused.
Array of handoff parameters. Set to NULL if unused.
True if this EFP powers host SoC.
Method for controlling EFP Energy Mode (EM) transitions.
Initialize a GPIO pin as EFP IRQ input.
GPIO port to use for EFP IRQ GPIO pin.
GPIO pin number to use for EFP IRQ GPIO pin.
I2C peripheral instance pointer.
GPIO port to use for I2C SCL signal.
GPIO pin number to use for I2C SCL signal.
GPIO port to use for I2C SDA signal.
GPIO pin number to use for I2C SDA signal.
Public Attribute Documentation#
reset_to_default#
bool sl_efp_init_data_t::reset_to_default
Set to True to rewrite EFP's register to OTP defaults during init.
623
of file hardware/driver/efp/inc/sl_efp.h
config_size#
unsigned int sl_efp_init_data_t::config_size
Number of register writes inside the configuration data. Set to 0 on preprogrammed parts.
624
of file hardware/driver/efp/inc/sl_efp.h
config_data#
uint8_t* sl_efp_init_data_t::config_data
Configuration data, pairs of (addr,data),(addr,data),... Set to NULL on preprogrammed parts.
625
of file hardware/driver/efp/inc/sl_efp.h
handoff_size#
unsigned int sl_efp_init_data_t::handoff_size
Number of values in the handoff parameter list. Set to 0 if unused.
626
of file hardware/driver/efp/inc/sl_efp.h
handoff_parameters#
uint8_t* sl_efp_init_data_t::handoff_parameters
Array of handoff parameters. Set to NULL if unused.
627
of file hardware/driver/efp/inc/sl_efp.h
is_host_efp#
bool sl_efp_init_data_t::is_host_efp
True if this EFP powers host SoC.
628
of file hardware/driver/efp/inc/sl_efp.h
em_transition_mode#
sl_efp_em_transition_mode_t sl_efp_init_data_t::em_transition_mode
Method for controlling EFP Energy Mode (EM) transitions.
629
of file hardware/driver/efp/inc/sl_efp.h
irq_pin_mode#
sl_efp_irq_mode_t sl_efp_init_data_t::irq_pin_mode
Initialize a GPIO pin as EFP IRQ input.
630
of file hardware/driver/efp/inc/sl_efp.h
irq_port#
sl_gpio_port_t sl_efp_init_data_t::irq_port
GPIO port to use for EFP IRQ GPIO pin.
631
of file hardware/driver/efp/inc/sl_efp.h
irq_pin#
unsigned int sl_efp_init_data_t::irq_pin
GPIO pin number to use for EFP IRQ GPIO pin.
632
of file hardware/driver/efp/inc/sl_efp.h
i2c_peripheral#
I2C_TypeDef* sl_efp_init_data_t::i2c_peripheral
I2C peripheral instance pointer.
633
of file hardware/driver/efp/inc/sl_efp.h
i2c_scl_port#
sl_gpio_port_t sl_efp_init_data_t::i2c_scl_port
GPIO port to use for I2C SCL signal.
634
of file hardware/driver/efp/inc/sl_efp.h
i2c_scl_pin#
unsigned int sl_efp_init_data_t::i2c_scl_pin
GPIO pin number to use for I2C SCL signal.
635
of file hardware/driver/efp/inc/sl_efp.h
i2c_sda_port#
sl_gpio_port_t sl_efp_init_data_t::i2c_sda_port
GPIO port to use for I2C SDA signal.
636
of file hardware/driver/efp/inc/sl_efp.h
i2c_sda_pin#
unsigned int sl_efp_init_data_t::i2c_sda_pin
GPIO pin number to use for I2C SDA signal.
637
of file hardware/driver/efp/inc/sl_efp.h