Home
last modified time | relevance | path

Searched refs:bit_width (Results 1 – 23 of 23) sorted by relevance

/hal_espressif-3.4.0/components/soc/esp32s2/include/soc/
Dsoc_ulp.h32 #define READ_RTC_REG(rtc_reg, low_bit, bit_width) \ argument
33 REG_RD (((rtc_reg) - DR_REG_RTCCNTL_BASE) / 4), ((low_bit) + (bit_width) - 1), (low_bit)
36 #define WRITE_RTC_REG(rtc_reg, low_bit, bit_width, value) \ argument
37 …REG_WR (((rtc_reg) - DR_REG_RTCCNTL_BASE) / 4), ((low_bit) + (bit_width) - 1), (low_bit), ((value)…
/hal_espressif-3.4.0/components/soc/esp32s3/include/soc/
Dsoc_ulp.h32 #define READ_RTC_REG(rtc_reg, low_bit, bit_width) \ argument
33 REG_RD (((rtc_reg) - DR_REG_RTCCNTL_BASE) / 4), ((low_bit) + (bit_width) - 1), (low_bit)
36 #define WRITE_RTC_REG(rtc_reg, low_bit, bit_width, value) \ argument
37 …REG_WR (((rtc_reg) - DR_REG_RTCCNTL_BASE) / 4), ((low_bit) + (bit_width) - 1), (low_bit), ((value)…
/hal_espressif-3.4.0/components/soc/esp32/include/soc/
Dsoc_ulp.h32 #define READ_RTC_REG(rtc_reg, low_bit, bit_width) \ argument
33 REG_RD (((rtc_reg) - DR_REG_RTCCNTL_BASE) / 4), ((low_bit) + (bit_width) - 1), (low_bit)
36 #define WRITE_RTC_REG(rtc_reg, low_bit, bit_width, value) \ argument
37 …REG_WR (((rtc_reg) - DR_REG_RTCCNTL_BASE) / 4), ((low_bit) + (bit_width) - 1), (low_bit), ((value)…
/hal_espressif-3.4.0/components/hal/esp32/include/hal/
Dadc_ll.h67 uint8_t bit_width: 2; //ADC resolution. 0: 9 bit; 1: 10 bit; 2: 11 bit; 3: 12 bit member
238 uint8_t bit_width; in adc_ll_digi_set_pattern_table() local
240 switch (table.bit_width) { in adc_ll_digi_set_pattern_table()
242 bit_width = 0x0; in adc_ll_digi_set_pattern_table()
245 bit_width = 0x1; in adc_ll_digi_set_pattern_table()
248 bit_width = 0x2; in adc_ll_digi_set_pattern_table()
251 bit_width = 0x3; in adc_ll_digi_set_pattern_table()
254 bit_width = 0x3; in adc_ll_digi_set_pattern_table()
256 pattern.val = (table.atten & 0x3) | ((bit_width) << 2) | ((table.channel & 0xF) << 4); in adc_ll_digi_set_pattern_table()
/hal_espressif-3.4.0/zephyr/esp32c3/src/esp_adc_cal/
Desp_adc_cal.c126 adc_bits_width_t bit_width, in esp_adc_cal_characterize() argument
139 if (bit_width != ADC_WIDTH_BIT_12) { in esp_adc_cal_characterize()
164 chars->bit_width = bit_width; in esp_adc_cal_characterize()
/hal_espressif-3.4.0/components/esp_adc_cal/esp32c3/
Desp_adc_cal.c122 adc_bits_width_t bit_width, in esp_adc_cal_characterize() argument
131 …ESP_RETURN_ON_FALSE(bit_width == ADC_WIDTH_BIT_12, ESP_ADC_CAL_VAL_NOT_SUPPORTED, LOG_TAG, "Invali… in esp_adc_cal_characterize()
151 chars->bit_width = bit_width; in esp_adc_cal_characterize()
/hal_espressif-3.4.0/components/esp_adc_cal/esp32s2/
Desp_adc_cal.c164 adc_bits_width_t bit_width, in esp_adc_cal_characterize() argument
173 assert(bit_width == ADC_WIDTH_BIT_13); in esp_adc_cal_characterize()
185 chars->bit_width = bit_width; in esp_adc_cal_characterize()
/hal_espressif-3.4.0/zephyr/esp32s2/src/esp_adc_cal/
Desp_adc_cal.c163 adc_bits_width_t bit_width, in esp_adc_cal_characterize() argument
172 assert(bit_width == ADC_WIDTH_BIT_13); in esp_adc_cal_characterize()
184 chars->bit_width = bit_width; in esp_adc_cal_characterize()
/hal_espressif-3.4.0/components/esp_adc_cal/esp32/
Desp_adc_cal.c285 adc_bits_width_t bit_width, in esp_adc_cal_characterize() argument
292 assert(bit_width < ADC_WIDTH_MAX); in esp_adc_cal_characterize()
319 chars->bit_width = bit_width; in esp_adc_cal_characterize()
337 adc_reading = (adc_reading << (ADC_WIDTH_BIT_12 - chars->bit_width)); in esp_adc_cal_raw_to_voltage()
/hal_espressif-3.4.0/zephyr/esp32/src/esp_adc_cal/
Desp_adc_cal.c284 adc_bits_width_t bit_width, in esp_adc_cal_characterize() argument
291 assert(bit_width < ADC_WIDTH_MAX); in esp_adc_cal_characterize()
318 chars->bit_width = bit_width; in esp_adc_cal_characterize()
336 adc_reading = (adc_reading << (ADC_WIDTH_BIT_12 - chars->bit_width)); in esp_adc_cal_raw_to_voltage()
/hal_espressif-3.4.0/components/esp_adc_cal/esp32s3/
Desp_adc_cal.c128 adc_bits_width_t bit_width, in esp_adc_cal_characterize() argument
152 chars->bit_width = bit_width; in esp_adc_cal_characterize()
/hal_espressif-3.4.0/components/esp_adc_cal/include/
Desp_adc_cal.h38 adc_bits_width_t bit_width; /**< ADC bit width */ member
90 adc_bits_width_t bit_width,
/hal_espressif-3.4.0/zephyr/esp_shared/components/include/
Desp_adc_cal.h38 adc_bits_width_t bit_width; /**< ADC bit width */ member
90 adc_bits_width_t bit_width,
/hal_espressif-3.4.0/components/driver/include/driver/
Dadc_types_deprecated.h30 uint8_t bit_width: 2; /*!< ADC resolution. member
/hal_espressif-3.4.0/zephyr/esp_shared/components/esp_adc_cal/
Desp_adc_cal_common.c36 ret = adc2_get_raw(channel, chars->bit_width, &adc_reading); in esp_adc_cal_get_voltage()
/hal_espressif-3.4.0/components/esp_adc_cal/
Desp_adc_cal_common.c35 ret = adc2_get_raw(channel, chars->bit_width, &adc_reading); in esp_adc_cal_get_voltage()
/hal_espressif-3.4.0/components/hal/include/hal/
Dadc_types.h105 uint8_t bit_width; ///< ADC output bit width member
Dadc_hal.h93 uint32_t bit_width; //output data width member
/hal_espressif-3.4.0/components/driver/
Dadc.c566 …RETURN_ON_FALSE((config->adc_pattern[i].bit_width >= SOC_ADC_DIGI_MIN_BITWIDTH && config->adc_patt… in adc_digi_controller_configure()
571 …ESP_RETURN_ON_FALSE((config->adc_pattern[i].bit_width == SOC_ADC_DIGI_MAX_BITWIDTH), ESP_ERR_INVAL… in adc_digi_controller_configure()
Dadc_deprecated.c204 adc1_pattern[0].bit_width = DIG_ADC_BIT_WIDTH_DEFUALT; in adc_i2s_mode_init()
211 adc2_pattern[0].bit_width = DIG_ADC_BIT_WIDTH_DEFUALT; in adc_i2s_mode_init()
/hal_espressif-3.4.0/examples/peripherals/adc/dma_read/main/
Dadc_dma_example_main.c85 adc_pattern[i].bit_width = SOC_ADC_DIGI_MAX_BITWIDTH; in continuous_adc_init()
/hal_espressif-3.4.0/docs/en/api-guides/
Dulp_instruction_set.rst907 READ_RTC_REG(rtc_reg, low_bit, bit_width)
908 Read up to 16 bits from rtc_reg[low_bit + bit_width - 1 : low_bit] into R0. For example::
925 WRITE_RTC_REG(rtc_reg, low_bit, bit_width, value)
926 …Write immediate value into rtc_reg[low_bit + bit_width - 1 : low_bit], bit_width <= 8. For example…
Dulps2_instruction_set.rst1066 READ_RTC_REG(rtc_reg, low_bit, bit_width)
1067 Read up to 16 bits from rtc_reg[low_bit + bit_width - 1 : low_bit] into R0. For example::
1084 WRITE_RTC_REG(rtc_reg, low_bit, bit_width, value)
1085 …Write immediate value into rtc_reg[low_bit + bit_width - 1 : low_bit], bit_width <= 8. For example…