mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
14 lines
337 B
C
14 lines
337 B
C
/*
|
|
* SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
#include "soc/soc.h"
|
|
#include "soc/pcr_reg.h"
|
|
|
|
__attribute__((weak)) void esp_crypto_clk_init(void)
|
|
{
|
|
// Set crypto clock (`clk_sec`) to use 96M PLL clock
|
|
REG_SET_FIELD(PCR_SEC_CONF_REG, PCR_SEC_CLK_SEL, 0x3);
|
|
}
|