src/APDS9930.cpp
uint8_t APDS9930::getMode()
{
    uint8_t enable_value;
    
    /* Read current ENABLE register */
    if( !wireReadDataByte(APDS9930_ENABLE, enable_value) ) {
        return ERROR;
    }
    
    return enable_value;
}
/**
 * @brief Reads and returns the contents of the ENABLE register
 *
 * @return Contents of the ENABLE register. 0xFF if error.
 */
@brief Reads and returns the contents of the ENABLE register
@return Contents of the ENABLE register. 0xFF if error.
@brief Reads and returns the contents of the ENABLE register @return Contents of the ENABLE register . 0xFF if error .
uint8_t APDS9930::getMode()
{
    uint8_t enable_value;
    if( !wireReadDataByte(APDS9930_ENABLE, enable_value) ) {
        return ERROR;
    }
    return enable_value;
}
uint8_t APDS9930 :: getMode ( ) { uint8_t enable_value ; if ( ! wireReadDataByte ( APDS9930_ENABLE , enable_value ) ) { return ERROR ; } return enable_value ; }
@brief Reads and returns the contents of the ENABLE register
 @return Contents of the ENABLE register.
@brief Reads and returns the contents of the ENABLE register @return Contents of the ENABLE register .
/* Read current ENABLE register */