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
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
22typedef 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
31
32#define tbman_hw ((tbman_hw_t *)TBMAN_BASE)
33static_assert(sizeof (tbman_hw_t) == 0x0004, "");
34
35#endif // _HARDWARE_STRUCTS_TBMAN_H
36
Definition: tbman.h:22