esp-idf/components/soc/esp32s2/include/soc/dac_channel.h

16 lines
605 B
C
Raw Normal View History

/*
* SPDX-FileCopyrightText: 2010-2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
2019-04-03 05:08:02 -04:00
2022-10-10 07:17:22 -04:00
#pragma once
2019-04-03 05:08:02 -04:00
#define DAC_GPIO17_CHANNEL DAC_CHAN_0
2022-10-10 07:17:22 -04:00
#define DAC_CHAN0_GPIO_NUM 17
#define DAC_CHANNEL_1_GPIO_NUM DAC_CHAN0_GPIO_NUM //`DAC_CHANNEL_1_GPIO_NUM` is defined for DAC legacy driver, indicating the first DAC channel.
2019-04-03 05:08:02 -04:00
#define DAC_GPIO18_CHANNEL DAC_CHAN_1
2022-10-10 07:17:22 -04:00
#define DAC_CHAN1_GPIO_NUM 18
#define DAC_CHANNEL_2_GPIO_NUM DAC_CHAN1_GPIO_NUM //`DAC_CHANNEL_2_GPIO_NUM` is defined for DAC legacy driver, indicating the second DAC channel.