Loading...
Searching...
No Matches

Device descriptor for MCP23x17 I/O expanders. More...

Detailed Description

Device descriptor for MCP23x17 I/O expanders.

Definition at line 514 of file mcp23x17.h.

#include <mcp23x17.h>

Data Fields

mcp23x17_params_t params
 Device initialization parameters.
 
uint16_t od_pins
 Pins defined as GPIO_OD or GPIO_OD_PU.
 
gpio_isr_ctx_t isr [MCP23X17_GPIO_PIN_NUM]
 ISR with arg for each expander pin.
 
gpio_flank_t flank [MCP23X17_GPIO_PIN_NUM]
 interrupt flank for each expander pin
 
mcp23x17_irq_event_t irq_event
 IRQ event object used for the device.
 

Field Documentation

◆ flank

gpio_flank_t mcp23x17_t::flank[MCP23X17_GPIO_PIN_NUM]

interrupt flank for each expander pin

Definition at line 521 of file mcp23x17.h.

◆ irq_event

mcp23x17_irq_event_t mcp23x17_t::irq_event

IRQ event object used for the device.

Definition at line 523 of file mcp23x17.h.

◆ isr

ISR with arg for each expander pin.

Definition at line 520 of file mcp23x17.h.

◆ od_pins

uint16_t mcp23x17_t::od_pins

Pins defined as GPIO_OD or GPIO_OD_PU.

Definition at line 517 of file mcp23x17.h.

◆ params

mcp23x17_params_t mcp23x17_t::params

Device initialization parameters.

Definition at line 515 of file mcp23x17.h.


The documentation for this struct was generated from the following file: