TT Zephyr Platforms 18.11.99
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
13/* Useful addresses */
14#define FUSE_ASIC_ID_ADDR 50
15
22
23typedef enum {
24 EfuseIndirect = 0, /* indirect access by programming read control registers */
25 EfuseDirect = 1, /* direct access by reading efuse box */
27
28uint32_t EfuseRead(EfuseAccessType acc_type, EfuseBoxId efuse_box_id, uint32_t offset);
29
30#endif
uint32_t EfuseRead(EfuseAccessType acc_type, EfuseBoxId efuse_box_id, uint32_t offset)
Definition efuse.c:65
EfuseBoxId
Definition efuse.h:16
@ EfuseBoxIdNum
Definition efuse.h:20
@ EfuseBoxFunc
Definition efuse.h:19
@ EfuseBoxDft0
Definition efuse.h:17
@ EfuseBoxDft1
Definition efuse.h:18
EfuseAccessType
Definition efuse.h:23
@ EfuseIndirect
Definition efuse.h:24
@ EfuseDirect
Definition efuse.h:25
__UINT32_TYPE__ uint32_t