MCP2210 Library
An Open Source MCP2210 Library for Linux.
|
#include <mcp2210.h>
Public Attributes | |
unsigned int | SPIBusReleaseExtReqStat |
unsigned int | SPIBusCurrentOwner |
unsigned int | AttemptedPWDAccesses |
unsigned int | PasswordGuessed |
int | ErrorCode |
MCP2210 status definition
unsigned int ChipStatusDef::AttemptedPWDAccesses |
Attempted password accesses informs the USB host on how many times the NVRAM password was tried
The error code returned
unsigned int ChipStatusDef::PasswordGuessed |
Whether the password was guessed
0x00: password not guessed 0x01: password guessed
unsigned int ChipStatusDef::SPIBusCurrentOwner |
SPI bus current owner
0x00: no owner 0x01: USB bridge 0x02: External master
unsigned int ChipStatusDef::SPIBusReleaseExtReqStat |
SPI bus release external request status
0x01: no external request for SPI bus release 0x00: pending external request for SPI bus release