|
libeasymcp2221 2.0.3
|
Aggregated runtime SRAM configuration. More...
#include <mcp2221_sram.h>
Public Attributes | |
| mcp2221_sram_gp_config_t | gp [4] |
| GP0 through GP3 configuration. More... | |
| mcp2221_sram_int_config_t | int_cfg |
| Interrupt-on-change configuration. More... | |
| mcp2221_sram_adc_config_t | adc_cfg |
| ADC reference configuration. More... | |
| mcp2221_sram_dac_ref_config_t | dac_ref |
| DAC reference configuration. More... | |
| mcp2221_sram_dac_value_config_t | dac_val |
| DAC output-code configuration. More... | |
| mcp2221_sram_clock_config_t | clk_cfg |
| Clock-output configuration. More... | |
Aggregated runtime SRAM configuration.
Each nested field may be changed independently. Set fields that should remain unchanged to MCP2221_CONFIG_KEEP.
Before writing, mcp2221_sram_config() reads the current SRAM state and merges the requested changes with existing values. The configuration affects runtime SRAM only; it does not write persistent flash settings.
Definition at line 182 of file mcp2221_sram.h.
| mcp2221_sram_adc_config_t mcp2221_sram_config_t::adc_cfg |
ADC reference configuration.
Definition at line 194 of file mcp2221_sram.h.
| mcp2221_sram_clock_config_t mcp2221_sram_config_t::clk_cfg |
Clock-output configuration.
Definition at line 203 of file mcp2221_sram.h.
| mcp2221_sram_dac_ref_config_t mcp2221_sram_config_t::dac_ref |
DAC reference configuration.
Definition at line 197 of file mcp2221_sram.h.
| mcp2221_sram_dac_value_config_t mcp2221_sram_config_t::dac_val |
DAC output-code configuration.
Definition at line 200 of file mcp2221_sram.h.
| mcp2221_sram_gp_config_t mcp2221_sram_config_t::gp[4] |
GP0 through GP3 configuration.
Array index 0 through 3 corresponds to GP0 through GP3.
Definition at line 188 of file mcp2221_sram.h.
| mcp2221_sram_int_config_t mcp2221_sram_config_t::int_cfg |
Interrupt-on-change configuration.
Definition at line 191 of file mcp2221_sram.h.