@@ -63,17 +63,14 @@ static constexpr uint32_t DATA_GENERATOR_CONTROL_CMD_INJECT_ERROR = 0x8;
6363
6464// / Board serial number
6565// / Must be accessed on BAR 2
66- // / Byte address: 0x20002c
67- static constexpr Register SERIAL_NUMBER (524299 );
66+ static constexpr Register SERIAL_NUMBER (0x20002c );
6867
6968// / Register containing compilation info of the firmware
7069// / Can be used as a sort of version number
71- // / Byte address: 0x280
72- static constexpr Register FIRMWARE_COMPILE_INFO (160 );
70+ static constexpr Register FIRMWARE_COMPILE_INFO (0x280 );
7371
7472// / Register containing compilation info of the firmware
7573// / Can be used as a sort of version number
76- // / Byte address: 0x280
7774static constexpr Register FIRMWARE_FEATURES (0x41c );
7875
7976// / Reset control register
@@ -85,30 +82,25 @@ static constexpr Register RESET_CONTROL(0x400);
8582static constexpr Register DEBUG_READ_WRITE (0x410 );
8683
8784// / Temperature control & read register
88- // / Must be accessed on BAR 2
8985// / The lower 10 bits contain the temperature value
90- // / Byte address: 0x200028
91- static constexpr Register TEMPERATURE (524298 );
86+ // / Must be accessed on BAR 2
87+ static constexpr Register TEMPERATURE (0x200028 );
9288
9389// / Register containing the firmware Git hash
9490// / Must be accessed on BAR 2
95- // / Byte address: 0x4
96- static constexpr Register FIRMWARE_GIT_HASH (1 );
91+ static constexpr Register FIRMWARE_GIT_HASH (0x4 );
9792
9893// / Register containing the compilation date/time in seconds since Unix epoch
9994// / Must be accessed on BAR 2
100- // / Byte address: 0x1c
101- static constexpr Register FIRMWARE_EPOCH (7 );
95+ static constexpr Register FIRMWARE_EPOCH (0x1c );
10296
10397// / Register containing the compilation date/time in seconds since Unix epoch
10498// / Must be accessed on BAR 2
105- // / Byte address: 0x20
106- static constexpr Register FIRMWARE_DATE (8 );
99+ static constexpr Register FIRMWARE_DATE (0x20 );
107100
108101// / Register containing the compilation date/time in seconds since Unix epoch
109102// / Must be accessed on BAR 2
110- // / Byte address: 0x24
111- static constexpr Register FIRMWARE_TIME (9 );
103+ static constexpr Register FIRMWARE_TIME (0x24 );
112104
113105} // namespace Cru
114106} // namespace Registers
0 commit comments