EFP driver initialization structure.

Public Attributes#

bool

Set to True to rewrite EFP's register to OTP defaults during init.

unsigned int

Number of register writes inside the configuration data. Set to 0 on preprogrammed parts.

uint8_t *

Configuration data, pairs of (addr,data),(addr,data),... Set to NULL on preprogrammed parts.

unsigned int

Number of values in the handoff parameter list. Set to 0 if unused.

uint8_t *

Array of handoff parameters. Set to NULL if unused.

bool

True if this EFP powers host SoC.

Method for controlling EFP Energy Mode (EM) transitions.

Initialize a GPIO pin as EFP IRQ input.

sl_gpio_port_t

GPIO port to use for EFP IRQ GPIO pin.

unsigned int

GPIO pin number to use for EFP IRQ GPIO pin.

I2C_TypeDef *

I2C peripheral instance pointer.

sl_gpio_port_t

GPIO port to use for I2C SCL signal.

unsigned int

GPIO pin number to use for I2C SCL signal.

sl_gpio_port_t

GPIO port to use for I2C SDA signal.

unsigned int

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.


Definition at line 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.


Definition at line 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.


Definition at line 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.


Definition at line 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.


Definition at line 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.


Definition at line 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.


Definition at line 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.


Definition at line 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.


Definition at line 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.


Definition at line 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.


Definition at line 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.


Definition at line 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.


Definition at line 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.


Definition at line 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.


Definition at line 637 of file hardware/driver/efp/inc/sl_efp.h