TT Zephyr Platforms 19.0.0-rc2
Tenstorrent Firmware
Loading...
Searching...
No Matches
efuse.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2024 Tenstorrent AI ULC
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
6#ifndef EFUSE_H
7#define EFUSE_H
8
9#include <stdint.h>
10
11#include <arc_dma.h>
12
19
20typedef enum {
21 EfuseIndirect = 0, /* indirect access by programming read control registers */
22 EfuseDirect = 1, /* direct access by reading efuse box */
24
25uint32_t EfuseRead(EfuseAccessType acc_type, EfuseBoxId efuse_box_id, uint32_t offset);
26
27#endif
uint32_t EfuseRead(EfuseAccessType acc_type, EfuseBoxId efuse_box_id, uint32_t offset)
Definition efuse.c:65
EfuseBoxId
Definition efuse.h:13
@ EfuseBoxIdNum
Definition efuse.h:17
@ EfuseBoxFunc
Definition efuse.h:16
@ EfuseBoxDft0
Definition efuse.h:14
@ EfuseBoxDft1
Definition efuse.h:15
EfuseAccessType
Definition efuse.h:20
@ EfuseIndirect
Definition efuse.h:21
@ EfuseDirect
Definition efuse.h:22
__UINT32_TYPE__ uint32_t