Select one of the symbols to view example projects that use it.
 
Outline
#define _HARDWARE_STRUCTS_PSM_H
#include "hardware/address_mapped.h"
#include "hardware/regs/psm.h"
psm_hw_t
#define psm_hw
Files
loading...
SourceVuRaspberry Pi Pico SDK and ExamplesPicoSDKsrc/rp2350/hardware_structs/include/hardware/structs/psm.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
// THIS HEADER FILE IS AUTOMATICALLY GENERATED -- DO NOT EDIT /** * Copyright (c) 2024 Raspberry Pi Ltd. * * SPDX-License-Identifier: BSD-3-Clause *//* ... */ #ifndef _HARDWARE_STRUCTS_PSM_H #define _HARDWARE_STRUCTS_PSM_H /** * \file rp2350/psm.h *//* ... */ #include "hardware/address_mapped.h" #include "hardware/regs/psm.h" // Reference to datasheet: https://datasheets.raspberrypi.com/rp2350/rp2350-datasheet.pdf#tab-registerlist_psm // // The _REG_ macro is intended to help make the register navigable in your IDE (for example, using the "Go to Definition" feature) // _REG_(x) will link to the corresponding register in hardware/regs/psm.h. // // Bit-field descriptions are of the form: // BITMASK [BITRANGE] FIELDNAME (RESETVALUE) DESCRIPTION typedef struct { _REG_(PSM_FRCE_ON_OFFSET) // PSM_FRCE_ON // Force block out of reset (i // 0x01000000 [24] PROC1 (0) // 0x00800000 [23] PROC0 (0) // 0x00400000 [22] ACCESSCTRL (0) // 0x00200000 [21] SIO (0) // 0x00100000 [20] XIP (0) // 0x00080000 [19] SRAM9 (0) // 0x00040000 [18] SRAM8 (0) // 0x00020000 [17] SRAM7 (0) // 0x00010000 [16] SRAM6 (0) // 0x00008000 [15] SRAM5 (0) // 0x00004000 [14] SRAM4 (0) // 0x00002000 [13] SRAM3 (0) // 0x00001000 [12] SRAM2 (0) // 0x00000800 [11] SRAM1 (0) // 0x00000400 [10] SRAM0 (0) // 0x00000200 [9] BOOTRAM (0) // 0x00000100 [8] ROM (0) // 0x00000080 [7] BUSFABRIC (0) // 0x00000040 [6] PSM_READY (0) // 0x00000020 [5] CLOCKS (0) // 0x00000010 [4] RESETS (0) // 0x00000008 [3] XOSC (0) // 0x00000004 [2] ROSC (0) // 0x00000002 [1] OTP (0) // 0x00000001 [0] PROC_COLD (0) io_rw_32 frce_on; _REG_(PSM_FRCE_OFF_OFFSET) // PSM_FRCE_OFF // Force into reset (i // 0x01000000 [24] PROC1 (0) // 0x00800000 [23] PROC0 (0) // 0x00400000 [22] ACCESSCTRL (0) // 0x00200000 [21] SIO (0) // 0x00100000 [20] XIP (0) // 0x00080000 [19] SRAM9 (0) // 0x00040000 [18] SRAM8 (0) // 0x00020000 [17] SRAM7 (0) // 0x00010000 [16] SRAM6 (0) // 0x00008000 [15] SRAM5 (0) // 0x00004000 [14] SRAM4 (0) // 0x00002000 [13] SRAM3 (0) // 0x00001000 [12] SRAM2 (0) // 0x00000800 [11] SRAM1 (0) // 0x00000400 [10] SRAM0 (0) // 0x00000200 [9] BOOTRAM (0) // 0x00000100 [8] ROM (0) // 0x00000080 [7] BUSFABRIC (0) // 0x00000040 [6] PSM_READY (0) // 0x00000020 [5] CLOCKS (0) // 0x00000010 [4] RESETS (0) // 0x00000008 [3] XOSC (0) // 0x00000004 [2] ROSC (0) // 0x00000002 [1] OTP (0) // 0x00000001 [0] PROC_COLD (0) io_rw_32 frce_off; _REG_(PSM_WDSEL_OFFSET) // PSM_WDSEL // Set to 1 if the watchdog should reset this // 0x01000000 [24] PROC1 (0) // 0x00800000 [23] PROC0 (0) // 0x00400000 [22] ACCESSCTRL (0) // 0x00200000 [21] SIO (0) // 0x00100000 [20] XIP (0) // 0x00080000 [19] SRAM9 (0) // 0x00040000 [18] SRAM8 (0) // 0x00020000 [17] SRAM7 (0) // 0x00010000 [16] SRAM6 (0) // 0x00008000 [15] SRAM5 (0) // 0x00004000 [14] SRAM4 (0) // 0x00002000 [13] SRAM3 (0) // 0x00001000 [12] SRAM2 (0) // 0x00000800 [11] SRAM1 (0) // 0x00000400 [10] SRAM0 (0) // 0x00000200 [9] BOOTRAM (0) // 0x00000100 [8] ROM (0) // 0x00000080 [7] BUSFABRIC (0) // 0x00000040 [6] PSM_READY (0) // 0x00000020 [5] CLOCKS (0) // 0x00000010 [4] RESETS (0) // 0x00000008 [3] XOSC (0) // 0x00000004 [2] ROSC (0) // 0x00000002 [1] OTP (0) // 0x00000001 [0] PROC_COLD (0) io_rw_32 wdsel; _REG_(PSM_DONE_OFFSET) // PSM_DONE // Is the subsystem ready? // 0x01000000 [24] PROC1 (0) // 0x00800000 [23] PROC0 (0) // 0x00400000 [22] ACCESSCTRL (0) // 0x00200000 [21] SIO (0) // 0x00100000 [20] XIP (0) // 0x00080000 [19] SRAM9 (0) // 0x00040000 [18] SRAM8 (0) // 0x00020000 [17] SRAM7 (0) // 0x00010000 [16] SRAM6 (0) // 0x00008000 [15] SRAM5 (0) // 0x00004000 [14] SRAM4 (0) // 0x00002000 [13] SRAM3 (0) // 0x00001000 [12] SRAM2 (0) // 0x00000800 [11] SRAM1 (0) // 0x00000400 [10] SRAM0 (0) // 0x00000200 [9] BOOTRAM (0) // 0x00000100 [8] ROM (0) // 0x00000080 [7] BUSFABRIC (0) // 0x00000040 [6] PSM_READY (0) // 0x00000020 [5] CLOCKS (0) // 0x00000010 [4] RESETS (0) // 0x00000008 [3] XOSC (0) // 0x00000004 [2] ROSC (0) // 0x00000002 [1] OTP (0) // 0x00000001 [0] PROC_COLD (0) io_ro_32 done; ...} psm_hw_t; #define psm_hw ((psm_hw_t *)PSM_BASE) static_assert(sizeof (psm_hw_t) == 0x0010, ""); /* ... */ #endif // _HARDWARE_STRUCTS_PSM_H
Details
Show:
from
Types: Columns:
This file uses the notable symbols shown below. Click anywhere in the file to view more details.