Edit

Share via


BankStyle Enum

Definition

The MCP28XXX family has an address mapping concept for accessing registers. This provides a way to easily address registers by group or type. This is only relevant for 16-bit devices where it has two banks (Port A and B) of 8-bit GPIO pins.

public enum BankStyle
type BankStyle = 
Public Enum BankStyle
Inheritance
BankStyle

Fields

Name Value Description
Sequential 0

This mode is used specifically for 16-bit devices where it treats the two 8-bit banks as one 16-bit bank.

Separated 1

This mode keeps the two 8-bit banks registers separate.

Applies to