Kenji Arai / 6180XA1_simple

Dependents:   Check_VL6180XA1_ToF

Fork of X_NUCLEO_6180XA1 by ST

Embed: (wiki syntax)

« Back to documentation index

IntrStatus_u Union Reference

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.