OpenCores
URL https://opencores.org/ocsvn/neorv32/neorv32/trunk

Subversion Repositories neorv32

[/] [neorv32/] [trunk/] [sw/] [lib/] [include/] [neorv32.h] - Diff between revs 3 and 4

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 3 Rev 4
Line 307... Line 307...
 
 
/**********************************************************************//**
/**********************************************************************//**
 * @name IO Device: Machine System Timer (MTIME)
 * @name IO Device: Machine System Timer (MTIME)
 **************************************************************************/
 **************************************************************************/
/**@{*/
/**@{*/
/** MTIME (time register) low word (r/w) */
/** MTIME (time register) low word (r/-) */
#define MTIME_LO     (*(IO_REG32 0xFFFFFF90))
#define MTIME_LO     (*(IO_ROM32 0xFFFFFF90))
/** MTIME (time register) high word (r/w) */
/** MTIME (time register) high word (r/-) */
#define MTIME_HI     (*(IO_REG32 0xFFFFFF94))
#define MTIME_HI     (*(IO_ROM32 0xFFFFFF94))
/** MTIMECMP (time compare register) low word (r/w) */
/** MTIMECMP (time compare register) low word (r/w) */
#define MTIMECMP_LO  (*(IO_REG32 0xFFFFFF98))
#define MTIMECMP_LO  (*(IO_REG32 0xFFFFFF98))
/** MTIMECMP (time register) high word (r/w) */
/** MTIMECMP (time register) high word (r/w) */
#define MTIMECMP_HI  (*(IO_REG32 0xFFFFFF9C))
#define MTIMECMP_HI  (*(IO_REG32 0xFFFFFF9C))
 
 
/** MTIME (time register) 64-bit access (r/w) */
/** MTIME (time register) 64-bit access (r/-) */
#define MTIME        (*(IO_REG64 (&MTIME_LO)))
#define MTIME        (*(IO_ROM64 (&MTIME_LO)))
/** MTIMECMP (time compare register) low word (r/w) */
/** MTIMECMP (time compare register) low word (r/w) */
#define MTIMECMP     (*(IO_REG64 (&MTIMECMP_LO)))
#define MTIMECMP     (*(IO_REG64 (&MTIMECMP_LO)))
/**@}*/
/**@}*/
 
 
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.