Home
last modified time | relevance | path

Searched refs:threshold (Results 1 – 25 of 63) sorted by relevance

123

/hal_espressif-latest/components/driver/touch_sensor/
Dtouch_sensor_common.c180 esp_err_t touch_pad_set_thresh(touch_pad_t touch_num, uint16_t threshold) in touch_pad_set_thresh() argument
184 touch_hal_set_threshold(touch_num, threshold); in touch_pad_set_thresh()
189 esp_err_t touch_pad_set_thresh(touch_pad_t touch_num, uint32_t threshold) in touch_pad_set_thresh() argument
195 touch_hal_set_threshold(touch_num, threshold); in touch_pad_set_thresh()
202 esp_err_t touch_pad_get_thresh(touch_pad_t touch_num, uint16_t *threshold) in touch_pad_get_thresh() argument
205 touch_hal_get_threshold(touch_num, threshold); in touch_pad_get_thresh()
209 esp_err_t touch_pad_get_thresh(touch_pad_t touch_num, uint32_t *threshold) in touch_pad_get_thresh() argument
214 touch_hal_get_threshold(touch_num, threshold); in touch_pad_get_thresh()
/hal_espressif-latest/components/hal/include/hal/
Dtouch_sensor_hal.h128 #define touch_hal_set_threshold(touch_num, threshold) touch_ll_set_threshold(touch_num, threshold) argument
136 #define touch_hal_get_threshold(touch_num, threshold) touch_ll_get_threshold(touch_num, threshold) argument
Dbrownout_hal.h25 uint8_t threshold; member
/hal_espressif-latest/components/mbedtls/port/
Dmbedtls_debug.c22 void mbedtls_esp_enable_debug_log(mbedtls_ssl_config *conf, int threshold) in mbedtls_esp_enable_debug_log() argument
25 mbedtls_debug_set_threshold(threshold); in mbedtls_esp_enable_debug_log()
27 switch(threshold) { in mbedtls_esp_enable_debug_log()
/hal_espressif-latest/components/hal/esp32h2/include/hal/
Dbrownout_ll.h64 static inline void brownout_ll_set_threshold(uint8_t threshold) in brownout_ll_set_threshold() argument
66 REGI2C_WRITE_MASK(I2C_BOD, I2C_BOD_THRESHOLD_L, threshold); in brownout_ll_set_threshold()
67 REGI2C_WRITE_MASK(I2C_BOD, I2C_BOD_THRESHOLD_H, threshold); in brownout_ll_set_threshold()
/hal_espressif-latest/components/hal/esp32/include/hal/
Dtouch_sensor_ll.h286 static inline void touch_ll_set_threshold(touch_pad_t touch_num, uint16_t threshold) in touch_ll_set_threshold() argument
290 HAL_FORCE_MODIFY_U32_REG_FIELD(SENS.touch_thresh[tp_wrap / 2], l_thresh, threshold); in touch_ll_set_threshold()
292 HAL_FORCE_MODIFY_U32_REG_FIELD(SENS.touch_thresh[tp_wrap / 2], h_thresh, threshold); in touch_ll_set_threshold()
302 static inline void touch_ll_get_threshold(touch_pad_t touch_num, uint16_t *threshold) in touch_ll_get_threshold() argument
305 if (threshold) { in touch_ll_get_threshold()
306 *threshold = (tp_wrap & 0x1 ) ? in touch_ll_get_threshold()
Dbrownout_ll.h61 static inline void brownout_ll_set_threshold(uint8_t threshold) in brownout_ll_set_threshold() argument
63 RTCCNTL.brown_out.thres = threshold; in brownout_ll_set_threshold()
Demac_ll.h314 static inline void emac_ll_set_pause_low_threshold(emac_mac_dev_t *mac_regs, uint32_t threshold) in emac_ll_set_pause_low_threshold() argument
316 mac_regs->gmacfc.plt = threshold; in emac_ll_set_pause_low_threshold()
425 static inline void emac_ll_set_transmit_threshold(emac_dma_dev_t *dma_regs, uint32_t threshold) in emac_ll_set_transmit_threshold() argument
427 dma_regs->dmaoperation_mode.tx_thresh_ctrl = threshold; in emac_ll_set_transmit_threshold()
445 static inline void emac_ll_set_recv_threshold(emac_dma_dev_t *dma_regs, uint32_t threshold) in emac_ll_set_recv_threshold() argument
447 dma_regs->dmaoperation_mode.rx_thresh_ctrl = threshold; in emac_ll_set_recv_threshold()
/hal_espressif-latest/components/driver/touch_sensor/esp32/include/driver/
Dtouch_sensor.h28 esp_err_t touch_pad_config(touch_pad_t touch_num, uint16_t threshold);
214 esp_err_t touch_pad_set_thresh(touch_pad_t touch_num, uint16_t threshold);
224 esp_err_t touch_pad_get_thresh(touch_pad_t touch_num, uint16_t *threshold);
/hal_espressif-latest/components/hal/esp32s2/include/hal/
Dtouch_sensor_hal.h134 #define touch_hal_timeout_set_threshold(threshold) touch_ll_timeout_set_threshold(threshold) argument
142 #define touch_hal_timeout_get_threshold(threshold) touch_ll_timeout_get_threshold(threshold) argument
Dbrownout_ll.h65 static inline void brownout_ll_set_threshold(uint8_t threshold) in brownout_ll_set_threshold() argument
67 REGI2C_WRITE_MASK(I2C_BOD, I2C_BOD_THRESHOLD, threshold); in brownout_ll_set_threshold()
Dtouch_sensor_ll.h318 static inline void touch_ll_set_threshold(touch_pad_t touch_num, uint32_t threshold) in touch_ll_set_threshold() argument
320 SENS.touch_thresh[touch_num - 1].thresh = threshold; in touch_ll_set_threshold()
331 static inline void touch_ll_get_threshold(touch_pad_t touch_num, uint32_t *threshold) in touch_ll_get_threshold() argument
333 *threshold = SENS.touch_thresh[touch_num - 1].thresh; in touch_ll_get_threshold()
609 static inline void touch_ll_timeout_set_threshold(uint32_t threshold) in touch_ll_timeout_set_threshold() argument
611 RTCCNTL.touch_timeout_ctrl.touch_timeout_num = threshold; in touch_ll_timeout_set_threshold()
620 static inline void touch_ll_timeout_get_threshold(uint32_t *threshold) in touch_ll_timeout_get_threshold() argument
622 *threshold = RTCCNTL.touch_timeout_ctrl.touch_timeout_num; in touch_ll_timeout_get_threshold()
/hal_espressif-latest/components/hal/esp32s3/include/hal/
Dtouch_sensor_hal.h134 #define touch_hal_timeout_set_threshold(threshold) touch_ll_timeout_set_threshold(threshold) argument
142 #define touch_hal_timeout_get_threshold(threshold) touch_ll_timeout_get_threshold(threshold) argument
Dbrownout_ll.h64 static inline void brownout_ll_set_threshold(uint8_t threshold) in brownout_ll_set_threshold() argument
66 REGI2C_WRITE_MASK(I2C_BOD, I2C_BOD_THRESHOLD, threshold); in brownout_ll_set_threshold()
Dtouch_sensor_ll.h326 static inline void touch_ll_set_threshold(touch_pad_t touch_num, uint32_t threshold) in touch_ll_set_threshold() argument
328 SENS.touch_thresh[touch_num - 1].thresh = threshold; in touch_ll_set_threshold()
339 static inline void touch_ll_get_threshold(touch_pad_t touch_num, uint32_t *threshold) in touch_ll_get_threshold() argument
341 *threshold = SENS.touch_thresh[touch_num - 1].thresh; in touch_ll_get_threshold()
629 static inline void touch_ll_timeout_set_threshold(uint32_t threshold) in touch_ll_timeout_set_threshold() argument
631 RTCCNTL.touch_timeout_ctrl.touch_timeout_num = threshold; in touch_ll_timeout_set_threshold()
640 static inline void touch_ll_timeout_get_threshold(uint32_t *threshold) in touch_ll_timeout_get_threshold() argument
642 *threshold = RTCCNTL.touch_timeout_ctrl.touch_timeout_num; in touch_ll_timeout_get_threshold()
/hal_espressif-latest/components/hal/esp32c2/include/hal/
Dbrownout_ll.h64 static inline void brownout_ll_set_threshold(uint8_t threshold) in brownout_ll_set_threshold() argument
66 REGI2C_WRITE_MASK(I2C_BOD, I2C_BOD_THRESHOLD, threshold); in brownout_ll_set_threshold()
/hal_espressif-latest/components/hal/esp32c3/include/hal/
Dbrownout_ll.h64 static inline void brownout_ll_set_threshold(uint8_t threshold) in brownout_ll_set_threshold() argument
66 REGI2C_WRITE_MASK(I2C_BOD, I2C_BOD_THRESHOLD, threshold); in brownout_ll_set_threshold()
/hal_espressif-latest/components/hal/esp32c6/include/hal/
Dbrownout_ll.h64 static inline void brownout_ll_set_threshold(uint8_t threshold) in brownout_ll_set_threshold() argument
66 REGI2C_WRITE_MASK(I2C_BOD, I2C_BOD_THRESHOLD, threshold); in brownout_ll_set_threshold()
/hal_espressif-latest/components/esp_system/port/
Dbrownout.c71 .threshold = BROWNOUT_DET_LVL, in esp_brownout_init()
92 .threshold = BROWNOUT_DET_LVL, in esp_brownout_init()
/hal_espressif-latest/components/driver/touch_sensor/esp32s3/include/driver/
Dtouch_sensor.h154 esp_err_t touch_pad_set_thresh(touch_pad_t touch_num, uint32_t threshold);
164 esp_err_t touch_pad_get_thresh(touch_pad_t touch_num, uint32_t *threshold);
288 esp_err_t touch_pad_timeout_set(bool enable, uint32_t threshold);
/hal_espressif-latest/components/driver/touch_sensor/esp32s2/include/driver/
Dtouch_sensor.h154 esp_err_t touch_pad_set_thresh(touch_pad_t touch_num, uint32_t threshold);
164 esp_err_t touch_pad_get_thresh(touch_pad_t touch_num, uint32_t *threshold);
288 esp_err_t touch_pad_timeout_set(bool enable, uint32_t threshold);
/hal_espressif-latest/components/esp_wifi/include/
Desp_mesh_internal.h216 esp_err_t esp_mesh_set_rssi_threshold(const mesh_rssi_threshold_t *threshold);
227 esp_err_t esp_mesh_get_rssi_threshold(mesh_rssi_threshold_t *threshold);
/hal_espressif-latest/components/mbedtls/port/include/mbedtls/
Desp_debug.h45 void mbedtls_esp_enable_debug_log(mbedtls_ssl_config *conf, int threshold);
/hal_espressif-latest/components/hal/
Dbrownout_hal.c20 brownout_ll_set_threshold(cfg->threshold); in brownout_hal_config()
/hal_espressif-latest/components/driver/touch_sensor/esp32s3/
Dtouch_sensor.c236 esp_err_t touch_pad_timeout_set(bool enable, uint32_t threshold) in touch_pad_timeout_set() argument
244 touch_hal_timeout_set_threshold(threshold); in touch_pad_timeout_set()
249 esp_err_t touch_pad_timeout_get_threshold(uint32_t *threshold) in touch_pad_timeout_get_threshold() argument
251 TOUCH_NULL_POINTER_CHECK(threshold, "threshold"); in touch_pad_timeout_get_threshold()
253 touch_hal_timeout_get_threshold(threshold); in touch_pad_timeout_get_threshold()

123