libeasymcp2221 2.0.3
mcp2221_flash_settings.h
Go to the documentation of this file.
1
6#ifndef MCP2221_FLASH_SETTINGS_H
7#define MCP2221_FLASH_SETTINGS_H
8
9#include <stdint.h>
10
11#include "mcp2221.h"
12
14
21typedef struct {
23 uint8_t chip_settings[60];
24
26 uint8_t gp_settings[60];
28
39
41#endif // MCP2221_FLASH_SETTINGS_H
Core MCP2221 device and I2C master API.
struct mcp2221_device mcp2221_t
Opaque MCP2221 device handle.
Definition: mcp2221.h:28
mcp2221_error_code_t
Error codes used by libeasymcp2221.
#define MCP2221_API
Export or import a public libeasymcp2221 API symbol.
#define MCP2221_END_DECLS
End a block started by MCP2221_BEGIN_DECLS.
#define MCP2221_BEGIN_DECLS
Begin a block of declarations using C linkage.
mcp2221_error_code_t mcp2221_flash_get_settings(mcp2221_t *dev, mcp2221_flash_settings_t *st)
Read the persistent chip-settings and GP-settings flash sections.
Raw persistent chip-settings and GP-settings snapshot.