Home
last modified time | relevance | path

Searched refs:tmp_Byte (Results 1 – 4 of 4) sorted by relevance

/AliOS-Things-master/components/py_engine/framework/
A Dspl06.py101 tmp_Byte = tmp_Byte & 0B00000111;
104 if (tmp_Byte == 0B000):
107 elif (tmp_Byte == 0B001):
110 elif (tmp_Byte == 0B010):
113 elif (tmp_Byte == 0B011):
116 elif (tmp_Byte == 0B100):
119 elif (tmp_Byte == 0B101):
122 elif (tmp_Byte == 0B110):
125 elif (tmp_Byte == 0B111):
134 tmp_Byte = tmp_Byte & 0B00000111; # Focus on 2-0 oversampling rate
[all …]
/AliOS-Things-master/components/amp/modules/
A Dspl06.js136 var tmp_Byte;
137 tmp_Byte = i2c_eeprom_read_var(EEPROM_CHIP_ADDRESS, 0X07); // MSB
139 tmp_Byte = tmp_Byte & 0B00000111;
140 console.log("tmp_Byte: %d\n", tmp_Byte);
142 switch (tmp_Byte) {
183 var tmp_Byte;
184 tmp_Byte = i2c_eeprom_read_var(EEPROM_CHIP_ADDRESS, 0X06); // MSB
186 tmp_Byte = tmp_Byte & 0B00000111; // Focus on 2-0 oversampling rate
190 switch (tmp_Byte) {
/AliOS-Things-master/hardware/board/haaseduk1/drivers/sensor/
A Ddrv_baro_goertek_spl06.c51 uint8_t tmp_Byte; in get_temperature_scale_factor() local
52 tmp_Byte = i2c_eeprom_read_uint8_t(EEPROM_CHIP_ADDRESS, 0X07); // MSB in get_temperature_scale_factor()
54 tmp_Byte = tmp_Byte & 0B00000111; in get_temperature_scale_factor()
57 switch (tmp_Byte) { in get_temperature_scale_factor()
99 uint8_t tmp_Byte; in get_pressure_scale_factor() local
100 tmp_Byte = i2c_eeprom_read_uint8_t(EEPROM_CHIP_ADDRESS, 0X06); // MSB in get_pressure_scale_factor()
102 tmp_Byte = tmp_Byte & 0B00000111; // Focus on 2-0 oversampling rate in get_pressure_scale_factor()
106 switch (tmp_Byte) { in get_pressure_scale_factor()
/AliOS-Things-master/solutions/eduk1_demo/k1_apps/barometer/
A Dbarometer.md219 tmp_Byte = i2c_eeprom_read_uint8_t(EEPROM_CHIP_ADDRESS, 0X07); // MSB
220 tmp_Byte = tmp_Byte & 0B00000111;
222 switch (tmp_Byte)

Completed in 10 milliseconds