mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 17:19:09 -04:00
Merge branch 'fix/rng_register_prefix_discrepency_older_targets' into 'master'
fix(soc): Add the unavailable TRM mentioned RNG_DATA_REG register for C2 and C3 Closes DOC-5138 and DOC-5135 See merge request espressif/esp-idf!36602
This commit is contained in:
commit
c97b63db32
@ -7,6 +7,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "soc.h"
|
||||
#include "soc/syscon_reg.h"
|
||||
|
||||
/* Hardware random number generator register */
|
||||
#define WDEV_RND_REG 0x600260b0
|
||||
#define WDEV_RND_REG RNG_DATA_REG
|
||||
|
@ -503,6 +503,8 @@ en only when have access the rom have clock.*/
|
||||
#define SYSCON_RND_DATA_V 0xFFFFFFFF
|
||||
#define SYSCON_RND_DATA_S 0
|
||||
|
||||
#define RNG_DATA_REG SYSCON_RND_DATA_REG
|
||||
|
||||
#define SYSCON_PERI_BACKUP_CONFIG_REG (DR_REG_SYSCON_BASE + 0xB4)
|
||||
/* SYSCON_PERI_BACKUP_ENA : R/W ;bitpos:[31] ;default: 1'b0 ; */
|
||||
/*description: reg_peri_backup_ena.*/
|
||||
|
@ -1,20 +1,13 @@
|
||||
// Copyright 2020 Espressif Systems (Shanghai) PTE LTD
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2020-2025 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "soc.h"
|
||||
#include "soc/syscon_reg.h"
|
||||
|
||||
/* Hardware random number generator register */
|
||||
#define WDEV_RND_REG 0x600260b0
|
||||
#define WDEV_RND_REG RNG_DATA_REG
|
||||
|
@ -497,6 +497,8 @@ extern "C" {
|
||||
#define SYSCON_RND_DATA_V 0xFFFFFFFF
|
||||
#define SYSCON_RND_DATA_S 0
|
||||
|
||||
#define RNG_DATA_REG SYSCON_RND_DATA_REG
|
||||
|
||||
#define SYSCON_PERI_BACKUP_CONFIG_REG (DR_REG_SYSCON_BASE + 0x0B4)
|
||||
/* SYSCON_PERI_BACKUP_ENA : R/W ;bitpos:[31] ;default: 1'b0 ; */
|
||||
/*description: */
|
||||
|
Loading…
x
Reference in New Issue
Block a user