2022-09-27 03:18:40 -04:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2010-2022 Espressif Systems (Shanghai) CO LTD
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
2020-06-18 05:13:19 -04:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
//CLKOUT channels
|
2022-09-27 03:18:40 -04:00
|
|
|
#define CLKOUT_IOMUX_FUNC_NUM 3
|
|
|
|
|
2020-06-18 05:13:19 -04:00
|
|
|
#define CLKOUT_GPIO20_DIRECT_CHANNEL CLKOUT_CHANNEL_1
|
|
|
|
#define CLKOUT_CHANNEL_1_DIRECT_GPIO_NUM 20
|
|
|
|
#define CLKOUT_GPIO19_DIRECT_CHANNEL CLKOUT_CHANNEL_2
|
|
|
|
#define CLKOUT_CHANNEL_2_DIRECT_GPIO_NUM 19
|
|
|
|
#define CLKOUT_GPIO18_DIRECT_CHANNEL CLKOUT_CHANNEL_3
|
|
|
|
#define CLKOUT_CHANNEL_3_DIRECT_GPIO_NUM 18
|
2022-09-27 03:18:40 -04:00
|
|
|
|
|
|
|
// ESP32S3 has two other sets of GPIO pins which could route to CLKOUT_CHANNEL_1/2/3 through IO_MUX
|
|
|
|
// Please check TRM IO MUX Function List table if needed
|