Home
last modified time | relevance | path

Searched refs:lsb (Results 1 – 20 of 20) sorted by relevance

/Zephyr-latest/tests/drivers/sensor/ina237/boards/
Dnative_sim.overlay15 current-lsb-microamps = <123>;
25 current-lsb-microamps = <123>;
29 /* high precision mode, maximum current lsb */
35 current-lsb-microamps = <0xffff>;
45 current-lsb-microamps = <0x00ff>;
/Zephyr-latest/arch/arm64/core/
Delf.c197 int lsb = 0; /* LSB of X to be used */ in movw_reloc_handler() local
213 lsb = 16; in movw_reloc_handler()
220 lsb = 32; in movw_reloc_handler()
224 lsb = 48; in movw_reloc_handler()
237 lsb = 16; in movw_reloc_handler()
244 lsb = 32; in movw_reloc_handler()
250 lsb = 48; in movw_reloc_handler()
258 imm = x >> lsb; in movw_reloc_handler()
299 int lsb = 2; /* LSB of X to be used */ in imm_reloc_handler() local
312 lsb = 0; in imm_reloc_handler()
[all …]
/Zephyr-latest/drivers/sensor/bosch/bma280/
Dbma280.c25 uint8_t lsb; in bma280_sample_fetch() local
39 lsb = (buf[0] & BMA280_ACCEL_LSB_MASK) >> BMA280_ACCEL_LSB_SHIFT; in bma280_sample_fetch()
40 drv_data->x_sample = (((int8_t)buf[1]) << BMA280_ACCEL_LSB_BITS) | lsb; in bma280_sample_fetch()
42 lsb = (buf[2] & BMA280_ACCEL_LSB_MASK) >> BMA280_ACCEL_LSB_SHIFT; in bma280_sample_fetch()
43 drv_data->y_sample = (((int8_t)buf[3]) << BMA280_ACCEL_LSB_BITS) | lsb; in bma280_sample_fetch()
45 lsb = (buf[4] & BMA280_ACCEL_LSB_MASK) >> BMA280_ACCEL_LSB_SHIFT; in bma280_sample_fetch()
46 drv_data->z_sample = (((int8_t)buf[5]) << BMA280_ACCEL_LSB_BITS) | lsb; in bma280_sample_fetch()
/Zephyr-latest/tests/drivers/sensor/adltc2990/src/
Dmain.c163 uint8_t msb = 0b00000111, lsb = 0b11010000; in ZTEST_F() local
166 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_INTERNAL_TEMP_LSB, &lsb); in ZTEST_F()
174 lsb = 0b10000000; in ZTEST_F()
177 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_INTERNAL_TEMP_LSB, &lsb); in ZTEST_F()
185 uint8_t msb = 0b00000001, lsb = 0b10010001; in ZTEST_F() local
189 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_V3_LSB, &lsb); in ZTEST_F()
216 uint8_t msb = 0b01100000, lsb = 0b00000000; in ZTEST_F() local
219 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_V1_LSB, &lsb); in ZTEST_F()
222 lsb = 0b10001111; in ZTEST_F()
224 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_VCC_LSB, &lsb); in ZTEST_F()
[all …]
/Zephyr-latest/tests/drivers/sensor/ina230/boards/
Dnative_sim.overlay15 current-lsb-microamps = <1000>;
23 current-lsb-microamps = <1000>;
/Zephyr-latest/drivers/sensor/renesas/isl29035/
Disl29035.c27 uint8_t msb, lsb; in isl29035_sample_fetch() local
37 &lsb) < 0) { in isl29035_sample_fetch()
41 drv_data->data_sample = (msb << 8) + lsb; in isl29035_sample_fetch()
/Zephyr-latest/drivers/ethernet/
Deth_smsc911x_priv.h43 #define GET_BITFIELD(val, lsb, msb) \ argument
44 (((val) >> (lsb)) & ((1 << ((msb) - (lsb) + 1)) - 1))
Deth_enc28j60.c305 uint8_t lsb; in eth_enc28j60_read_phy() local
323 eth_enc28j60_read_reg(dev, ENC28J60_REG_MIRDL, &lsb); in eth_enc28j60_read_phy()
326 *data = (msb << 8) | lsb; in eth_enc28j60_read_phy()
/Zephyr-latest/boards/shields/waveshare_ups/
Dwaveshare_pico_ups_b.overlay17 lsb-microamp = <20>;
/Zephyr-latest/samples/sensor/ina219/boards/
Dblackpill_f411ce.overlay21 lsb-microamp = <10>;
/Zephyr-latest/drivers/sensor/bosch/bmi323/
Dbmi323.c94 static int64_t bosch_bmi323_value_to_micro(int16_t value, int32_t lsb) in bosch_bmi323_value_to_micro() argument
96 return ((int64_t)value) * lsb; in bosch_bmi323_value_to_micro()
101 int32_t lsb) in bosch_bmi323_value_to_sensor_value() argument
103 int64_t ll_value = (int64_t)value * lsb; in bosch_bmi323_value_to_sensor_value()
898 int32_t lsb; in bosch_bmi323_driver_api_fetch_acc_samples() local
922 lsb = bosch_bmi323_lsb_from_fullscale(data->acc_full_scale); in bosch_bmi323_driver_api_fetch_acc_samples()
925 bosch_bmi323_value_to_sensor_value(&data->acc_samples[2], buf[2], lsb); in bosch_bmi323_driver_api_fetch_acc_samples()
926 bosch_bmi323_value_to_sensor_value(&data->acc_samples[1], buf[1], lsb); in bosch_bmi323_driver_api_fetch_acc_samples()
927 bosch_bmi323_value_to_sensor_value(&data->acc_samples[0], buf[0], lsb); in bosch_bmi323_driver_api_fetch_acc_samples()
940 int32_t lsb; in bosch_bmi323_driver_api_fetch_gyro_samples() local
[all …]
/Zephyr-latest/boards/nordic/nrf5340_audio_dk/
Dnrf5340_audio_dk_nrf5340_cpuapp_common.dtsi165 current-lsb-microamps = <1>;
176 current-lsb-microamps = <1>;
187 current-lsb-microamps = <1>;
198 current-lsb-microamps = <1>;
/Zephyr-latest/drivers/sensor/bosch/bme680/
Dbme680.h169 #define BME680_CONCAT_BYTES(msb, lsb) (((uint16_t)msb << 8) | (uint16_t)lsb) argument
/Zephyr-latest/drivers/spi/
Dspi_bitbang.c127 bool lsb = false; in spi_bitbang_transceive() local
139 lsb = true; in spi_bitbang_transceive()
173 const int shift = lsb ? i : (data->bits - 1 - i); in spi_bitbang_transceive()
Dspi_nxp_s32.c270 bool lsb, hold_cs; in spi_nxp_s32_configure() local
294 lsb = !!(spi_cfg->operation & SPI_TRANSFER_LSB); in spi_nxp_s32_configure()
310 if (slave_mode && lsb) { in spi_nxp_s32_configure()
370 Spi_Ip_UpdateLsb(&data->transfer_cfg, lsb); in spi_nxp_s32_configure()
378 clk_polarity, clk_phase, lsb, frame_size); in spi_nxp_s32_configure()
384 lsb, hold_cs, frame_size, spi_cfg->slave); in spi_nxp_s32_configure()
Dspi_rpi_pico_pio.c204 bool lsb = false; in spi_pico_pio_configure() local
236 lsb = true; in spi_pico_pio_configure()
323 sm_config_set_in_shift(&sm_config, lsb, true, data->bits); in spi_pico_pio_configure()
325 sm_config_set_out_shift(&sm_config, lsb, false, data->bits); in spi_pico_pio_configure()
393 sm_config_set_in_shift(&sm_config, lsb, true, data->bits); in spi_pico_pio_configure()
395 sm_config_set_out_shift(&sm_config, lsb, true, data->bits); in spi_pico_pio_configure()
/Zephyr-latest/tests/drivers/build_all/sensor/
Di2c.dtsi155 lsb-microamp = <10>;
594 current-lsb-microamps = <1000>;
610 current-lsb-microamps = <1000>;
620 current-lsb-microamps = <1000>;
1017 current-lsb-microamps = <5000>;
1160 current-lsb-microamps = <1000>;
/Zephyr-latest/boards/st/stm32g071b_disco/
Dstm32g071b_disco.dts151 current-lsb-microamps = <1000>;
/Zephyr-latest/drivers/sensor/nordic/npm1300_charger/
Dnpm1300_charger.c188 static uint16_t adc_get_res(uint8_t msb, uint8_t lsb, uint16_t lsb_shift) in adc_get_res() argument
190 return ((uint16_t)msb << ADC_MSB_SHIFT) | ((lsb >> lsb_shift) & ADC_LSB_MASK); in adc_get_res()
/Zephyr-latest/doc/releases/
Drelease-notes-3.3.rst1948 - new property: ``current-lsb-microamps``
1952 - removed property: ``current-lsb``
1957 - new property: ``current-lsb-microamps``
1961 - removed property: ``current-lsb``