All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches

PCF857X device data structure type. More...

Detailed Description

PCF857X device data structure type.

Definition at line 414 of file pcf857x.h.

#include <pcf857x.h>

Data Fields

pcf857x_params_t params
 device initialization parameters
 
uint8_t pin_num
 number of I/O pins, depends on used expander variant
 
pcf857x_data_t modes
 expander pin modes
 
pcf857x_data_t in
 expander input pin values
 
pcf857x_data_t out
 expander output pin values
 
gpio_isr_ctx_t isr [PCF857X_GPIO_PIN_NUM]
 ISR with arg for each expander pin.
 
gpio_flank_t flank [PCF857X_GPIO_PIN_NUM]
 interrupt flank for each expander pin
 
bool enabled [PCF857X_GPIO_PIN_NUM]
 enabled flag for each expander pin
 
pcf857x_irq_event_t irq_event
 IRQ event object used for the device.
 

Field Documentation

◆ enabled

bool pcf857x_t::enabled[PCF857X_GPIO_PIN_NUM]

enabled flag for each expander pin

Definition at line 426 of file pcf857x.h.

◆ flank

interrupt flank for each expander pin

Definition at line 425 of file pcf857x.h.

◆ in

pcf857x_data_t pcf857x_t::in

expander input pin values

Definition at line 420 of file pcf857x.h.

◆ irq_event

pcf857x_irq_event_t pcf857x_t::irq_event

IRQ event object used for the device.

Definition at line 427 of file pcf857x.h.

◆ isr

ISR with arg for each expander pin.

Definition at line 424 of file pcf857x.h.

◆ modes

pcf857x_data_t pcf857x_t::modes

expander pin modes

Definition at line 419 of file pcf857x.h.

◆ out

pcf857x_data_t pcf857x_t::out

expander output pin values

Definition at line 421 of file pcf857x.h.

◆ params

pcf857x_params_t pcf857x_t::params

device initialization parameters

Definition at line 415 of file pcf857x.h.

◆ pin_num

uint8_t pcf857x_t::pin_num

number of I/O pins, depends on used expander variant

Definition at line 417 of file pcf857x.h.


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