Loading...
Searching...
No Matches
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
14
16#include "hardware/regs/tbman.h"
17
18// Reference to datasheet: https://datasheets.raspberrypi.com/rp2350/rp2350-datasheet.pdf#tab-registerlist_tbman
19//
20// The _REG_ macro is intended to help make the register navigable in your IDE (for example, using the "Go to Definition" feature)
21// _REG_(x) will link to the corresponding register in hardware/regs/tbman.h.
22//
23// Bit-field descriptions are of the form:
24// BITMASK [BITRANGE] FIELDNAME (RESETVALUE) DESCRIPTION
25
26typedef struct {
27 _REG_(TBMAN_PLATFORM_OFFSET) // TBMAN_PLATFORM
28 // Indicates the type of platform in use
29 // 0x00000004 [2] HDLSIM (0) Indicates the platform is a simulation
30 // 0x00000002 [1] FPGA (0) Indicates the platform is an FPGA
31 // 0x00000001 [0] ASIC (1) Indicates the platform is an ASIC
32 io_ro_32 platform;
34
35#define tbman_hw ((tbman_hw_t *)TBMAN_BASE)
36static_assert(sizeof (tbman_hw_t) == 0x0004, "");
37
38#endif // _HARDWARE_STRUCTS_TBMAN_H
Definition tbman.h:26