Fix the comments on MTIME in the headers as well

This comment is in autogenerated header files... Still.
This commit is contained in:
Rainer Keller 2026-03-02 17:00:46 +01:00
parent 04b35a95a4
commit 591e1ef211
3 changed files with 3 additions and 3 deletions

View file

@ -2132,7 +2132,7 @@
#define SIO_MTIME_CTRL_EN_ACCESS "RW"
// =============================================================================
// Register : SIO_MTIME
// Description : Read/write access to the high half of RISC-V Machine-mode
// Description : Read/write access to the low half of RISC-V Machine-mode
// timer. This register is shared between both cores. If both
// cores write on the same cycle, core 1 takes precedence.
#define SIO_MTIME_OFFSET _u(0x000001b0)

View file

@ -249,7 +249,7 @@ typedef struct {
uint32_t _pad3[2];
_REG_(SIO_MTIME_OFFSET) // SIO_MTIME
// Read/write access to the high half of RISC-V Machine-mode timer
// Read/write access to the low half of RISC-V Machine-mode timer
// 0xffffffff [31:0] MTIME (0x00000000)
io_rw_32 mtime;

View file

@ -4017,7 +4017,7 @@ typedef struct { /*!< SIO Structure
interrupts are routed to normal system-level interrupt
lines as well as to the MIP.MTIP inputs on the RISC-V cores. */
__IM uint32_t RESERVED3[2];
__IOM uint32_t MTIME; /*!< Read/write access to the high half of RISC-V Machine-mode timer.
__IOM uint32_t MTIME; /*!< Read/write access to the low half of RISC-V Machine-mode timer.
This register is shared between both cores. If both cores
write on the same cycle, core 1 takes precedence. */
__IOM uint32_t MTIMEH; /*!< Read/write access to the high half of RISC-V Machine-mode timer.