Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Check_VL6180XA1_ToF
Fork of X_NUCLEO_6180XA1 by
IntrStatus_u Union Reference
[Device registers & masks definitions]
  these union can be use as a generic bit field type for map RESULT_INTERRUPT_STATUS_GPIO register More...
#include <vl6180x_def.h>
| Data Fields | |
| uint8_t | val | 
| struct { | |
| unsigned Range:3 | |
| unsigned Als:3 | |
| unsigned Error:2 | |
| } | status | 
Detailed Description
these union can be use as a generic bit field type for map RESULT_INTERRUPT_STATUS_GPIO register
Definition at line 552 of file vl6180x_def.h.
Field Documentation
| unsigned Als | 
Als status one of: 
 RES_INT_STAT_GPIO_LOW_LEVEL_THRESHOLD 
 RES_INT_STAT_GPIO_HIGH_LEVEL_THRESHOLD 
 RES_INT_STAT_GPIO_OUT_OF_WINDOW 
 RES_INT_STAT_GPIO_NEW_SAMPLE_READY 
Definition at line 556 of file vl6180x_def.h.
| unsigned Error | 
Error status of: 
 RES_INT_ERROR_LASER_SAFETY 
 RES_INT_ERROR_PLL 
Definition at line 557 of file vl6180x_def.h.
| unsigned Range | 
Range status one of :
 RES_INT_STAT_GPIO_LOW_LEVEL_THRESHOLD 
 RES_INT_STAT_GPIO_HIGH_LEVEL_THRESHOLD 
 RES_INT_STAT_GPIO_OUT_OF_WINDOW 
 RES_INT_STAT_GPIO_NEW_SAMPLE_READY 
Definition at line 555 of file vl6180x_def.h.
| struct { ... } status | 
interrupt status as bit field
| uint8_t val | 
raw 8 bit register value
Definition at line 553 of file vl6180x_def.h.
Generated on Tue Jul 12 2022 22:24:22 by
 1.7.2
 1.7.2 
    