-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdgmodul1.c
More file actions
78 lines (63 loc) · 1.44 KB
/
dgmodul1.c
File metadata and controls
78 lines (63 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/*
* Copyright (c) 2015-2020, Renesas Electronics Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include "common.h"
#include "dgtable.h"
#include "dgmodul1.h"
#include "devdrv.h"
#include "devdrv.h"
#include "bit.h"
#include "cpudrv.h"
#include "scifdrv.h"
extern const char *const AllHelpMess[ALL_HELP_MESS_LINE];
extern const com_menu MonCom[COMMAND_UNIT];
extern int32_t gComNo;
extern char gKeyBuf[64];
uint32_t gFLASH_CS1_ID;
/****************************************************************
MODULE : dgHelp *
FUNCTION : HELP MESSAGE *
COMMAND : H *
INPUT PARAMETER : H *
*****************************************************************/
void dgHelp(void)
{
char tmp[64],chPtr,helpNo;
chPtr=0;
if(!GetStrBlk(gKeyBuf,tmp,&chPtr,0)){
PutMess(AllHelpMess);
}
}
int32_t GetStr_ByteCount(char *str,uint32_t getByteCount)
{
uint32_t byteCount;
int32_t i;
for(byteCount=1;byteCount<=getByteCount;byteCount=byteCount+1){
i=1;
while(i==1){
i=GetChar(str);
}
str++;
i=1;
while(i==1){
i=GetChar(str);
}
str++;
}
*str = 0;
}
void dgScifSpeedUp(void)
{
dgScifSpeedUp_921600();
}
/****************************************************************
MODULE : dgScifSpeedUp *
FUNCTION : Scif speed UP Change 921.6kbps *
COMMAND : SUP *
INPUT PARAMETER : SUP *
*****************************************************************/
void dgScifSpeedUp_921600(void)
{
}