simplified naming.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
#define TIME_ADJ_TRIG (0x00000024 >> 2)
|
||||
#define CNTSTEP_OPT (0x00000028 >> 2)
|
||||
|
||||
TIMECTRL_INST *tmcInstPtr = NULL;
|
||||
TMC_INST *tmcInstPtr = NULL;
|
||||
PHY_INST *phyInstPtr = NULL;
|
||||
L2_INST *linkInstPtr = NULL;
|
||||
|
||||
@@ -197,7 +197,7 @@ PHY_CONFIG l1Config =
|
||||
.baseAddr = (uintptr_t)phycReg
|
||||
};
|
||||
|
||||
TIMECTRL_CONFIG tmcConfig =
|
||||
TMC_CONFIG tmcConfig =
|
||||
{
|
||||
.baseAddr = (uintptr_t)tmcReg,
|
||||
.reset = 10
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
#define HARDWARE_VERSION 0x00000001
|
||||
#define MAX_OPT_DELAY 100 // 1us = 100*10ns
|
||||
|
||||
TIMECTRL_CONFIG tmcConfig = {
|
||||
TMC_CONFIG tmcConfig = {
|
||||
.baseAddr = 0 /*TODO: fill withe real base address*/,
|
||||
.reset = 10};
|
||||
|
||||
TIMECTRL_INST *tmcInstPtr = NULL;
|
||||
TMC_INST *tmcInstPtr = NULL;
|
||||
|
||||
void tmc_setup(void)
|
||||
{
|
||||
|
||||
@@ -11,11 +11,11 @@
|
||||
|
||||
uint32_t tmcReg[32] = {0};
|
||||
|
||||
TIMECTRL_CONFIG tmcConfig = {
|
||||
TMC_CONFIG tmcConfig = {
|
||||
.baseAddr = 0,
|
||||
.reset = 10};
|
||||
|
||||
TIMECTRL_INST *tmcInstPtr = NULL;
|
||||
TMC_INST *tmcInstPtr = NULL;
|
||||
|
||||
void tmc_setup(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user