Skip to content

8/16-bit I/O Expander (mcp23) with advanced features

License

Notifications You must be signed in to change notification settings

johntalton/mcp23

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microchip I/O Expander

npm Version GitHub package.json version CI GitHub Downloads Per Month GitHub last commit

A Feature rich general I/O chip available in single port (8-bit) and dual port (16-bit) packages.

Banks and sequential mode

The chip has four operational mode in which registers can be read/written.

  • Interlaced Block
  • Dual Block
  • 8-bit Poll
  • 16-bit Poll

The library exposes methods that are specific for each mode, and is the callers responsibility to validate mode settings. This affords reduced call overhead (no validation of mode) when operation are done in a stable mode environment.