Searched refs:le16_buffer (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/drivers/sensor/ams/tsl2540/ |
D | tsl2540.c | 38 uint16_t le16_buffer; in tsl2540_sample_fetch() local 41 (uint8_t *)&le16_buffer, sizeof(le16_buffer)); in tsl2540_sample_fetch() 48 data->count_vis = sys_le16_to_cpu(le16_buffer); in tsl2540_sample_fetch() 52 uint16_t le16_buffer; in tsl2540_sample_fetch() local 54 ret = i2c_burst_read_dt(&cfg->i2c_spec, TSL2540_REG_IR_LOW, (uint8_t *)&le16_buffer, in tsl2540_sample_fetch() 55 sizeof(le16_buffer)); in tsl2540_sample_fetch() 62 data->count_ir = sys_le16_to_cpu(le16_buffer); in tsl2540_sample_fetch() 176 uint16_t thld, le16_buffer; in tsl2540_attr_set() local 185 le16_buffer = sys_cpu_to_le16(thld); in tsl2540_attr_set() 188 TSL2540_REG_AIHT_LOW, (uint8_t *)&le16_buffer, sizeof(le16_buffer)); in tsl2540_attr_set() [all …]
|
/Zephyr-latest/drivers/sensor/ens160/ |
D | ens160.c | 93 uint16_t le16_buffer; in ens160_sample_fetch() local 105 ret = data->tf->read_data(dev, ENS160_REG_DATA_ECO2, (uint8_t *)&le16_buffer, in ens160_sample_fetch() 106 sizeof(le16_buffer)); in ens160_sample_fetch() 112 data->eco2 = sys_le16_to_cpu(le16_buffer); in ens160_sample_fetch() 114 ret = data->tf->read_data(dev, ENS160_REG_DATA_TVOC, (uint8_t *)&le16_buffer, in ens160_sample_fetch() 115 sizeof(le16_buffer)); in ens160_sample_fetch() 121 data->tvoc = sys_le16_to_cpu(le16_buffer); in ens160_sample_fetch()
|