Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
i2c_smbus_alert_setup Struct Reference

#include <i2c-smbus.h>

Data Fields

unsigned int alert_edge_triggered:1
 
int irq
 

Detailed Description

i2c_smbus_alert_setup - platform data for the smbus_alert i2c client : whether the alert interrupt is edge (1) or level (0) triggered : IRQ number, if the smbus_alert driver should take care of interrupt handling

If irq is not specified, the smbus_alert driver doesn't take care of interrupt handling. In that case it is up to the I2C bus driver to either handle the interrupts or to poll for alerts.

If irq is specified then it it crucial that alert_edge_triggered is properly set.

Definition at line 42 of file i2c-smbus.h.

Field Documentation

unsigned int alert_edge_triggered

Definition at line 43 of file i2c-smbus.h.

int irq

Definition at line 44 of file i2c-smbus.h.


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