/hal_espressif-3.6.0/components/esp_hw_support/port/esp32s2/ |
D | regi2c_ctrl.c | 114 …_t i2c_rtc_read_reg_mask(uint8_t block, uint8_t host_id, uint8_t reg_add, uint8_t msb, uint8_t lsb) in i2c_rtc_read_reg_mask() argument 116 assert(msb - lsb < 8); in i2c_rtc_read_reg_mask() 124 return (uint8_t)((data >> lsb) & (~(0xFFFFFFFF << (msb - lsb + 1)))); in i2c_rtc_read_reg_mask() 139 …e_reg_mask(uint8_t block, uint8_t host_id, uint8_t reg_add, uint8_t msb, uint8_t lsb, uint8_t data) in i2c_rtc_write_reg_mask() argument 141 assert(msb - lsb < 8); in i2c_rtc_write_reg_mask() 151 temp &= ((~(0xFFFFFFFF << lsb)) | (0xFFFFFFFF << (msb + 1))); in i2c_rtc_write_reg_mask() 152 temp = (((uint32_t)data & (~(0xFFFFFFFF << (msb - lsb + 1)))) << lsb) | temp; in i2c_rtc_write_reg_mask()
|
D | regi2c_ctrl.h | 35 …t i2c_rtc_read_reg_mask(uint8_t block, uint8_t host_id, uint8_t reg_add, uint8_t msb, uint8_t lsb); 37 …_reg_mask(uint8_t block, uint8_t host_id, uint8_t reg_add, uint8_t msb, uint8_t lsb, uint8_t data); 59 …gi2c_ctrl_read_reg_mask(uint8_t block, uint8_t host_id, uint8_t reg_add, uint8_t msb, uint8_t lsb); 61 …_reg_mask(uint8_t block, uint8_t host_id, uint8_t reg_add, uint8_t msb, uint8_t lsb, uint8_t data);
|
/hal_espressif-3.6.0/components/esp_hw_support/ |
D | regi2c_ctrl.c | 25 …egi2c_ctrl_read_reg_mask(uint8_t block, uint8_t host_id, uint8_t reg_add, uint8_t msb, uint8_t lsb) in regi2c_ctrl_read_reg_mask() argument 28 uint8_t value = i2c_read_reg_mask_raw(block, host_id, reg_add, msb, lsb); in regi2c_ctrl_read_reg_mask() 40 …e_reg_mask(uint8_t block, uint8_t host_id, uint8_t reg_add, uint8_t msb, uint8_t lsb, uint8_t data) in regi2c_ctrl_write_reg_mask() argument 43 i2c_write_reg_mask_raw(block, host_id, reg_add, msb, lsb, data); in regi2c_ctrl_write_reg_mask()
|
/hal_espressif-3.6.0/components/esp_hw_support/port/esp32/ |
D | regi2c_ctrl.h | 28 …_t rom_i2c_readReg_Mask(uint8_t block, uint8_t host_id, uint8_t reg_add, uint8_t msb, uint8_t lsb); 30 …eReg_Mask(uint8_t block, uint8_t host_id, uint8_t reg_add, uint8_t msb, uint8_t lsb, uint8_t data); 51 …gi2c_ctrl_read_reg_mask(uint8_t block, uint8_t host_id, uint8_t reg_add, uint8_t msb, uint8_t lsb); 53 …_reg_mask(uint8_t block, uint8_t host_id, uint8_t reg_add, uint8_t msb, uint8_t lsb, uint8_t data);
|
/hal_espressif-3.6.0/components/esp_hw_support/port/esp32c3/ |
D | regi2c_ctrl.h | 41 …_t rom_i2c_readReg_Mask(uint8_t block, uint8_t host_id, uint8_t reg_add, uint8_t msb, uint8_t lsb); 43 …eReg_Mask(uint8_t block, uint8_t host_id, uint8_t reg_add, uint8_t msb, uint8_t lsb, uint8_t data); 64 …gi2c_ctrl_read_reg_mask(uint8_t block, uint8_t host_id, uint8_t reg_add, uint8_t msb, uint8_t lsb); 66 …_reg_mask(uint8_t block, uint8_t host_id, uint8_t reg_add, uint8_t msb, uint8_t lsb, uint8_t data);
|
D | i2c_rtc_clk.h | 23 …_t rom_i2c_readReg_Mask(uint8_t block, uint8_t host_id, uint8_t reg_add, uint8_t msb, uint8_t lsb); 25 …eReg_Mask(uint8_t block, uint8_t host_id, uint8_t reg_add, uint8_t msb, uint8_t lsb, uint8_t data);
|
/hal_espressif-3.6.0/components/esp_hw_support/port/esp32h2/ |
D | regi2c_ctrl.h | 55 …_t rom_i2c_readReg_Mask(uint8_t block, uint8_t host_id, uint8_t reg_add, uint8_t msb, uint8_t lsb); 57 …eReg_Mask(uint8_t block, uint8_t host_id, uint8_t reg_add, uint8_t msb, uint8_t lsb, uint8_t data); 78 …gi2c_ctrl_read_reg_mask(uint8_t block, uint8_t host_id, uint8_t reg_add, uint8_t msb, uint8_t lsb); 80 …_reg_mask(uint8_t block, uint8_t host_id, uint8_t reg_add, uint8_t msb, uint8_t lsb, uint8_t data);
|
D | i2c_rtc_clk.h | 23 …_t rom_i2c_readReg_Mask(uint8_t block, uint8_t host_id, uint8_t reg_add, uint8_t msb, uint8_t lsb); 25 …eReg_Mask(uint8_t block, uint8_t host_id, uint8_t reg_add, uint8_t msb, uint8_t lsb, uint8_t data);
|
/hal_espressif-3.6.0/components/esp_hw_support/port/esp32s3/ |
D | regi2c_ctrl.h | 39 …_t rom_i2c_readReg_Mask(uint8_t block, uint8_t host_id, uint8_t reg_add, uint8_t msb, uint8_t lsb); 41 …eReg_Mask(uint8_t block, uint8_t host_id, uint8_t reg_add, uint8_t msb, uint8_t lsb, uint8_t data); 62 …gi2c_ctrl_read_reg_mask(uint8_t block, uint8_t host_id, uint8_t reg_add, uint8_t msb, uint8_t lsb); 64 …_reg_mask(uint8_t block, uint8_t host_id, uint8_t reg_add, uint8_t msb, uint8_t lsb, uint8_t data);
|
/hal_espressif-3.6.0/examples/cxx/experimental/sensor_mcp9808/main/ |
D | sensor_mcp9808.cpp | 26 float calc_temp(uint8_t msb, uint8_t lsb) { in calc_temp() argument 32 temperature = 256 - (msb * 16 + (float) lsb / 16); in calc_temp() 34 temperature = (msb * 16 + (float) lsb / 16); in calc_temp()
|
/hal_espressif-3.6.0/components/hal/esp32h2/include/hal/ |
D | adc_ll.h | 666 uint8_t lsb = param & 0xFF; in adc_ll_set_calibration_param() local 669 REGI2C_WRITE_MASK(I2C_SAR_ADC, ADC_SAR1_INITIAL_CODE_LOW_ADDR, lsb); in adc_ll_set_calibration_param() 672 REGI2C_WRITE_MASK(I2C_SAR_ADC, ADC_SAR2_INITIAL_CODE_LOW_ADDR, lsb); in adc_ll_set_calibration_param()
|
/hal_espressif-3.6.0/components/hal/esp32c3/include/hal/ |
D | adc_ll.h | 666 uint8_t lsb = param & 0xFF; in adc_ll_set_calibration_param() local 669 REGI2C_WRITE_MASK(I2C_SAR_ADC, ADC_SAR1_INITIAL_CODE_LOW_ADDR, lsb); in adc_ll_set_calibration_param() 672 REGI2C_WRITE_MASK(I2C_SAR_ADC, ADC_SAR2_INITIAL_CODE_LOW_ADDR, lsb); in adc_ll_set_calibration_param()
|
/hal_espressif-3.6.0/components/hal/esp32s3/include/hal/ |
D | adc_ll.h | 761 uint8_t lsb = param & 0xFF; in adc_ll_set_calibration_param() local 764 REGI2C_WRITE_MASK(I2C_SAR_ADC, ADC_SAR1_INITIAL_CODE_LOW_ADDR, lsb); in adc_ll_set_calibration_param() 767 REGI2C_WRITE_MASK(I2C_SAR_ADC, ADC_SAR2_INITIAL_CODE_LOW_ADDR, lsb); in adc_ll_set_calibration_param()
|
/hal_espressif-3.6.0/components/hal/esp32s2/include/hal/ |
D | adc_ll.h | 1087 uint8_t lsb = param & 0xFF; in adc_ll_set_calibration_param() local 1095 REGI2C_WRITE_MASK(I2C_SAR_ADC, ADC_SAR1_INITIAL_CODE_LOW_ADDR, lsb); in adc_ll_set_calibration_param() 1098 REGI2C_WRITE_MASK(I2C_SAR_ADC, ADC_SAR2_INITIAL_CODE_LOW_ADDR, lsb); in adc_ll_set_calibration_param()
|
/hal_espressif-3.6.0/components/esptool_py/esptool/espefuse/efuse/esp32/ |
D | fields.py | 346 lsb = result & 1 348 if lsb != 0:
|
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_models/server/ |
D | lighting_server.c | 2643 uint16_t lsb = net_buf_simple_pull_le16(buf); in light_lc_sensor_status() local 2645 srv->lc->state.ambient_luxlevel = (msb << 16) | lsb; in light_lc_sensor_status()
|