mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-13 13:50:21 +00:00
soc: Adds efuse hal
Replaced eFuse ROM funcs with hal layer
This commit is contained in:
@@ -1,16 +1,8 @@
|
||||
// Copyright 2017-2018 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: 2017-2022 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
#ifndef _SOC_EFUSE_STRUCT_H_
|
||||
#define _SOC_EFUSE_STRUCT_H_
|
||||
#ifdef __cplusplus
|
||||
@@ -206,8 +198,21 @@ typedef volatile struct efuse_dev_s {
|
||||
};
|
||||
uint32_t val;
|
||||
} rd_mac_spi_8m_2;
|
||||
uint32_t rd_mac_spi_8m_3; /**/
|
||||
uint32_t rd_mac_spi_8m_4; /**/
|
||||
union {
|
||||
struct {
|
||||
uint32_t spi_pad_conf_2: 18;
|
||||
uint32_t wafer_version: 3;
|
||||
uint32_t reserve: 11;
|
||||
};
|
||||
uint32_t val;
|
||||
} rd_mac_spi_8m_3;
|
||||
union {
|
||||
struct {
|
||||
uint32_t pkg_version: 4;
|
||||
uint32_t reserve: 28;
|
||||
};
|
||||
uint32_t val;
|
||||
} rd_mac_spi_8m_4;
|
||||
uint32_t rd_mac_spi_8m_5; /**/
|
||||
uint32_t rd_sys_data0; /**/
|
||||
uint32_t rd_sys_data1; /**/
|
||||
|
Reference in New Issue
Block a user