mirror of
https://github.com/Gericom/libtwl.git
synced 2025-06-18 19:15:33 -04:00
Added some scfg definitions
This commit is contained in:
parent
cae1db6fc3
commit
05bdd52d3c
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#include "../sys/twlScfg.h"
|
||||
|
||||
typedef enum
|
||||
{
|
||||
|
16
common/include/libtwl/sys/twlScfg.h
Normal file
16
common/include/libtwl/sys/twlScfg.h
Normal file
@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
#define REG_SCFG_ROM (*(vu16*)0x04004000)
|
||||
#define REG_SCFG_CLK (*(vu16*)0x04004004)
|
||||
|
||||
#ifdef LIBTWL_ARM9
|
||||
|
||||
#define REG_SCFG_RST (*(vu16*)0x04004006)
|
||||
|
||||
#else
|
||||
|
||||
#define REG_SCFG_JTAG (*(vu16*)0x04004006)
|
||||
|
||||
#endif
|
||||
|
||||
#define REG_SCFG_EXT (*(vu32*)0x04004008)
|
Loading…
Reference in New Issue
Block a user