Skip to content

interrupt-on-change feature by setting INTCON register not working  #36

Open
@varun-s

Description

@varun-s

Using the MCP23017 to capture push button press.

Configuration:
mcp.interrupt_enable = 0xFF00 #interrupts enabled on port B
mcp.interrupt_configuration = 0xFF00 # Port B bits set, so corresponding I/O pin should be compared to DEFVAL register
mcp.default_value = 0x0000

Expected behavior :
interrupt should only be triggered when the button is pushed

Actual:
Interrupts are generated on both button push and 'pull' edges

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions