Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
HaoJin232
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
ๆถๆ
HaoJin232
Commits
46899d54
Commit
46899d54
authored
Feb 19, 2024
by
ๆถๆ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
๐
init:้ ็ฝฎ็ตๆบ้้,็ต้ป้้
parent
e550853a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
10 deletions
+11
-10
Analog_Signals_QJ350GS_F.xlsm
HJ232_Source/source/Driver/cfg/Analog_Signals_QJ350GS_F.xlsm
+0
-0
Analog_Signals.h
HJ232_Source/source/Driver/inc/Analog_Signals.h
+1
-1
Analog_Signals.c
HJ232_Source/source/Driver/src/Analog_Signals.c
+10
-9
Analog_Signals_QJ350GS_F.xlsm
utility/MCU_Cfg/cfg/Analog_Signals_QJ350GS_F.xlsm
+0
-0
No files found.
HJ232_Source/source/Driver/cfg/Analog_Signals_QJ350GS_F.xlsm
View file @
46899d54
No preview for this file type
HJ232_Source/source/Driver/inc/Analog_Signals.h
View file @
46899d54
...
...
@@ -4,7 +4,7 @@
* \attention
*
* This file is automatically generated by analog signals configuration tool.
* Date : 202
3/9/23 14:09:24
* Date : 202
4/2/19 9:49:52
* Cfg Tool Ver : 1.1.0
* Engineer : LQY
* (c) Heilongjiang TYW electronics co., LTD
...
...
HJ232_Source/source/Driver/src/Analog_Signals.c
View file @
46899d54
...
...
@@ -4,7 +4,7 @@
* \attention
*
* This file is automatically generated by analog signals configuration tool.
* Date : 202
3/9/23 14:09:24
* Date : 202
4/2/19 9:49:52
* Cfg Tool Ver : 1.1.0
* Engineer : LQY
* (c) Heilongjiang TYW electronics co., LTD
...
...
@@ -14,7 +14,6 @@
/* Includes -----------------------------------------------------------------*/
#include "Analog_Signals.h"
/* Private typedef ----------------------------------------------------------*/
typedef
struct
{
...
...
@@ -75,7 +74,7 @@ ADC_Data_st_t stADCData[ADC_SIGNAL_CH_NUMBER];
const
uint8_t
u8ADCChList
[
ADC_CONV_CH_NUMBER
]
=
{
2U
,
3U
,
4
U
,
5U
,
2U
,
3U
,
7
U
,
5U
,
};
const
ADC_Ch_Cfg_st_t
stADCChCfg
[
ADC_SIGNAL_CH_NUMBER
]
=
...
...
@@ -88,10 +87,10 @@ const ADC_Ch_Cfg_st_t stADCChCfg[ADC_SIGNAL_CH_NUMBER] =
const
ADC_Res_List_st_t
stADCResList
[
ADC_SIGNAL_CH_NUMBER
]
=
{
{
330000U
,
10000
0U
,
0U
,
0U
,},
{
330000U
,
10000
0U
,
0U
,
0U
,},
{
0U
,
10000
0U
,
0U
,
0U
,},
{
0U
,
180000U
,
155
0U
,
300U
,},
{
33U
,
1
0U
,
0U
,
0U
,},
{
33U
,
1
0U
,
0U
,
0U
,},
{
0U
,
0U
,
0U
,
0U
,},
{
0U
,
0U
,
67
0U
,
300U
,},
};
/* Private function prototypes ----------------------------------------------*/
...
...
@@ -101,7 +100,10 @@ void Analog_Signal_Conv_Init(void)
{
uint8_t
i
;
ADC_Stop_Conversion
();
//while(ADC_Get_Conversion_Status())//shi ่ท้ฑๆฑไฟๆไธ่ด,่ชๅจ็ๆๅ,ๅฑ่ฝwhile
//{
ADC_Stop_Conversion
();
//}
ADC_Init
();
...
...
@@ -139,7 +141,6 @@ void Analog_Signal_Conv_Stop(void)
void
Analog_Signal_Conv_Service
(
void
)
{
uint8_t
u8Valid
;
uint16_t
u16Voltage
;
uint16_t
u16Reference
;
...
...
utility/MCU_Cfg/cfg/Analog_Signals_QJ350GS_F.xlsm
View file @
46899d54
No preview for this file type
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