Home
last modified time | relevance | path

Searched refs:TSENS_CHECK (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-2.7.6/components/driver/esp32s2/
Drtc_tempsensor.c34 #define TSENS_CHECK(res, ret_val) ({ \ macro
89 TSENS_CHECK(tsens != NULL, ESP_ERR_INVALID_ARG); in temp_sensor_get_config()
110 TSENS_CHECK(rtc_tsens_mux != NULL, ESP_ERR_NO_MEM); in temp_sensor_start()
130 TSENS_CHECK(tsens_out != NULL, ESP_ERR_INVALID_ARG); in temp_sensor_read_raw()
131 TSENS_CHECK(rtc_tsens_mux != NULL, ESP_ERR_INVALID_STATE); in temp_sensor_read_raw()
165 TSENS_CHECK(celsius != NULL, ESP_ERR_INVALID_ARG); in temp_sensor_read_celsius()
171 TSENS_CHECK(ret == ESP_OK, ret); in temp_sensor_read_celsius()
/hal_espressif-2.7.6/components/driver/esp32c3/
Drtc_tempsensor.c34 #define TSENS_CHECK(res, ret_val) ({ \ macro
83 TSENS_CHECK(tsens != NULL, ESP_ERR_INVALID_ARG); in temp_sensor_get_config()
114 TSENS_CHECK(tsens_out != NULL, ESP_ERR_INVALID_ARG); in temp_sensor_read_raw()
143 TSENS_CHECK(celsius != NULL, ESP_ERR_INVALID_ARG); in temp_sensor_read_celsius()
150 TSENS_CHECK(ret == ESP_OK, ret); in temp_sensor_read_celsius()