sl_efp_init_data_t Struct Reference
EFP driver initialization structure.
#include <sl_efp.h>
Data Fields |
|
bool | reset_to_default |
Set to True to rewrite EFP's register to OTP defaults during init.
|
|
unsigned int | config_size |
Number of register writes inside the configuration data. Set to 0 on preprogrammed parts.
|
|
uint8_t * | config_data |
Configuration data, pairs of (addr,data),(addr,data),... Set to NULL on preprogrammed parts.
|
|
unsigned int | handoff_size |
Number of values in the handoff parameter list. Set to 0 if unused.
|
|
uint8_t * | handoff_parameters |
Array of handoff parameters. Set to NULL if unused.
|
|
bool | is_host_efp |
True if this EFP powers host SoC.
|
|
sl_efp_em_transition_mode_t | em_transition_mode |
Method for controlling EFP Energy Mode (EM) transitions.
|
|
sl_efp_irq_mode_t | irq_pin_mode |
Initialize a GPIO pin as EFP IRQ input.
|
|
GPIO_Port_TypeDef | irq_port |
GPIO port to use for EFP IRQ GPIO pin.
|
|
unsigned int | irq_pin |
GPIO pin number to use for EFP IRQ GPIO pin.
|
|
I2C_TypeDef * | i2c_peripheral |
I2C peripheral instance pointer.
|
|
GPIO_Port_TypeDef | i2c_scl_port |
GPIO port to use for I2C SCL signal.
|
|
unsigned int | i2c_scl_pin |
GPIO pin number to use for I2C SCL signal.
|
|
GPIO_Port_TypeDef | i2c_sda_port |
GPIO port to use for I2C SDA signal.
|
|
unsigned int | i2c_sda_pin |
GPIO pin number to use for I2C SDA signal.
|
|
EFP driver initialization structure.
Field 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.
◆ 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.
◆ 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.
◆ handoff_size
unsigned int sl_efp_init_data_t::handoff_size |
Number of values in the handoff parameter list. Set to 0 if unused.
◆ handoff_parameters
uint8_t* sl_efp_init_data_t::handoff_parameters |
Array of handoff parameters. Set to NULL if unused.
◆ is_host_efp
bool sl_efp_init_data_t::is_host_efp |
True if this EFP powers host SoC.
◆ 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.
◆ irq_pin_mode
sl_efp_irq_mode_t sl_efp_init_data_t::irq_pin_mode |
Initialize a GPIO pin as EFP IRQ input.
◆ irq_port
GPIO_Port_TypeDef sl_efp_init_data_t::irq_port |
GPIO port to use for EFP IRQ GPIO pin.
◆ irq_pin
unsigned int sl_efp_init_data_t::irq_pin |
GPIO pin number to use for EFP IRQ GPIO pin.
◆ i2c_peripheral
I2C_TypeDef* sl_efp_init_data_t::i2c_peripheral |
I2C peripheral instance pointer.
◆ i2c_scl_port
GPIO_Port_TypeDef sl_efp_init_data_t::i2c_scl_port |
GPIO port to use for I2C SCL signal.
◆ i2c_scl_pin
unsigned int sl_efp_init_data_t::i2c_scl_pin |
GPIO pin number to use for I2C SCL signal.
◆ i2c_sda_port
GPIO_Port_TypeDef sl_efp_init_data_t::i2c_sda_port |
GPIO port to use for I2C SDA signal.
◆ i2c_sda_pin
unsigned int sl_efp_init_data_t::i2c_sda_pin |
GPIO pin number to use for I2C SDA signal.