Loading...
Searching...
No Matches

MCP47xx device configuration parameters. More...

Detailed Description

MCP47xx device configuration parameters.

Definition at line 213 of file mcp47xx.h.

#include <mcp47xx.h>

Data Fields

i2c_t dev
 I2C device.
 
uint16_t addr
 I2C slave address MCP47XX_BASE_ADDR + [0...7].
 
mcp47xx_variant_t variant
 used variant of MCP47xx
 
mcp47xx_gain_t gain
 Gain selection.
 
mcp47xx_vref_t vref
 Voltage reference selection.
 
mcp47xx_pd_mode_t pd_mode
 Power-down mode selection.
 

Field Documentation

◆ addr

uint16_t mcp47xx_params_t::addr

I2C slave address MCP47XX_BASE_ADDR + [0...7].

Definition at line 216 of file mcp47xx.h.

◆ dev

i2c_t mcp47xx_params_t::dev

I2C device.

Definition at line 215 of file mcp47xx.h.

◆ gain

mcp47xx_gain_t mcp47xx_params_t::gain

Gain selection.

Definition at line 219 of file mcp47xx.h.

◆ pd_mode

mcp47xx_pd_mode_t mcp47xx_params_t::pd_mode

Power-down mode selection.

Definition at line 221 of file mcp47xx.h.

◆ variant

mcp47xx_variant_t mcp47xx_params_t::variant

used variant of MCP47xx

Definition at line 218 of file mcp47xx.h.

◆ vref

mcp47xx_vref_t mcp47xx_params_t::vref

Voltage reference selection.

Definition at line 220 of file mcp47xx.h.


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