Skip to main content

Enum Mcp4728.ChannelSettings

Enumeration for Channel settings

Assembly: Mcp4728.dll
View Source
Declaration
[Flags]
public enum Mcp4728.ChannelSettings : byte

Fields

ExternalVRef

External VRef

View Source
Declaration
ExternalVRef = 0

InternalVRef

Internal VRef 2.048V

View Source
Declaration
InternalVRef = 128

ModeNormal

Normal Operation

View Source
Declaration
ModeNormal = 0

ModePowerDown1k

PowerDown, 1kOhm load

View Source
Declaration
ModePowerDown1k = 32

ModePowerDown100k

PowerDown, 100kOhm load

View Source
Declaration
ModePowerDown100k = 64

ModePowerDown500k

PowerDown, 500kOhm load

View Source
Declaration
ModePowerDown500k = ModePowerDown1k | ModePowerDown100k

OutputGain1x

1x gain

View Source
Declaration
OutputGain1x = 0

OutputGain2x

2x gain, only applies for Internal VRef

View Source
Declaration
OutputGain2x = 16