/*
 * SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
 *
 * SPDX-License-Identifier: Unlicense OR CC0-1.0
 */
#pragma once

#include "hal/adc_types.h"

#define EXAMPLE_ADC_CHANNEL     ADC_CHANNEL_7
#define EXAMPLE_ADC_UNIT        ADC_UNIT_1
#define EXAMPLE_ADC_ATTEN       ADC_ATTEN_DB_11
#define EXAMPLE_ADC_WIDTH       ADC_BITWIDTH_DEFAULT

/* Set high threshold, approx. 1.75V*/
#define EXAMPLE_ADC_TRESHOLD    1000//4095//1000


extern int32_t wakeup_result;

// extern uint32_t ulp_charge_is_success;
// extern uint32_t ulp_charge_is_running;


void sleep_init();
