jvsveml6070
Version:
Node.js package for the Vishay VEML6070 UVA Light Sensor, written in TypeScript.
39 lines (38 loc) • 1.22 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CommandRegisterBit = void 0;
var CommandRegisterBit;
(function (CommandRegisterBit) {
/**
* Shutdown mode setting.
*/
CommandRegisterBit[CommandRegisterBit["SD"] = 0] = "SD";
/**
* Reserved.
*/
CommandRegisterBit[CommandRegisterBit["RESERVED_0"] = 1] = "RESERVED_0";
/**
* Integration time setting (first bit).
*/
CommandRegisterBit[CommandRegisterBit["IT_0"] = 2] = "IT_0";
/**
* Integration time setting (second bit).
*/
CommandRegisterBit[CommandRegisterBit["IT_1"] = 3] = "IT_1";
/**
* Acknowledge threshold window setting for byte mode usage.
*/
CommandRegisterBit[CommandRegisterBit["ACK_THD"] = 4] = "ACK_THD";
/**
* Acknowledge activity setting.
*/
CommandRegisterBit[CommandRegisterBit["ACK"] = 5] = "ACK";
/**
* Reserved.
*/
CommandRegisterBit[CommandRegisterBit["RESERVED_1"] = 6] = "RESERVED_1";
/**
* Reserved.
*/
CommandRegisterBit[CommandRegisterBit["RESERVED_2"] = 7] = "RESERVED_2";
})(CommandRegisterBit = exports.CommandRegisterBit || (exports.CommandRegisterBit = {}));