Librairie adaptée au laboratoire 2
Dependencies: ST_INTERFACES X_NUCLEO_COMMON
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 602 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 606 of file vl6180x_def.h.
unsigned Error |
Error status of:
RES_INT_ERROR_LASER_SAFETY
RES_INT_ERROR_PLL
Definition at line 607 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 605 of file vl6180x_def.h.
struct { ... } status |
interrupt status as bit field
uint8_t val |
raw 8 bit register value
Definition at line 603 of file vl6180x_def.h.
Generated on Fri Jul 15 2022 16:10:34 by
![doxygen](doxygen.png)