Menu Toggle
v2.0.0-develop
tbman.h
1
// THIS HEADER FILE IS AUTOMATICALLY GENERATED -- DO NOT EDIT
2
8
#ifndef _HARDWARE_STRUCTS_TBMAN_H
9
#define _HARDWARE_STRUCTS_TBMAN_H
10
11
#include "
hardware/address_mapped.h
"
12
#include "hardware/regs/tbman.h"
13
14
// Reference to datasheet: https://datasheets.raspberrypi.com/rp2350/rp2350-datasheet.pdf#tab-registerlist_tbman
15
//
16
// The _REG_ macro is intended to help make the register navigable in your IDE (for example, using the "Go to Definition" feature)
17
// _REG_(x) will link to the corresponding register in hardware/regs/tbman.h.
18
//
19
// Bit-field descriptions are of the form:
20
// BITMASK [BITRANGE] FIELDNAME (RESETVALUE) DESCRIPTION
21
22
typedef
struct
{
23
_REG_(TBMAN_PLATFORM_OFFSET)
// TBMAN_PLATFORM
24
// Indicates the type of platform in use
25
// 0x00000004 [2] HDLSIM (0) Indicates the platform is a simulation
26
// 0x00000002 [1] FPGA (0) Indicates the platform is an FPGA
27
// 0x00000001 [0] ASIC (1) Indicates the platform is an ASIC
28
io_ro_32 platform;
29
30
}
tbman_hw_t
;
31
32
#define tbman_hw ((tbman_hw_t *)TBMAN_BASE)
33
static_assert
(
sizeof
(
tbman_hw_t
) == 0x0004,
""
);
34
35
#endif
// _HARDWARE_STRUCTS_TBMAN_H
36
address_mapped.h
tbman_hw_t
Definition:
tbman.h:22