@web-font-path: "roboto-debian.css";
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
16#include "hardware/regs/tbman.h"
17
18// Reference to datasheet: https://datasheets.raspberrypi.com/rp2040/rp2040-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 // 0x00000002 [1] FPGA (0) Indicates the platform is an FPGA
30 // 0x00000001 [0] ASIC (1) Indicates the platform is an ASIC
31 io_ro_32 platform;
33
34#define tbman_hw ((tbman_hw_t *)TBMAN_BASE)
35static_assert(sizeof (tbman_hw_t) == 0x0004, "");
36
37#endif // _HARDWARE_STRUCTS_TBMAN_H
38
Definition tbman.h:26