Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZhongTong-ZR5-A
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵康弘
ZhongTong-ZR5-A
Commits
cdac3953
Commit
cdac3953
authored
Sep 27, 2025
by
赵康弘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: U16控制流程已通
parent
92c5b596
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
72 additions
and
72 deletions
+72
-72
test_Port_Port_ecuc.arxml
Config/Config292/Config/ECUC/test_Port_Port_ecuc.arxml
+16
-16
Port_Cfg.h
Config/Config292/Output/Port_OutPut/include/Port_Cfg.h
+1
-1
Port_PBcfg.c
Config/Config292/Output/Port_OutPut/src/Port_PBcfg.c
+15
-15
PC_Control.c
GHS/App/PC_Control.c
+15
-15
SGM4591Q.c
GHS/App/SGM4591Q.c
+24
-24
Sys_Task_List.c
GHS/System/Sys_Task_List.c
+1
-1
No files found.
Config/Config292/Config/ECUC/test_Port_Port_ecuc.arxml
View file @
cdac3953
This diff is collapsed.
Click to expand it.
Config/Config292/Output/Port_OutPut/include/Port_Cfg.h
View file @
cdac3953
...
...
@@ -66,7 +66,7 @@
* E:\Git\中通\ZhongTong-ZR5-A\Config\Config292\generator\BSWMDT\R431_PORT_U2A8_BSWMDT.arxml
* E:\Git\中通\ZhongTong-ZR5-A\Config\Config292\stubs\Dem\xml\Dem_Port.arxml
* E:\Git\中通\ZhongTong-ZR5-A\Config\Config292\Translation.trxml
* GENERATED ON: 27 Sep 2025 - 1
1:58:57
* GENERATED ON: 27 Sep 2025 - 1
4:40:31
*/
...
...
Config/Config292/Output/Port_OutPut/src/Port_PBcfg.c
View file @
cdac3953
...
...
@@ -66,7 +66,7 @@
* E:\Git\中通\ZhongTong-ZR5-A\Config\Config292\generator\BSWMDT\R431_PORT_U2A8_BSWMDT.arxml
* E:\Git\中通\ZhongTong-ZR5-A\Config\Config292\stubs\Dem\xml\Dem_Port.arxml
* E:\Git\中通\ZhongTong-ZR5-A\Config\Config292\Translation.trxml
* GENERATED ON: 27 Sep 2025 - 1
1:58:57
* GENERATED ON: 27 Sep 2025 - 1
4:40:31
*/
...
...
@@ -2375,7 +2375,7 @@ CONST(Port_Pin_Config, PORT_CONFIG_DATA) Port_GaaPinConfig[] =
/* Index: 96 - PortConfigSet_0_PortGroup21_PortPin4 */
{
/* usChangeable */
0x000
0
U
,
0x000
1
U
,
/* usPortType */
0x0001U
,
...
...
@@ -2398,7 +2398,7 @@ CONST(Port_Pin_Config, PORT_CONFIG_DATA) Port_GaaPinConfig[] =
/* Index: 97 - PortConfigSet_0_PortGroup21_PortPin5 */
{
/* usChangeable */
0x000
0
U
,
0x000
1
U
,
/* usPortType */
0x0001U
,
...
...
@@ -2421,7 +2421,7 @@ CONST(Port_Pin_Config, PORT_CONFIG_DATA) Port_GaaPinConfig[] =
/* Index: 98 - PortConfigSet_0_PortGroup21_PortPin6 */
{
/* usChangeable */
0x000
0
U
,
0x000
1
U
,
/* usPortType */
0x0001U
,
...
...
@@ -2444,7 +2444,7 @@ CONST(Port_Pin_Config, PORT_CONFIG_DATA) Port_GaaPinConfig[] =
/* Index: 99 - PortConfigSet_0_PortGroup21_PortPin7 */
{
/* usChangeable */
0x000
0
U
,
0x000
1
U
,
/* usPortType */
0x0001U
,
...
...
@@ -2467,7 +2467,7 @@ CONST(Port_Pin_Config, PORT_CONFIG_DATA) Port_GaaPinConfig[] =
/* Index: 100 - PortConfigSet_0_PortGroup22_PortPin0 */
{
/* usChangeable */
0x000
0
U
,
0x000
1
U
,
/* usPortType */
0x0001U
,
...
...
@@ -2490,7 +2490,7 @@ CONST(Port_Pin_Config, PORT_CONFIG_DATA) Port_GaaPinConfig[] =
/* Index: 101 - PortConfigSet_0_PortGroup22_PortPin1 */
{
/* usChangeable */
0x000
0
U
,
0x000
1
U
,
/* usPortType */
0x0001U
,
...
...
@@ -2536,7 +2536,7 @@ CONST(Port_Pin_Config, PORT_CONFIG_DATA) Port_GaaPinConfig[] =
/* Index: 103 - PortConfigSet_0_PortGroup22_PortPin3 */
{
/* usChangeable */
0x000
0
U
,
0x000
1
U
,
/* usPortType */
0x0001U
,
...
...
@@ -2559,7 +2559,7 @@ CONST(Port_Pin_Config, PORT_CONFIG_DATA) Port_GaaPinConfig[] =
/* Index: 104 - PortConfigSet_0_PortGroup22_PortPin4 */
{
/* usChangeable */
0x000
0
U
,
0x000
1
U
,
/* usPortType */
0x0001U
,
...
...
@@ -5300,7 +5300,7 @@ CONST(Port_Reg_Init, PORT_CONFIG_DATA) Port_GaaPortConfig[] =
0x0000U
,
/* P */
0x00
0
0U
,
0x00
B
0U
,
/* Reserve */
0x0000U
,
...
...
@@ -5320,7 +5320,7 @@ CONST(Port_Reg_Init, PORT_CONFIG_DATA) Port_GaaPortConfig[] =
/* Index: 0 - Register Value */
{
/* PMC */
0x00
1C
U
,
0x00
04
U
,
/* PM */
0xFFFBU
,
...
...
@@ -5332,13 +5332,13 @@ CONST(Port_Reg_Init, PORT_CONFIG_DATA) Port_GaaPortConfig[] =
0x0000U
,
/* PFC */
0x00
1C
U
,
0x00
04
U
,
/* PFCE */
0x00
1C
U
,
0x00
04
U
,
/* PFCAE */
0x000
8
U
,
0x000
0
U
,
/* Reserve */
0x0000U
,
...
...
@@ -5410,7 +5410,7 @@ CONST(Port_Reg_Init, PORT_CONFIG_DATA) Port_GaaPortConfig[] =
0x0000U
,
/* P */
0x001
0
U
,
0x001
B
U
,
/* Reserve */
0x0000U
,
...
...
GHS/App/PC_Control.c
View file @
cdac3953
...
...
@@ -5,10 +5,10 @@
/*此文件用于上位机控制U16和U48*/
/*U16*/
void
PC_Control_U16
(
void
)
{
uint8_t
state_23
=
1
;
/*U16*/
void
PC_Control_U16
(
void
)
{
uint8_t
state_24
=
1
;
/*DIA_EN 引脚置为高电平*/
...
...
@@ -29,18 +29,18 @@ void PC_Control_U16(void)
}
/*OUT24*/
if
(
state_24
==
1
)
{
TPS2HB35_SetOutput3A_OUT24
(
1
);
}
else
if
(
state_24
==
0
)
{
TPS2HB35_SetOutput3A_OUT24
(
0
);
}
else
{
;
}
//
if (state_24 == 1)
//
{
//
TPS2HB35_SetOutput3A_OUT24(1);
//
}
//
else if (state_24 == 0)
//
{
//
TPS2HB35_SetOutput3A_OUT24(0);
//
}
//
else
//
{
//
;
//
}
}
/*U48*/
...
...
GHS/App/SGM4591Q.c
View file @
cdac3953
...
...
@@ -321,7 +321,7 @@ void SGM4591Q_Global_Control(uint8_t Chip, uint8_t Segment)
{
if
(
SGM4591Q_Chip1_1_Segment0
.
UINT8
!=
SGM4591Q_Chip1_1_Segment0_Last
)
{
SGM4591Q_IIC
2
_Send
(
0xE8
,
0x02
,
SGM4591Q_Chip1_1_Segment0
.
UINT8
);
SGM4591Q_IIC
1
_Send
(
0xE8
,
0x02
,
SGM4591Q_Chip1_1_Segment0
.
UINT8
);
SGM4591Q_Chip1_1_Segment0_Last
=
SGM4591Q_Chip1_1_Segment0
.
UINT8
;
}
}
...
...
@@ -329,7 +329,7 @@ void SGM4591Q_Global_Control(uint8_t Chip, uint8_t Segment)
{
if
(
SGM4591Q_Chip1_1_Segment1
.
UINT8
!=
SGM4591Q_Chip1_1_Segment1_Last
)
{
SGM4591Q_IIC
2
_Send
(
0xE8
,
0x03
,
SGM4591Q_Chip1_1_Segment1
.
UINT8
);
SGM4591Q_IIC
1
_Send
(
0xE8
,
0x03
,
SGM4591Q_Chip1_1_Segment1
.
UINT8
);
SGM4591Q_Chip1_1_Segment1_Last
=
SGM4591Q_Chip1_1_Segment1
.
UINT8
;
}
}
...
...
@@ -339,7 +339,7 @@ void SGM4591Q_Global_Control(uint8_t Chip, uint8_t Segment)
{
if
(
SGM4591Q_Chip1_2_Segment0
.
UINT8
!=
SGM4591Q_Chip1_2_Segment0_Last
)
{
SGM4591Q_IIC
2
_Send
(
0xEC
,
0x02
,
SGM4591Q_Chip1_2_Segment0
.
UINT8
);
SGM4591Q_IIC
1
_Send
(
0xEC
,
0x02
,
SGM4591Q_Chip1_2_Segment0
.
UINT8
);
SGM4591Q_Chip1_2_Segment0_Last
=
SGM4591Q_Chip1_2_Segment0
.
UINT8
;
}
}
...
...
@@ -347,7 +347,7 @@ void SGM4591Q_Global_Control(uint8_t Chip, uint8_t Segment)
{
if
(
SGM4591Q_Chip1_2_Segment1
.
UINT8
!=
SGM4591Q_Chip1_2_Segment1_Last
)
{
SGM4591Q_IIC
2
_Send
(
0xEC
,
0x03
,
SGM4591Q_Chip1_2_Segment1
.
UINT8
);
SGM4591Q_IIC
1
_Send
(
0xEC
,
0x03
,
SGM4591Q_Chip1_2_Segment1
.
UINT8
);
SGM4591Q_Chip1_2_Segment1_Last
=
SGM4591Q_Chip1_2_Segment1
.
UINT8
;
}
}
...
...
@@ -358,7 +358,7 @@ void SGM4591Q_Global_Control(uint8_t Chip, uint8_t Segment)
{
if
(
SGM4591Q_Chip1_3_Segment0
.
UINT8
!=
SGM4591Q_Chip1_3_Segment0_Last
)
{
SGM4591Q_IIC
2
_Send
(
0xEA
,
0x02
,
SGM4591Q_Chip1_3_Segment0
.
UINT8
);
SGM4591Q_IIC
1
_Send
(
0xEA
,
0x02
,
SGM4591Q_Chip1_3_Segment0
.
UINT8
);
SGM4591Q_Chip1_3_Segment0_Last
=
SGM4591Q_Chip1_3_Segment0
.
UINT8
;
}
}
...
...
@@ -366,7 +366,7 @@ void SGM4591Q_Global_Control(uint8_t Chip, uint8_t Segment)
{
if
(
SGM4591Q_Chip1_3_Segment1
.
UINT8
!=
SGM4591Q_Chip1_3_Segment1_Last
)
{
SGM4591Q_IIC
2
_Send
(
0xEA
,
0x03
,
SGM4591Q_Chip1_3_Segment1
.
UINT8
);
SGM4591Q_IIC
1
_Send
(
0xEA
,
0x03
,
SGM4591Q_Chip1_3_Segment1
.
UINT8
);
SGM4591Q_Chip1_3_Segment1_Last
=
SGM4591Q_Chip1_3_Segment1
.
UINT8
;
}
}
...
...
@@ -377,7 +377,7 @@ void SGM4591Q_Global_Control(uint8_t Chip, uint8_t Segment)
{
if
(
SGM4591Q_Chip1_4_Segment0
.
UINT8
!=
SGM4591Q_Chip1_4_Segment0_Last
)
{
SGM4591Q_IIC
2
_Send
(
0xEE
,
0x02
,
SGM4591Q_Chip1_4_Segment0
.
UINT8
);
SGM4591Q_IIC
1
_Send
(
0xEE
,
0x02
,
SGM4591Q_Chip1_4_Segment0
.
UINT8
);
SGM4591Q_Chip1_4_Segment0_Last
=
SGM4591Q_Chip1_4_Segment0
.
UINT8
;
}
}
...
...
@@ -385,7 +385,7 @@ void SGM4591Q_Global_Control(uint8_t Chip, uint8_t Segment)
{
if
(
SGM4591Q_Chip1_4_Segment1
.
UINT8
!=
SGM4591Q_Chip1_4_Segment1_Last
)
{
SGM4591Q_IIC
2
_Send
(
0xEE
,
0x03
,
SGM4591Q_Chip1_4_Segment1
.
UINT8
);
SGM4591Q_IIC
1
_Send
(
0xEE
,
0x03
,
SGM4591Q_Chip1_4_Segment1
.
UINT8
);
SGM4591Q_Chip1_4_Segment1_Last
=
SGM4591Q_Chip1_4_Segment1
.
UINT8
;
}
}
...
...
@@ -472,7 +472,7 @@ void SGM4591Q_Global_Control(uint8_t Chip, uint8_t Segment)
{
if
(
SGM4591Q_Chip3_1_Segment0
.
UINT8
!=
SGM4591Q_Chip3_1_Segment0_Last
)
{
SGM4591Q_IIC
2
_Send
(
0xE8
,
0x02
,
SGM4591Q_Chip3_1_Segment0
.
UINT8
);
SGM4591Q_IIC
3
_Send
(
0xE8
,
0x02
,
SGM4591Q_Chip3_1_Segment0
.
UINT8
);
SGM4591Q_Chip3_1_Segment0_Last
=
SGM4591Q_Chip3_1_Segment0
.
UINT8
;
}
}
...
...
@@ -480,7 +480,7 @@ void SGM4591Q_Global_Control(uint8_t Chip, uint8_t Segment)
{
if
(
SGM4591Q_Chip3_1_Segment1
.
UINT8
!=
SGM4591Q_Chip3_1_Segment1_Last
)
{
SGM4591Q_IIC
2
_Send
(
0xE8
,
0x03
,
SGM4591Q_Chip3_1_Segment1
.
UINT8
);
SGM4591Q_IIC
3
_Send
(
0xE8
,
0x03
,
SGM4591Q_Chip3_1_Segment1
.
UINT8
);
SGM4591Q_Chip3_1_Segment1_Last
=
SGM4591Q_Chip3_1_Segment1
.
UINT8
;
}
}
...
...
@@ -491,7 +491,7 @@ void SGM4591Q_Global_Control(uint8_t Chip, uint8_t Segment)
{
if
(
SGM4591Q_Chip3_2_Segment0
.
UINT8
!=
SGM4591Q_Chip3_2_Segment0_Last
)
{
SGM4591Q_IIC
2
_Send
(
0xEC
,
0x02
,
SGM4591Q_Chip3_2_Segment0
.
UINT8
);
SGM4591Q_IIC
3
_Send
(
0xEC
,
0x02
,
SGM4591Q_Chip3_2_Segment0
.
UINT8
);
SGM4591Q_Chip3_2_Segment0_Last
=
SGM4591Q_Chip3_2_Segment0
.
UINT8
;
}
}
...
...
@@ -499,7 +499,7 @@ void SGM4591Q_Global_Control(uint8_t Chip, uint8_t Segment)
{
if
(
SGM4591Q_Chip3_2_Segment1
.
UINT8
!=
SGM4591Q_Chip3_2_Segment1_Last
)
{
SGM4591Q_IIC
2
_Send
(
0xEC
,
0x03
,
SGM4591Q_Chip3_2_Segment1
.
UINT8
);
SGM4591Q_IIC
3
_Send
(
0xEC
,
0x03
,
SGM4591Q_Chip3_2_Segment1
.
UINT8
);
SGM4591Q_Chip3_2_Segment1_Last
=
SGM4591Q_Chip3_2_Segment1
.
UINT8
;
}
}
...
...
@@ -510,7 +510,7 @@ void SGM4591Q_Global_Control(uint8_t Chip, uint8_t Segment)
{
if
(
SGM4591Q_Chip3_3_Segment0
.
UINT8
!=
SGM4591Q_Chip3_3_Segment0_Last
)
{
SGM4591Q_IIC
2
_Send
(
0xEA
,
0x02
,
SGM4591Q_Chip3_3_Segment0
.
UINT8
);
SGM4591Q_IIC
3
_Send
(
0xEA
,
0x02
,
SGM4591Q_Chip3_3_Segment0
.
UINT8
);
SGM4591Q_Chip3_3_Segment0_Last
=
SGM4591Q_Chip3_3_Segment0
.
UINT8
;
}
}
...
...
@@ -518,7 +518,7 @@ void SGM4591Q_Global_Control(uint8_t Chip, uint8_t Segment)
{
if
(
SGM4591Q_Chip3_3_Segment1
.
UINT8
!=
SGM4591Q_Chip3_3_Segment1_Last
)
{
SGM4591Q_IIC
2
_Send
(
0xEA
,
0x03
,
SGM4591Q_Chip3_3_Segment1
.
UINT8
);
SGM4591Q_IIC
3
_Send
(
0xEA
,
0x03
,
SGM4591Q_Chip3_3_Segment1
.
UINT8
);
SGM4591Q_Chip3_3_Segment1_Last
=
SGM4591Q_Chip3_3_Segment1
.
UINT8
;
}
}
...
...
@@ -529,7 +529,7 @@ void SGM4591Q_Global_Control(uint8_t Chip, uint8_t Segment)
{
if
(
SGM4591Q_Chip1_4_Segment0
.
UINT8
!=
SGM4591Q_Chip1_4_Segment0_Last
)
{
SGM4591Q_IIC
2
_Send
(
0xEE
,
0x02
,
SGM4591Q_Chip1_4_Segment0
.
UINT8
);
SGM4591Q_IIC
3
_Send
(
0xEE
,
0x02
,
SGM4591Q_Chip1_4_Segment0
.
UINT8
);
SGM4591Q_Chip1_4_Segment0_Last
=
SGM4591Q_Chip1_4_Segment0
.
UINT8
;
}
}
...
...
@@ -537,7 +537,7 @@ void SGM4591Q_Global_Control(uint8_t Chip, uint8_t Segment)
{
if
(
SGM4591Q_Chip1_4_Segment1
.
UINT8
!=
SGM4591Q_Chip1_4_Segment1_Last
)
{
SGM4591Q_IIC
2
_Send
(
0xEE
,
0x03
,
SGM4591Q_Chip1_4_Segment1
.
UINT8
);
SGM4591Q_IIC
3
_Send
(
0xEE
,
0x03
,
SGM4591Q_Chip1_4_Segment1
.
UINT8
);
SGM4591Q_Chip1_4_Segment1_Last
=
SGM4591Q_Chip1_4_Segment1
.
UINT8
;
}
}
...
...
@@ -548,7 +548,7 @@ void SGM4591Q_Global_Control(uint8_t Chip, uint8_t Segment)
{
if
(
SGM4591Q_Chip4_1_Segment0
.
UINT8
!=
SGM4591Q_Chip4_1_Segment0_Last
)
{
SGM4591Q_IIC
2
_Send
(
0xE8
,
0x02
,
SGM4591Q_Chip4_1_Segment0
.
UINT8
);
SGM4591Q_IIC
4
_Send
(
0xE8
,
0x02
,
SGM4591Q_Chip4_1_Segment0
.
UINT8
);
SGM4591Q_Chip4_1_Segment0_Last
=
SGM4591Q_Chip4_1_Segment0
.
UINT8
;
}
}
...
...
@@ -556,7 +556,7 @@ void SGM4591Q_Global_Control(uint8_t Chip, uint8_t Segment)
{
if
(
SGM4591Q_Chip4_1_Segment1
.
UINT8
!=
SGM4591Q_Chip4_1_Segment1_Last
)
{
SGM4591Q_IIC
2
_Send
(
0xE8
,
0x03
,
SGM4591Q_Chip4_1_Segment1
.
UINT8
);
SGM4591Q_IIC
4
_Send
(
0xE8
,
0x03
,
SGM4591Q_Chip4_1_Segment1
.
UINT8
);
SGM4591Q_Chip4_1_Segment1_Last
=
SGM4591Q_Chip4_1_Segment1
.
UINT8
;
}
}
...
...
@@ -567,7 +567,7 @@ void SGM4591Q_Global_Control(uint8_t Chip, uint8_t Segment)
{
if
(
SGM4591Q_Chip4_2_Segment0
.
UINT8
!=
SGM4591Q_Chip4_2_Segment0_Last
)
{
SGM4591Q_IIC
2
_Send
(
0xEC
,
0x02
,
SGM4591Q_Chip4_2_Segment0
.
UINT8
);
SGM4591Q_IIC
4
_Send
(
0xEC
,
0x02
,
SGM4591Q_Chip4_2_Segment0
.
UINT8
);
SGM4591Q_Chip4_2_Segment0_Last
=
SGM4591Q_Chip4_2_Segment0
.
UINT8
;
}
}
...
...
@@ -575,7 +575,7 @@ void SGM4591Q_Global_Control(uint8_t Chip, uint8_t Segment)
{
if
(
SGM4591Q_Chip4_2_Segment1
.
UINT8
!=
SGM4591Q_Chip4_2_Segment1_Last
)
{
SGM4591Q_IIC
2
_Send
(
0xEC
,
0x03
,
SGM4591Q_Chip4_2_Segment1
.
UINT8
);
SGM4591Q_IIC
4
_Send
(
0xEC
,
0x03
,
SGM4591Q_Chip4_2_Segment1
.
UINT8
);
SGM4591Q_Chip4_2_Segment1_Last
=
SGM4591Q_Chip4_2_Segment1
.
UINT8
;
}
}
...
...
@@ -586,7 +586,7 @@ void SGM4591Q_Global_Control(uint8_t Chip, uint8_t Segment)
{
if
(
SGM4591Q_Chip4_3_Segment0
.
UINT8
!=
SGM4591Q_Chip4_3_Segment0_Last
)
{
SGM4591Q_IIC
2
_Send
(
0xEA
,
0x02
,
SGM4591Q_Chip4_3_Segment0
.
UINT8
);
SGM4591Q_IIC
4
_Send
(
0xEA
,
0x02
,
SGM4591Q_Chip4_3_Segment0
.
UINT8
);
SGM4591Q_Chip4_3_Segment0_Last
=
SGM4591Q_Chip4_3_Segment0
.
UINT8
;
}
}
...
...
@@ -594,7 +594,7 @@ void SGM4591Q_Global_Control(uint8_t Chip, uint8_t Segment)
{
if
(
SGM4591Q_Chip4_3_Segment1
.
UINT8
!=
SGM4591Q_Chip4_3_Segment1_Last
)
{
SGM4591Q_IIC
2
_Send
(
0xEA
,
0x03
,
SGM4591Q_Chip4_3_Segment1
.
UINT8
);
SGM4591Q_IIC
4
_Send
(
0xEA
,
0x03
,
SGM4591Q_Chip4_3_Segment1
.
UINT8
);
SGM4591Q_Chip4_3_Segment1_Last
=
SGM4591Q_Chip4_3_Segment1
.
UINT8
;
}
}
...
...
@@ -605,7 +605,7 @@ void SGM4591Q_Global_Control(uint8_t Chip, uint8_t Segment)
{
if
(
SGM4591Q_Chip1_4_Segment0
.
UINT8
!=
SGM4591Q_Chip1_4_Segment0_Last
)
{
SGM4591Q_IIC
2
_Send
(
0xEE
,
0x02
,
SGM4591Q_Chip1_4_Segment0
.
UINT8
);
SGM4591Q_IIC
4
_Send
(
0xEE
,
0x02
,
SGM4591Q_Chip1_4_Segment0
.
UINT8
);
SGM4591Q_Chip1_4_Segment0_Last
=
SGM4591Q_Chip1_4_Segment0
.
UINT8
;
}
}
...
...
@@ -613,7 +613,7 @@ void SGM4591Q_Global_Control(uint8_t Chip, uint8_t Segment)
{
if
(
SGM4591Q_Chip1_4_Segment1
.
UINT8
!=
SGM4591Q_Chip1_4_Segment1_Last
)
{
SGM4591Q_IIC
2
_Send
(
0xEE
,
0x03
,
SGM4591Q_Chip1_4_Segment1
.
UINT8
);
SGM4591Q_IIC
4
_Send
(
0xEE
,
0x03
,
SGM4591Q_Chip1_4_Segment1
.
UINT8
);
SGM4591Q_Chip1_4_Segment1_Last
=
SGM4591Q_Chip1_4_Segment1
.
UINT8
;
}
}
...
...
GHS/System/Sys_Task_List.c
View file @
cdac3953
...
...
@@ -108,7 +108,7 @@ void Sys_100ms_Tasks(void)
ADC_4
=
g_u16ADCValue
[
i
];
}
}
SGM4591Q_Control
();
//
SGM4591Q_Control();
// Port_SetPinDirection(Port_Config_PortGroup4_PortPin8, PORT_PIN_OUT);
Dio_WriteChannel
(
DioConf_DioChannel_P04_08
,
STD_LOW
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment