Home
last modified time | relevance | path

Searched refs:msb (Results 1 – 9 of 9) sorted by relevance

/Zephyr-latest/tests/drivers/sensor/adltc2990/src/
Dmain.c163 uint8_t msb = 0b00000111, lsb = 0b11010000; in ZTEST_F() local
165 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_INTERNAL_TEMP_MSB, &msb); in ZTEST_F()
173 msb = 0b00011101; in ZTEST_F()
176 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_INTERNAL_TEMP_MSB, &msb); in ZTEST_F()
185 uint8_t msb = 0b00000001, lsb = 0b10010001; in ZTEST_F() local
188 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_V3_MSB, &msb); in ZTEST_F()
216 uint8_t msb = 0b01100000, lsb = 0b00000000; in ZTEST_F() local
218 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_V1_MSB, &msb); in ZTEST_F()
221 msb = 0b00000010; in ZTEST_F()
223 adltc2990_emul_set_reg(fixture->target, ADLTC2990_REG_VCC_MSB, &msb); in ZTEST_F()
[all …]
/Zephyr-latest/drivers/sensor/renesas/isl29035/
Disl29035.c27 uint8_t msb, lsb; in isl29035_sample_fetch() local
32 ISL29035_DATA_MSB_REG, &msb) < 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.c306 uint8_t msb; in eth_enc28j60_read_phy() local
324 eth_enc28j60_read_reg(dev, ENC28J60_REG_MIRDH, &msb); in eth_enc28j60_read_phy()
326 *data = (msb << 8) | lsb; in eth_enc28j60_read_phy()
/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/display/
Dmb_display.c49 msb:1; /* MSB represents the first pixel */ member
91 if (disp->msb) { in update_content()
378 disp->msb = 1U; in mb_display_init()
/Zephyr-latest/drivers/i3c/
Di3c_mcux.c113 bool msb; member
1611 if (!data->ibi.msb) { in mcux_i3c_ibi_rules_setup()
1635 bool msb, has_mandatory_byte; in mcux_i3c_ibi_enable() local
1663 msb = (target->dynamic_addr & BIT(6)) == BIT(6); in mcux_i3c_ibi_enable()
1686 if (msb != data->ibi.msb) { in mcux_i3c_ibi_enable()
1709 data->ibi.msb = msb; in mcux_i3c_ibi_enable()
Di3c_npcx.c246 bool msb; member
1745 if (!data->ibi.msb) { in npcx_i3c_ibi_rules_setup()
1768 bool msb, has_mandatory_byte; in npcx_i3c_ibi_enable() local
1796 msb = (target->dynamic_addr & BIT(6)) == BIT(6); /* Check addess(7-bit) MSB enable */ in npcx_i3c_ibi_enable()
1816 (msb != data->ibi.msb)) { in npcx_i3c_ibi_enable()
1842 data->ibi.msb = msb; in npcx_i3c_ibi_enable()
/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()