/* Configuration for interrupt operations */ #define ITG3200_REG_IRQ_CONFIG 0x17 /* Logic level */ #define ITG3200_IRQ_ACTIVE_LOW 0x80 #define ITG3200_IRQ_ACTIVE_HIGH 0x00 /* Drive type */ #define ITG3200_IRQ_OPEN_DRAIN 0x40 #define ITG3200_IRQ_PUSH_PULL 0x00 /* Latch mode */ #define ITG3200_IRQ_LATCH_UNTIL_CLEARED 0x20 #define ITG3200_IRQ_LATCH_50US_PULSE 0x00 /* Latch clear method */ #define ITG3200_IRQ_LATCH_CLEAR_ANY 0x10 #define ITG3200_IRQ_LATCH_CLEAR_STATUS 0x00 /* Enable interrupt when device is ready */ #define ITG3200_IRQ_DEVICE_RDY_ENABLE 0x04 /* Enable interrupt when data is available */ #define ITG3200_IRQ_DATA_RDY_ENABLE 0x01
/* Determine the status of ITG-3200 interrupts */ #define ITG3200_REG_IRQ_STATUS 0x1A /* Status of 'device is ready'-interrupt */ #define ITG3200_IRQ_DEVICE_RDY_STATUS 0x04 /* Status of 'data is available'-interrupt */ #define ITG3200_IRQ_DATA_RDY_STATUS 0x01
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.