Code petit robot

Dependencies:   X_NUCLEO_COMMON X_NUCLEO_IHM01A1 mbed

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 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.