Debian Codegraph @

libgloss/xtensa/boards/esp32/include/soc/cpu.h

raw
1 /*
2 * Copyright (C) 2023 Espressif Systems (Shanghai) CO LTD
3 * SPDX-License-Identifier: BSD-2-Clause
4 */
5
6 #ifndef SOC_CPU_H
7 #define SOC_CPU_H
8
9 /*
10 * ESP32 starts with CPU frequency 40MHz
11 * Let's do not reconfigure it to simplify libgloss
12 */
13 #define CPU_FREQUENCY_MHZ 40
14 #define CPU_FREQUENCY_HZ (CPU_FREQUENCY_MHZ * 1000000)
15
16 #endif // SOC_CPU_H