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
13
typedef
enum
{
14
EfuseBoxDft0
= 0,
15
EfuseBoxDft1
= 1,
16
EfuseBoxFunc
= 2,
17
EfuseBoxIdNum
= 3,
18
}
EfuseBoxId
;
19
20
typedef
enum
{
21
EfuseIndirect
= 0,
/* indirect access by programming read control registers */
22
EfuseDirect
= 1,
/* direct access by reading efuse box */
23
}
EfuseAccessType
;
24
25
uint32_t
EfuseRead
(
EfuseAccessType
acc_type,
EfuseBoxId
efuse_box_id,
uint32_t
offset);
26
27
#endif
arc_dma.h
EfuseRead
uint32_t EfuseRead(EfuseAccessType acc_type, EfuseBoxId efuse_box_id, uint32_t offset)
Definition
efuse.c:65
EfuseBoxId
EfuseBoxId
Definition
efuse.h:13
EfuseBoxIdNum
@ EfuseBoxIdNum
Definition
efuse.h:17
EfuseBoxFunc
@ EfuseBoxFunc
Definition
efuse.h:16
EfuseBoxDft0
@ EfuseBoxDft0
Definition
efuse.h:14
EfuseBoxDft1
@ EfuseBoxDft1
Definition
efuse.h:15
EfuseAccessType
EfuseAccessType
Definition
efuse.h:20
EfuseIndirect
@ EfuseIndirect
Definition
efuse.h:21
EfuseDirect
@ EfuseDirect
Definition
efuse.h:22
stdint.h
uint32_t
__UINT32_TYPE__ uint32_t
lib
tenstorrent
bh_arc
efuse.h
Generated by
1.14.0