SI114X_IRQ_SAMPLE Struct ReferenceKit Drivers > Si114x
Si114x Sample Data Structure.
The SI114X_IRQ_SAMPLE Data is populated within a low-level interrupt handler.
sequence is not directly from the Si113x/4x, but rather, the low-level interrupt handler can increment a rolling counter whenever a sample is made. sequence is provided a convenience to upper software layers.
timestamp is not from the Si113x/4x directly. The low_level interrupt handler is expected to use any convenient time reference associated with the sample. This will allow the upper layers to have a sense of time.
irqstat , vis , ir , ps1 , ps2 , ps3 and aux are directly from the Si113x/4x. Beginning with irqstat , these members are roughly in the order of I2C Registers 0x21 to 0x2D.
- Note
- ps1 , ps2 and ps3 are not used by the Si1132.
- Si1132 reports UVINDEX in aux .
       Definition at line
       
        85
       
       of file
       
        si114x_types.h
       
       .
      
      
       #include <
       
     
        si114x_types.h
       
       >
      
| Data Fields | |
| uint16_t | aux | 
| uint16_t | ir | 
| uint8_t | irqstat | 
| uint8_t | pad | 
| uint16_t | ps1 | 
| uint16_t | ps2 | 
| uint16_t | ps3 | 
| uint16_t | sequence | 
| uint16_t | timestamp | 
| uint16_t | vis | 
Field Documentation
| uint16_t SI114X_IRQ_SAMPLE::aux | 
| uint16_t SI114X_IRQ_SAMPLE::ir | 
| uint8_t SI114X_IRQ_SAMPLE::irqstat | 
| uint8_t SI114X_IRQ_SAMPLE::pad | 
| uint16_t SI114X_IRQ_SAMPLE::ps1 | 
| uint16_t SI114X_IRQ_SAMPLE::ps2 | 
| uint16_t SI114X_IRQ_SAMPLE::ps3 | 
| uint16_t SI114X_IRQ_SAMPLE::sequence | 
| uint16_t SI114X_IRQ_SAMPLE::timestamp | 
16-bit Timestamp to record
        Definition at line
        
         87
        
        of file
        
         si114x_types.h
        
        .
       
Referenced by Si114xProcessIrq() .
| uint16_t SI114X_IRQ_SAMPLE::vis | 
The documentation for this struct was generated from the following file:
- 
       C:/repos/super_h1/hardware/kit/common/drivers/
       si114x_types.h