Searched refs:msb (Results 1 – 9 of 9) sorted by relevance
/Zephyr-latest/tests/drivers/sensor/adltc2990/src/ |
D | main.c | 163 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/ |
D | isl29035.c | 27 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/ |
D | eth_smsc911x_priv.h | 43 #define GET_BITFIELD(val, lsb, msb) \ argument 44 (((val) >> (lsb)) & ((1 << ((msb) - (lsb) + 1)) - 1))
|
D | eth_enc28j60.c | 306 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/ |
D | bme680.h | 169 #define BME680_CONCAT_BYTES(msb, lsb) (((uint16_t)msb << 8) | (uint16_t)lsb) argument
|
/Zephyr-latest/drivers/display/ |
D | mb_display.c | 49 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/ |
D | i3c_mcux.c | 113 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()
|
D | i3c_npcx.c | 246 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/ |
D | npm1300_charger.c | 188 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()
|