Bridle API 4.1.99
A Zephyr based application framework
Loading...
Searching...
No Matches
mfd_sc16is75x_config Struct Reference

SC16IS75X MFD configuration data. More...

#include <mfd_sc16is75x.h>

Data Fields

int(* bus_init )(const struct device *dev)
 bus specific initialization function (SPI or I2C)
 
struct gpio_dt_spec reset
 GPIO pin for chip reset.
 
uint8_t n_channels
 Number of UART channels provided by this device.
 
uint8_t channels [SC16IS75X_UART_CHANNELS_MAX]
 UART channel numbers.
 

Detailed Description

SC16IS75X MFD configuration data.

interrupt must be set to a valid input pin with interrupt capability. reset must be set to a valid output pin.

This structure contains all of the state for a given SC16IS75X MFD controller as well as the binding to related SPI or I2C device.

Field Documentation

◆ bus_init

int(* mfd_sc16is75x_config::bus_init) (const struct device *dev)

bus specific initialization function (SPI or I2C)

◆ channels

uint8_t mfd_sc16is75x_config::channels[SC16IS75X_UART_CHANNELS_MAX]

UART channel numbers.

◆ n_channels

uint8_t mfd_sc16is75x_config::n_channels

Number of UART channels provided by this device.

◆ reset

struct gpio_dt_spec mfd_sc16is75x_config::reset

GPIO pin for chip reset.


The documentation for this struct was generated from the following file: