v2.0.0
xip_aux.h
1// THIS HEADER FILE IS AUTOMATICALLY GENERATED -- DO NOT EDIT
2
8#ifndef _HARDWARE_STRUCTS_XIP_AUX_H
9#define _HARDWARE_STRUCTS_XIP_AUX_H
10
15#include "hardware/address_mapped.h"
16#include "hardware/regs/xip_aux.h"
17
18// Reference to datasheet: https://datasheets.raspberrypi.com/rp2350/rp2350-datasheet.pdf#tab-registerlist_xip_aux
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/xip_aux.h.
22//
23// Bit-field descriptions are of the form:
24// BITMASK [BITRANGE] FIELDNAME (RESETVALUE) DESCRIPTION
25
26 typedef struct {
27 _REG_(XIP_AUX_STREAM_OFFSET) // XIP_AUX_STREAM
28 // Read the XIP stream FIFO (fast bus access to XIP_CTRL_STREAM_FIFO)
29 // 0xffffffff [31:0] STREAM (0x00000000)
30 io_ro_32 stream;
31
32 _REG_(XIP_AUX_QMI_DIRECT_TX_OFFSET) // XIP_AUX_QMI_DIRECT_TX
33 // Write to the QMI direct-mode TX FIFO (fast bus access to QMI_DIRECT_TX)
34 // 0x00100000 [20] NOPUSH (0) Inhibit the RX FIFO push that would correspond to this...
35 // 0x00080000 [19] OE (0) Output enable (active-high)
36 // 0x00040000 [18] DWIDTH (0) Data width
37 // 0x00030000 [17:16] IWIDTH (0x0) Configure whether this FIFO record is transferred with...
38 // 0x0000ffff [15:0] DATA (0x0000) Data pushed here will be clocked out falling edges of...
39 io_wo_32 qmi_direct_tx;
40
41 _REG_(XIP_AUX_QMI_DIRECT_RX_OFFSET) // XIP_AUX_QMI_DIRECT_RX
42 // Read from the QMI direct-mode RX FIFO (fast bus access to QMI_DIRECT_RX)
43 // 0x0000ffff [15:0] QMI_DIRECT_RX (0x0000) With each byte clocked out on the serial interface, one...
44 io_ro_32 qmi_direct_rx;
45} xip_aux_hw_t;
46
47#define xip_aux_hw ((xip_aux_hw_t *)XIP_AUX_BASE)
48static_assert(sizeof (xip_aux_hw_t) == 0x000c, "");
49
50#endif // _HARDWARE_STRUCTS_XIP_AUX_H
51
address_mapped.h
xip_aux_hw_t
Definition: xip_aux.h:26