Compare commits

..

No commits in common. "008da09869ccdbed4f9ce8314c458b384b097b98" and "20120915e4ff2dc1b1e0fdb9a3007e460f26bb4f" have entirely different histories.

198 changed files with 55346 additions and 3930 deletions

View File

@ -1,18 +0,0 @@
{
"configurations": [
{
"name": "windows-gcc-x64",
"includePath": [
"${workspaceFolder}/**"
],
"compilerPath": "E:/Softwares/mingw64/bin/gcc.exe",
"cStandard": "${default}",
"cppStandard": "${default}",
"intelliSenseMode": "windows-gcc-x64",
"compilerArgs": [
""
]
}
],
"version": 4
}

24
.vscode/launch.json vendored
View File

@ -1,24 +0,0 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "C/C++ Runner: Debug Session",
"type": "cppdbg",
"request": "launch",
"args": [],
"stopAtEntry": false,
"externalConsole": true,
"cwd": "f:/Desktop/Work/00_Projects/03_Actuator_Digital_Testing/00_Code/00_New/acdt/users/Src",
"program": "f:/Desktop/Work/00_Projects/03_Actuator_Digital_Testing/00_Code/00_New/acdt/users/Src/build/Debug/outDebug",
"MIMode": "gdb",
"miDebuggerPath": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}

62
.vscode/settings.json vendored
View File

@ -2,64 +2,6 @@
"C_Cpp.errorSquiggles": "disabled", "C_Cpp.errorSquiggles": "disabled",
"files.associations": { "files.associations": {
"provalctrl.h": "c", "provalctrl.h": "c",
"timer.h": "c", "timer.h": "c"
"mf5803.h": "c" }
},
"C_Cpp_Runner.cCompilerPath": "gcc",
"C_Cpp_Runner.cppCompilerPath": "g++",
"C_Cpp_Runner.debuggerPath": "gdb",
"C_Cpp_Runner.cStandard": "",
"C_Cpp_Runner.cppStandard": "",
"C_Cpp_Runner.msvcBatchPath": "C:/Program Files/Microsoft Visual Studio/VR_NR/Community/VC/Auxiliary/Build/vcvarsall.bat",
"C_Cpp_Runner.useMsvc": false,
"C_Cpp_Runner.warnings": [
"-Wall",
"-Wextra",
"-Wpedantic",
"-Wshadow",
"-Wformat=2",
"-Wcast-align",
"-Wconversion",
"-Wsign-conversion",
"-Wnull-dereference"
],
"C_Cpp_Runner.msvcWarnings": [
"/W4",
"/permissive-",
"/w14242",
"/w14287",
"/w14296",
"/w14311",
"/w14826",
"/w44062",
"/w44242",
"/w14905",
"/w14906",
"/w14263",
"/w44265",
"/w14928"
],
"C_Cpp_Runner.enableWarnings": true,
"C_Cpp_Runner.warningsAsError": false,
"C_Cpp_Runner.compilerArgs": [],
"C_Cpp_Runner.linkerArgs": [],
"C_Cpp_Runner.includePaths": [],
"C_Cpp_Runner.includeSearch": [
"*",
"**/*"
],
"C_Cpp_Runner.excludeSearch": [
"**/build",
"**/build/**",
"**/.*",
"**/.*/**",
"**/.vscode",
"**/.vscode/**"
],
"C_Cpp_Runner.useAddressSanitizer": false,
"C_Cpp_Runner.useUndefinedSanitizer": false,
"C_Cpp_Runner.useLeakSanitizer": false,
"C_Cpp_Runner.showCompilationTime": false,
"C_Cpp_Runner.useLinkTimeOptimization": false,
"C_Cpp_Runner.msvcSecureNoWarnings": false
} }

View File

@ -4,47 +4,45 @@
struct ch395q_t g_ch395q_sta; struct ch395q_t g_ch395q_sta;
/** /**
* @brief ch395_gpio初始化 * @brief ch395_gpio初始化
* @param * @param
* @retval * @retval
*/ */
void ch395_gpio_init( void ) void ch395_gpio_init( void )
{ {
GPIO_InitTypeDef gpio_init_struct; GPIO_InitTypeDef gpio_init_struct;
CH395_SCS_GPIO_CLK_ENABLE(); /* 使能SCS时钟 */ CH395_SCS_GPIO_CLK_ENABLE(); /* 使能SCS时钟 */
CH395_INT_GPIO_CLK_ENABLE(); /* 使能INT时钟 */ CH395_INT_GPIO_CLK_ENABLE(); /* 使能INT时钟 */
CH395_RST_GPIO_CLK_ENABLE(); /* 使能RST时钟 */ CH395_RST_GPIO_CLK_ENABLE(); /* 使能RST时钟 */
/* SCS */ /* SCS */
gpio_init_struct.Pin = CH395_SCS_GPIO_PIN; gpio_init_struct.Pin = CH395_SCS_GPIO_PIN;
gpio_init_struct.Speed = GPIO_SPEED_FREQ_MEDIUM; gpio_init_struct.Speed = GPIO_SPEED_FREQ_MEDIUM;
gpio_init_struct.Mode = GPIO_MODE_OUTPUT_PP; /* 推拉输出 */ gpio_init_struct.Mode = GPIO_MODE_OUTPUT_PP; /* 推拉输出 */
HAL_GPIO_Init( CH395_SCS_GPIO_PORT, &gpio_init_struct ); HAL_GPIO_Init( CH395_SCS_GPIO_PORT, &gpio_init_struct );
ch395_scs_low; ch395_scs_low;
/* 初始化中断引脚 */ /* 初始化中断引脚 */
gpio_init_struct.Pin = CH395_INT_GPIO_PIN; gpio_init_struct.Pin = CH395_INT_GPIO_PIN;
gpio_init_struct.Mode = GPIO_MODE_INPUT; /* 输入 */ gpio_init_struct.Mode = GPIO_MODE_INPUT; /* 输入 */
gpio_init_struct.Pull = GPIO_PULLUP; /* 上拉 */ gpio_init_struct.Pull = GPIO_PULLUP; /* 上拉 */
gpio_init_struct.Speed = GPIO_SPEED_FREQ_HIGH; /* 高速 */ gpio_init_struct.Speed = GPIO_SPEED_FREQ_HIGH; /* 高速 */
HAL_GPIO_Init( CH395_INT_GPIO_PORT, &gpio_init_struct ); HAL_GPIO_Init( CH395_INT_GPIO_PORT, &gpio_init_struct );
gpio_init_struct.Pin = CH395_RST_GPIO_PIN; gpio_init_struct.Pin = CH395_RST_GPIO_PIN;
gpio_init_struct.Mode = GPIO_MODE_OUTPUT_PP; /* 输出 */ gpio_init_struct.Mode = GPIO_MODE_OUTPUT_PP; /* 输出 */
gpio_init_struct.Pull = GPIO_PULLUP; /* 上拉 */ gpio_init_struct.Speed = GPIO_SPEED_FREQ_HIGH; /* 高速 */
gpio_init_struct.Speed = GPIO_SPEED_FREQ_HIGH; /* 高速 */ gpio_init_struct.Pull = GPIO_PULLUP; /* 上拉 */
HAL_GPIO_Init( CH395_RST_GPIO_PORT, &gpio_init_struct ); HAL_GPIO_Init( CH395_RST_GPIO_PORT, &gpio_init_struct );
HAL_GPIO_WritePin(CH395_RST_GPIO_PORT, CH395_RST_GPIO_PIN, GPIO_PIN_SET); HAL_GPIO_WritePin(CH395_RST_GPIO_PORT, CH395_RST_GPIO_PIN, GPIO_PIN_SET);
HAL_GPIO_WritePin(CH395Q_TX_CTRL_GPIO_Port, CH395Q_TX_CTRL_Pin, GPIO_PIN_SET);
HAL_Delay(20); HAL_Delay(20);
} }
/** /**
* @brief ch395关闭spi * @brief ch395关闭spi
* @param * @param
* @retval * @retval
*/ */
void ch395_spi_off( void ) void ch395_spi_off( void )
{ {
@ -55,76 +53,76 @@ void ch395_spi_off( void )
/* SCK\SDI\SDO */ /* SCK\SDI\SDO */
gpio_init_struct.Pin = GPIO_PIN_10|GPIO_PIN_11|GPIO_PIN_12; gpio_init_struct.Pin = GPIO_PIN_10|GPIO_PIN_11|GPIO_PIN_12;
gpio_init_struct.Speed = GPIO_SPEED_FREQ_MEDIUM; gpio_init_struct.Speed = GPIO_SPEED_FREQ_MEDIUM;
gpio_init_struct.Mode = GPIO_MODE_OUTPUT_OD; /* 开漏输出 */ gpio_init_struct.Mode = GPIO_MODE_OUTPUT_OD; /* 开漏输出 */
HAL_GPIO_Init( GPIOC, &gpio_init_struct ); HAL_GPIO_Init( GPIOC, &gpio_init_struct );
HAL_GPIO_WritePin(GPIOC, GPIO_PIN_10|GPIO_PIN_11|GPIO_PIN_12, GPIO_PIN_SET); HAL_GPIO_WritePin(GPIOC, GPIO_PIN_10|GPIO_PIN_11|GPIO_PIN_12, GPIO_PIN_SET);
} }
/** /**
* @brief SPI1读写一个字节数据 * @brief SPI1读写一个字节数据
* @param txdata : (1) * @param txdata : (1)
* @retval (1) * @retval (1)
*/ */
uint8_t spi2_read_write_byte(uint8_t txdata) uint8_t spi2_read_write_byte(uint8_t txdata)
{ {
uint8_t rxdata; uint8_t rxdata;
HAL_SPI_TransmitReceive(&hspi2, &txdata, &rxdata, 1, 1000); HAL_SPI_TransmitReceive(&hspi2, &txdata, &rxdata, 1, 1000);
return rxdata; /* 返回收到的数据 */ return rxdata; /* 返回收到的数据 */
} }
/** /**
* @brief SPI输出且输入8个位数据 * @brief SPI输出且输入8个位数据
* @param d:ch395的数据 * @param d:ch395的数据
* @retval * @retval
*/ */
uint8_t ch395_read_write_byte( uint8_t data ) uint8_t ch395_read_write_byte( uint8_t data )
{ {
uint8_t rxdata; uint8_t rxdata;
rxdata = spi2_read_write_byte(data); /* SPI写入一个CH395Q数据并返回一个数据 */ rxdata = spi2_read_write_byte(data); /* SPI写入一个CH395Q数据并返回一个数据 */
return rxdata; /* 返回收到的数据 */ return rxdata; /* 返回收到的数据 */
} }
/** /**
* @brief ch395写命令 * @brief ch395写命令
* @param ch395的命令码 * @param ch395的命令码
* @retval * @retval
*/ */
void ch395_write_cmd( uint8_t mcmd ) void ch395_write_cmd( uint8_t mcmd )
{ {
ch395_scs_hign; /* 防止CS原来为低先将CS置高 */ ch395_scs_hign; /* 防止CS原来为低先将CS置高 */
ch395_scs_low; /* 命令开始CS拉低 */ ch395_scs_low; /* 命令开始CS拉低 */
delay_us(2); delay_us(2);
ch395_read_write_byte(mcmd); /* SPI发送命令码 */ ch395_read_write_byte(mcmd); /* SPI发送命令码 */
delay_us(2); /* 必要延时,延时1.5uS确保读写周期不小于1.5uS */ delay_us(2); /* 必要延时,延时1.5uS确保读写周期不小于1.5uS */
} }
/** /**
* @brief ch395写数据 * @brief ch395写数据
* @param ch395的数据 * @param ch395的数据
* @retval * @retval
*/ */
void ch395_write_data( uint8_t mdata ) void ch395_write_data( uint8_t mdata )
{ {
ch395_read_write_byte(mdata); /* SPI发送数据 */ ch395_read_write_byte(mdata); /* SPI发送数据 */
} }
/** /**
* @brief ch395读数据 * @brief ch395读数据
* @param * @param
* @retval * @retval
*/ */
uint8_t ch395_read_data( void ) uint8_t ch395_read_data( void )
{ {
uint8_t i; uint8_t i;
i = ch395_read_write_byte(0xff); /* SPI读数据 */ i = ch395_read_write_byte(0xff); /* SPI读数据 */
return i; return i;
} }
/** /**
* @brief ch395_keeplive_set * @brief ch395_keeplive_set
* @param * @param
* @retval * @retval
*/ */
void ch395_keeplive_set(void) void ch395_keeplive_set(void)
{ {
@ -134,9 +132,9 @@ void ch395_keeplive_set(void)
} }
/** /**
* @brief ch395 socket配置 * @brief ch395 socket配置
* @param ch395_sokectSocket配置信息 * @param ch395_sokectSocket配置信息
* @retval * @retval
*/ */
uint8_t ch395q_socket_config(ch395_socket * ch395_sokect) uint8_t ch395q_socket_config(ch395_socket * ch395_sokect)
{ {
@ -145,7 +143,7 @@ uint8_t ch395q_socket_config(ch395_socket * ch395_sokect)
return 0; return 0;
} }
// if (g_ch395q_sta.dhcp_status == DHCP_UP) /* DHCP获取成功状态 */ // if (g_ch395q_sta.dhcp_status == DHCP_UP) /* DHCP获取成功状态 */
// { // {
// ch395_sokect->net_info.ip[0] = g_ch395q_sta.ipinf_buf[0]; // ch395_sokect->net_info.ip[0] = g_ch395q_sta.ipinf_buf[0];
// ch395_sokect->net_info.ip[1] = g_ch395q_sta.ipinf_buf[1]; // ch395_sokect->net_info.ip[1] = g_ch395q_sta.ipinf_buf[1];
@ -172,12 +170,12 @@ uint8_t ch395q_socket_config(ch395_socket * ch395_sokect)
// ch395_sokect->net_info.dns2[2] = g_ch395q_sta.ipinf_buf[18]; // ch395_sokect->net_info.dns2[2] = g_ch395q_sta.ipinf_buf[18];
// ch395_sokect->net_info.dns2[3] = g_ch395q_sta.ipinf_buf[19]; // ch395_sokect->net_info.dns2[3] = g_ch395q_sta.ipinf_buf[19];
// } // }
// else /* DHCP获取失败状态设置静态IP地址信息 */ // else /* DHCP获取失败状态设置静态IP地址信息 */
// { // {
// ch395_cmd_set_ipaddr(ch395_sokect->net_config.ipaddr); /* 设置CH395的IP地址 */ // ch395_cmd_set_ipaddr(ch395_sokect->net_config.ipaddr); /* 设置CH395的IP地址 */
// ch395_cmd_set_gw_ipaddr(ch395_sokect->net_config.gwipaddr); /* 设置网关地址 */ // ch395_cmd_set_gw_ipaddr(ch395_sokect->net_config.gwipaddr); /* 设置网关地址 */
// ch395_cmd_set_maskaddr(ch395_sokect->net_config.maskaddr); /* 设置子网掩码默认为255.255.255.0*/ // ch395_cmd_set_maskaddr(ch395_sokect->net_config.maskaddr); /* 设置子网掩码默认为255.255.255.0*/
// printf("静态IP信息.....................................\r\n"); // printf("静态IP信息.....................................\r\n");
// printf("IP:%02d.%02d.%02d.%02d\r\n", (uint16_t)ch395_sokect->net_config.ipaddr[0], (uint16_t)ch395_sokect->net_config.ipaddr[1], (uint16_t)ch395_sokect->net_config.ipaddr[2], (uint16_t)ch395_sokect->net_config.ipaddr[3]); // printf("IP:%02d.%02d.%02d.%02d\r\n", (uint16_t)ch395_sokect->net_config.ipaddr[0], (uint16_t)ch395_sokect->net_config.ipaddr[1], (uint16_t)ch395_sokect->net_config.ipaddr[2], (uint16_t)ch395_sokect->net_config.ipaddr[3]);
// printf("GWIP:%02d.%02d.%02d.%02d\r\n", (uint16_t)ch395_sokect->net_config.gwipaddr[0], (uint16_t)ch395_sokect->net_config.gwipaddr[1], (uint16_t)ch395_sokect->net_config.gwipaddr[2], (uint16_t)ch395_sokect->net_config.gwipaddr[3]); // printf("GWIP:%02d.%02d.%02d.%02d\r\n", (uint16_t)ch395_sokect->net_config.gwipaddr[0], (uint16_t)ch395_sokect->net_config.gwipaddr[1], (uint16_t)ch395_sokect->net_config.gwipaddr[2], (uint16_t)ch395_sokect->net_config.gwipaddr[3]);
// printf("Mask:%02d.%02d.%02d.%02d\r\n", (uint16_t)ch395_sokect->net_config.maskaddr[0], (uint16_t)ch395_sokect->net_config.maskaddr[1], (uint16_t)ch395_sokect->net_config.maskaddr[2], (uint16_t)ch395_sokect->net_config.maskaddr[3]); // printf("Mask:%02d.%02d.%02d.%02d\r\n", (uint16_t)ch395_sokect->net_config.maskaddr[0], (uint16_t)ch395_sokect->net_config.maskaddr[1], (uint16_t)ch395_sokect->net_config.maskaddr[2], (uint16_t)ch395_sokect->net_config.maskaddr[3]);
@ -185,52 +183,51 @@ uint8_t ch395q_socket_config(ch395_socket * ch395_sokect)
// HAL_Delay(10); // HAL_Delay(10);
// } // }
ch395_cmd_set_ipaddr(ch395_sokect->net_config.ipaddr); /* 设置CH395的IP地址 */ ch395_cmd_set_ipaddr(ch395_sokect->net_config.ipaddr); /* 设置CH395的IP地址 */
ch395_cmd_set_gw_ipaddr(ch395_sokect->net_config.gwipaddr); /* 设置网关地址 */ ch395_cmd_set_gw_ipaddr(ch395_sokect->net_config.gwipaddr); /* 设置网关地址 */
ch395_cmd_set_maskaddr(ch395_sokect->net_config.maskaddr); /* 设置子网掩码默认为255.255.255.0*/ ch395_cmd_set_maskaddr(ch395_sokect->net_config.maskaddr); /* 设置子网掩码默认为255.255.255.0*/
printf("静态IP信息.....................................\r\n"); printf("静态IP信息.....................................\r\n");
printf("IP:%02d.%02d.%02d.%02d\r\n", (uint16_t)ch395_sokect->net_config.ipaddr[0], (uint16_t)ch395_sokect->net_config.ipaddr[1], (uint16_t)ch395_sokect->net_config.ipaddr[2], (uint16_t)ch395_sokect->net_config.ipaddr[3]); printf("IP:%02d.%02d.%02d.%02d\r\n", (uint16_t)ch395_sokect->net_config.ipaddr[0], (uint16_t)ch395_sokect->net_config.ipaddr[1], (uint16_t)ch395_sokect->net_config.ipaddr[2], (uint16_t)ch395_sokect->net_config.ipaddr[3]);
printf("GWIP:%02d.%02d.%02d.%02d\r\n", (uint16_t)ch395_sokect->net_config.gwipaddr[0], (uint16_t)ch395_sokect->net_config.gwipaddr[1], (uint16_t)ch395_sokect->net_config.gwipaddr[2], (uint16_t)ch395_sokect->net_config.gwipaddr[3]); printf("GWIP:%02d.%02d.%02d.%02d\r\n", (uint16_t)ch395_sokect->net_config.gwipaddr[0], (uint16_t)ch395_sokect->net_config.gwipaddr[1], (uint16_t)ch395_sokect->net_config.gwipaddr[2], (uint16_t)ch395_sokect->net_config.gwipaddr[3]);
printf("Mask:%02d.%02d.%02d.%02d\r\n", (uint16_t)ch395_sokect->net_config.maskaddr[0], (uint16_t)ch395_sokect->net_config.maskaddr[1], (uint16_t)ch395_sokect->net_config.maskaddr[2], (uint16_t)ch395_sokect->net_config.maskaddr[3]); printf("Mask:%02d.%02d.%02d.%02d\r\n", (uint16_t)ch395_sokect->net_config.maskaddr[0], (uint16_t)ch395_sokect->net_config.maskaddr[1], (uint16_t)ch395_sokect->net_config.maskaddr[2], (uint16_t)ch395_sokect->net_config.maskaddr[3]);
ch395_cmd_init(); ch395_cmd_init();
HAL_Delay(10);
//ch395_cmd_set_macaddr(ch395_sokect->net_config.macaddr); /* 设置MAC地址 */
//ch395_cmd_set_macaddr(ch395_sokect->net_config.macaddr); /* 设置MAC地址 */
memcpy(&g_ch395q_sta.socket[ch395_sokect->socket_index].config, ch395_sokect, sizeof(ch395_socket)); memcpy(&g_ch395q_sta.socket[ch395_sokect->socket_index].config, ch395_sokect, sizeof(ch395_socket));
switch(ch395_sokect->proto) switch(ch395_sokect->proto)
{ {
case CH395Q_SOCKET_UDP: case CH395Q_SOCKET_UDP:
/* socket 为UDP模式 */ /* socket 为UDP模式 */
ch395_set_socket_desip(ch395_sokect->socket_index, ch395_sokect->des_ip); /* 设置socket 0目标IP地址 */ ch395_set_socket_desip(ch395_sokect->socket_index, ch395_sokect->des_ip); /* 设置socket 0目标IP地址 */
ch395_set_socket_prot_type(ch395_sokect->socket_index, PROTO_TYPE_UDP); /* 设置socket 0协议类型 */ ch395_set_socket_prot_type(ch395_sokect->socket_index, PROTO_TYPE_UDP); /* 设置socket 0协议类型 */
ch395_set_socket_desport(ch395_sokect->socket_index, ch395_sokect->des_port); /* 设置socket 0目的端口 */ ch395_set_socket_desport(ch395_sokect->socket_index, ch395_sokect->des_port); /* 设置socket 0目的端口 */
ch395_set_socket_sourport(ch395_sokect->socket_index, ch395_sokect->sour_port); /* 设置socket 0源端口 */ ch395_set_socket_sourport(ch395_sokect->socket_index, ch395_sokect->sour_port); /* 设置socket 0源端口 */
g_ch395q_sta.ch395_error(ch395_open_socket(ch395_sokect->socket_index)); /* 检查是否成功 */ g_ch395q_sta.ch395_error(ch395_open_socket(ch395_sokect->socket_index)); /* 检查是否成功 */
break; break;
case CH395Q_SOCKET_TCP_CLIENT: case CH395Q_SOCKET_TCP_CLIENT:
/* socket 为TCPClient模式 */ /* socket 为TCPClient模式 */
ch395_keeplive_set(); /* 保活设置 */ ch395_keeplive_set(); /* 保活设置 */
ch395_set_socket_desip(ch395_sokect->socket_index, ch395_sokect->des_ip); /* 设置socket 0目标IP地址 */ ch395_set_socket_desip(ch395_sokect->socket_index, ch395_sokect->des_ip); /* 设置socket 0目标IP地址 */
ch395_set_socket_prot_type(ch395_sokect->socket_index, PROTO_TYPE_TCP); /* 设置socket 0协议类型 */ ch395_set_socket_prot_type(ch395_sokect->socket_index, PROTO_TYPE_TCP); /* 设置socket 0协议类型 */
ch395_set_socket_desport(ch395_sokect->socket_index, ch395_sokect->des_port); /* 设置socket 0目的端口 */ ch395_set_socket_desport(ch395_sokect->socket_index, ch395_sokect->des_port); /* 设置socket 0目的端口 */
ch395_set_socket_sourport(ch395_sokect->socket_index, ch395_sokect->sour_port); /* 设置socket 0源端口 */ ch395_set_socket_sourport(ch395_sokect->socket_index, ch395_sokect->sour_port); /* 设置socket 0源端口 */
g_ch395q_sta.ch395_error(ch395_open_socket(ch395_sokect->socket_index)); /* 检查sokect是否打开成功 */ g_ch395q_sta.ch395_error(ch395_open_socket(ch395_sokect->socket_index)); /* 检查sokect是否打开成功 */
g_ch395q_sta.ch395_error(ch395_tcp_connect(ch395_sokect->socket_index)); /* 检查tcp连接是否成功 */ g_ch395q_sta.ch395_error(ch395_tcp_connect(ch395_sokect->socket_index)); /* 检查tcp连接是否成功 */
break; break;
case CH395Q_SOCKET_TCP_SERVER: case CH395Q_SOCKET_TCP_SERVER:
/* socket 为TCPServer模式 */ /* socket 为TCPServer模式 */
//ch395_set_socket_desip(ch395_sokect->socket_index, ch395_sokect->des_ip); /* 设置socket 0目标IP地址 */ //ch395_set_socket_desip(ch395_sokect->socket_index, ch395_sokect->des_ip); /* 设置socket 0目标IP地址 */
ch395_set_socket_prot_type(ch395_sokect->socket_index, PROTO_TYPE_TCP); /* 设置socket 0协议类型 */ ch395_set_socket_prot_type(ch395_sokect->socket_index, PROTO_TYPE_TCP); /* 设置socket 0协议类型 */
ch395_set_socket_sourport(ch395_sokect->socket_index, ch395_sokect->sour_port); /* 设置socket 0源端口 */ ch395_set_socket_sourport(ch395_sokect->socket_index, ch395_sokect->sour_port); /* 设置socket 0源端口 */
HAL_Delay(3000); g_ch395q_sta.ch395_error(ch395_open_socket(ch395_sokect->socket_index)); /* 检查sokect是否打开成功 */
g_ch395q_sta.ch395_error(ch395_open_socket(ch395_sokect->socket_index)); /* 检查sokect是否打开成功 */ g_ch395q_sta.ch395_error(ch395_tcp_listen(ch395_sokect->socket_index)); /* 监听tcp连接 */
g_ch395q_sta.ch395_error(ch395_tcp_listen(ch395_sokect->socket_index)); /* 监听tcp连接 */
break; break;
case CH395Q_SOCKET_MAC_RAW: case CH395Q_SOCKET_MAC_RAW:
ch395_set_socket_prot_type(ch395_sokect->socket_index, PROTO_TYPE_MAC_RAW); /* 设置socket 0协议类型 */ ch395_set_socket_prot_type(ch395_sokect->socket_index, PROTO_TYPE_MAC_RAW); /* 设置socket 0协议类型 */
g_ch395q_sta.ch395_error(ch395_open_socket(ch395_sokect->socket_index)); /* 检查sokect是否打开成功 */ g_ch395q_sta.ch395_error(ch395_open_socket(ch395_sokect->socket_index)); /* 检查sokect是否打开成功 */
break; break;
} }
@ -238,18 +235,18 @@ uint8_t ch395q_socket_config(ch395_socket * ch395_sokect)
} }
/** /**
* @brief 使 * @brief 使
* @param ierror * @param ierror
* @retval * @retval
*/ */
void ch395_error(uint8_t ierror) void ch395_error(uint8_t ierror)
{ {
if (ierror == CMD_ERR_SUCCESS) if (ierror == CMD_ERR_SUCCESS)
{ {
return; /* 操作成功 */ return; /* 操作成功 */
} }
printf("Error: %02X\r\n", (uint16_t)ierror); /* 显示错误 */ printf("Error: %02X\r\n", (uint16_t)ierror); /* 显示错误 */
// while ( 1 ) // while ( 1 )
// { // {
@ -259,9 +256,9 @@ void ch395_error(uint8_t ierror)
} }
/** /**
* @brief CH395 PHY状态 * @brief CH395 PHY状态
* @param phy_statusPHY状态值 * @param phy_statusPHY状态值
* @retval * @retval
*/ */
void ch395_phy_status(uint8_t phy_status) void ch395_phy_status(uint8_t phy_status)
{ {
@ -290,13 +287,13 @@ void ch395_phy_status(uint8_t phy_status)
} }
/** /**
* @brief socket接口的接收与发送缓冲区 * @brief socket接口的接收与发送缓冲区
* @param * @param
* @retval * @retval
*/ */
void ch395_socket_r_s_buf_modify(void) void ch395_socket_r_s_buf_modify(void)
{ {
ch395_set_socket_recv_buf(0,0,4); /* Socket 0 接收缓冲区4*512 = 2K发送缓冲区2*512 = 1K*/ ch395_set_socket_recv_buf(0,0,4); /* Socket 0 接收缓冲区4*512 = 2K发送缓冲区2*512 = 1K*/
ch395_set_socket_send_buf(0,4,2); ch395_set_socket_send_buf(0,4,2);
ch395_set_socket_recv_buf(1,6,4); /* Socket 1 */ ch395_set_socket_recv_buf(1,6,4); /* Socket 1 */
@ -323,9 +320,9 @@ void ch395_socket_r_s_buf_modify(void)
int re_cnt = 0; int re_cnt = 0;
/** /**
* @brief ch395_tcp初始化 * @brief ch395_tcp初始化
* @param * @param
* @retval * @retval
*/ */
void ch395_hardware_init(void) void ch395_hardware_init(void)
{ {
@ -338,25 +335,25 @@ void ch395_hardware_init(void)
g_ch395q_sta.ch395_reconnection = ch395_reconnection; g_ch395q_sta.ch395_reconnection = ch395_reconnection;
g_ch395q_sta.dhcp_status = DHCP_STA; g_ch395q_sta.dhcp_status = DHCP_STA;
i = ch395_cmd_check_exist(0x65); /* 测试命令,用于测试硬件以及接口通讯 */ i = ch395_cmd_check_exist(0x65); /* 测试命令,用于测试硬件以及接口通讯 */
if (i != 0x9a) if (i != 0x9a)
{ {
g_ch395q_sta.ch395_error(i); /* ch395q检测错误 */ g_ch395q_sta.ch395_error(i); /* ch395q检测错误 */
} }
ch395_cmd_reset(); /* 对ch395q复位 */ ch395_cmd_reset(); /* 对ch395q复位 */
HAL_Delay(100); /* 这里必须等待100以上延时 */ HAL_Delay(100); /* 这里必须等待100以上延时 */
g_ch395q_sta.ch395_error(ch395_cmd_init()); /* 初始化ch395q命令 */ g_ch395q_sta.ch395_error(ch395_cmd_init()); /* 初始化ch395q命令 */
ch395_socket_r_s_buf_modify(); ch395_socket_r_s_buf_modify();
// ch395_set_tcpmss(536); // ch395_set_tcpmss(536);
// ch395_set_start_para(FUN_PARA_FLAG_TCP_SERVER | SOCK_CTRL_FLAG_SOCKET_CLOSE); // ch395_set_start_para(FUN_PARA_FLAG_TCP_SERVER | SOCK_CTRL_FLAG_SOCKET_CLOSE);
do do
{ {
g_ch395q_sta.phy_status = ch395_cmd_get_phy_status(); /* 获取PHY状态 */ g_ch395q_sta.phy_status = ch395_cmd_get_phy_status(); /* 获取PHY状态 */
g_ch395q_sta.ch395_phy_cb(g_ch395q_sta.phy_status); /* 判断双工和网速模式 */ g_ch395q_sta.ch395_phy_cb(g_ch395q_sta.phy_status); /* 判断双工和网速模式 */
re_cnt++; re_cnt++;
if(re_cnt > 50) if(re_cnt > 50)
@ -365,58 +362,58 @@ void ch395_hardware_init(void)
} }
while(g_ch395q_sta.phy_status == PHY_DISCONN); while(g_ch395q_sta.phy_status == PHY_DISCONN);
g_ch395q_sta.version = ch395_cmd_get_ver(); /* 获取版本 */ g_ch395q_sta.version = ch395_cmd_get_ver(); /* 获取版本 */
printf("CH395VER : %2x\r\n", (uint16_t)g_ch395q_sta.version); printf("CH395VER : %2x\r\n", (uint16_t)g_ch395q_sta.version);
// i = ch395_dhcp_enable(1); /* 开启DHCP */ // i = ch395_dhcp_enable(1); /* 开启DHCP */
// g_ch395q_sta.ch395_error(i); /* ch395q检测错误 */ // g_ch395q_sta.ch395_error(i); /* ch395q检测错误 */
HAL_Delay(1000); /* ch395q初始化延时 */ HAL_Delay(1000); /* ch395q初始化延时 */
} }
/** /**
* @brief CH395 socket , * @brief CH395 socket ,
* @param sockindex 0~7 * @param sockindex 0~7
* @retval * @retval
*/ */
void ch395_socket_interrupt(uint8_t sockindex) void ch395_socket_interrupt(uint8_t sockindex)
{ {
uint8_t sock_int_socket; uint8_t sock_int_socket;
uint16_t rx_len = 0; uint16_t rx_len = 0;
sock_int_socket = ch395_get_socket_int(sockindex); /* 获取socket 的中断状态 */ sock_int_socket = ch395_get_socket_int(sockindex); /* 获取socket 的中断状态 */
if (sock_int_socket & SINT_STAT_SENBUF_FREE) /* 发送缓冲区空闲,可以继续写入要发送的数据 */ if (sock_int_socket & SINT_STAT_SENBUF_FREE) /* 发送缓冲区空闲,可以继续写入要发送的数据 */
{ {
} }
if (sock_int_socket & SINT_STAT_SEND_OK) /* 发送完成中断 */ if (sock_int_socket & SINT_STAT_SEND_OK) /* 发送完成中断 */
{ {
} }
if (sock_int_socket & SINT_STAT_RECV) /* 接收中断 */ if (sock_int_socket & SINT_STAT_RECV) /* 接收中断 */
{ {
g_ch395q_sta.socket[sockindex].config.recv.size = ch395_get_recv_length(sockindex); /* 获取当前缓冲区内数据长度 */ g_ch395q_sta.socket[sockindex].config.recv.size = ch395_get_recv_length(sockindex); /* 获取当前缓冲区内数据长度 */
rx_len = g_ch395q_sta.socket[sockindex].config.recv.size; rx_len = g_ch395q_sta.socket[sockindex].config.recv.size;
ch395_get_recv_data(sockindex, rx_len, g_ch395q_sta.socket[sockindex].config.recv.buf); /* 读取数据 */ ch395_get_recv_data(sockindex, rx_len, g_ch395q_sta.socket[sockindex].config.recv.buf); /* 读取数据 */
g_ch395q_sta.socket[sockindex].config.recv.buf[rx_len] = '\0'; g_ch395q_sta.socket[sockindex].config.recv.buf[rx_len] = '\0';
modbus_process_tcp(); modbus_process_tcp();
//printf("%s", g_ch395q_sta.socket[sockindex].config.recv.buf); printf("%s", g_ch395q_sta.socket[sockindex].config.recv.buf);
g_ch395q_sta.socket[sockindex].config.recv.recv_flag |= 0x04; g_ch395q_sta.socket[sockindex].config.recv.recv_flag |= 0x04;
} }
if (sock_int_socket & SINT_STAT_CONNECT) /* 连接中断仅在TCP模式下有效 */ if (sock_int_socket & SINT_STAT_CONNECT) /* 连接中断仅在TCP模式下有效 */
{ {
if (g_ch395q_sta.socket[sockindex].config.proto == CH395Q_SOCKET_TCP_CLIENT) if (g_ch395q_sta.socket[sockindex].config.proto == CH395Q_SOCKET_TCP_CLIENT)
{ {
ch395_set_keeplive(sockindex,1); /* 打开KEEPALIVE保活定时器 */ ch395_set_keeplive(sockindex,1); /* 打开KEEPALIVE保活定时器 */
ch395_setttl_num(sockindex,60); /* 设置TTL */ ch395_setttl_num(sockindex,60); /* 设置TTL */
} }
} }
if (sock_int_socket & SINT_STAT_DISCONNECT) /* 断开中断仅在TCP模式下有效 */ if (sock_int_socket & SINT_STAT_DISCONNECT) /* 断开中断仅在TCP模式下有效 */
{ {
g_ch395q_sta.ch395_error(ch395_open_socket(g_ch395q_sta.socket[sockindex].config.socket_index)); g_ch395q_sta.ch395_error(ch395_open_socket(g_ch395q_sta.socket[sockindex].config.socket_index));
@ -431,14 +428,14 @@ void ch395_socket_interrupt(uint8_t sockindex)
default: default:
break; break;
} }
HAL_Delay(200); /* 延时200MS后再次重试没有必要过于频繁连接 */ HAL_Delay(200); /* 延时200MS后再次重试没有必要过于频繁连接 */
} }
if (sock_int_socket & SINT_STAT_TIM_OUT) /* 超时中断仅在TCP模式下有效 */ if (sock_int_socket & SINT_STAT_TIM_OUT) /* 超时中断仅在TCP模式下有效 */
{ {
if (g_ch395q_sta.socket[sockindex].config.proto == CH395Q_SOCKET_TCP_CLIENT) if (g_ch395q_sta.socket[sockindex].config.proto == CH395Q_SOCKET_TCP_CLIENT)
{ {
HAL_Delay(200); /* 延时200MS后再次重试没有必要过于频繁连接 */ HAL_Delay(200); /* 延时200MS后再次重试没有必要过于频繁连接 */
g_ch395q_sta.ch395_error(ch395_open_socket(g_ch395q_sta.socket[sockindex].config.socket_index)); g_ch395q_sta.ch395_error(ch395_open_socket(g_ch395q_sta.socket[sockindex].config.socket_index));
g_ch395q_sta.ch395_error(ch395_tcp_connect(g_ch395q_sta.socket[sockindex].config.socket_index)); g_ch395q_sta.ch395_error(ch395_tcp_connect(g_ch395q_sta.socket[sockindex].config.socket_index));
} }
@ -446,37 +443,36 @@ void ch395_socket_interrupt(uint8_t sockindex)
} }
/** /**
* @brief CH395全局中断函数 * @brief CH395全局中断函数
* @param * @param
* @retval * @retval
*/ */
void ch395_interrupt_handler(void) void ch395_interrupt_handler(void)
{ {
uint16_t init_status; uint16_t init_status;
//uint8_t i;
init_status = ch395_cmd_get_glob_int_status_all(); init_status = ch395_cmd_get_glob_int_status_all();
if (init_status & GINT_STAT_UNREACH) /* 不可达中断,读取不可达信息 */ if (init_status & GINT_STAT_UNREACH) /* 不可达中断,读取不可达信息 */
{ {
ch395_cmd_get_unreachippt(g_ch395q_sta.ipinf_buf); ch395_cmd_get_unreachippt(g_ch395q_sta.ipinf_buf);
} }
if (init_status & GINT_STAT_IP_CONFLI) /* 产生IP冲突中断建议重新修改CH395的 IP并初始化CH395 */ if (init_status & GINT_STAT_IP_CONFLI) /* 产生IP冲突中断建议重新修改CH395的 IP并初始化CH395 */
{ {
} }
if (init_status & GINT_STAT_PHY_CHANGE) /* 产生PHY改变中断 */ if (init_status & GINT_STAT_PHY_CHANGE) /* 产生PHY改变中断 */
{ {
g_ch395q_sta.phy_status = ch395_cmd_get_phy_status(); /* 获取PHY状态 */ g_ch395q_sta.phy_status = ch395_cmd_get_phy_status(); /* 获取PHY状态 */
} }
if (init_status & GINT_STAT_DHCP) /* 处理DHCP中断 */ if (init_status & GINT_STAT_DHCP) /* 处理DHCP中断 */
{ {
g_ch395q_sta.dhcp_status = DHCP_DOWN; g_ch395q_sta.dhcp_status = DHCP_DOWN;
return; return;
// uint8_t i;
// i = ch395_get_dhcp_status(); // i = ch395_get_dhcp_status();
// //
// switch (i) // switch (i)
@ -492,72 +488,72 @@ void ch395_interrupt_handler(void)
// break; // break;
// default: // default:
// g_ch395q_sta.dhcp_status = DHCP_DOWN; // g_ch395q_sta.dhcp_status = DHCP_DOWN;
// /* 设置默认IP地址信息 */ // /* 设置默认IP地址信息 */
// printf("静态IP信息.....................................\r\n"); // printf("静态IP信息.....................................\r\n");
// break; // break;
// } // }
} }
if (init_status & GINT_STAT_SOCK0) if (init_status & GINT_STAT_SOCK0)
{ {
ch395_socket_interrupt(CH395Q_SOCKET_0); /* 处理socket 0中断 */ ch395_socket_interrupt(CH395Q_SOCKET_0); /* 处理socket 0中断 */
} }
if (init_status & GINT_STAT_SOCK1) if (init_status & GINT_STAT_SOCK1)
{ {
ch395_socket_interrupt(CH395Q_SOCKET_1); /* 处理socket 1中断 */ ch395_socket_interrupt(CH395Q_SOCKET_1); /* 处理socket 1中断 */
} }
if (init_status & GINT_STAT_SOCK2) if (init_status & GINT_STAT_SOCK2)
{ {
ch395_socket_interrupt(CH395Q_SOCKET_2); /* 处理socket 2中断 */ ch395_socket_interrupt(CH395Q_SOCKET_2); /* 处理socket 2中断 */
} }
if (init_status & GINT_STAT_SOCK3) if (init_status & GINT_STAT_SOCK3)
{ {
ch395_socket_interrupt(CH395Q_SOCKET_3); /* 处理socket 3中断 */ ch395_socket_interrupt(CH395Q_SOCKET_3); /* 处理socket 3中断 */
} }
if (init_status & GINT_STAT_SOCK4) if (init_status & GINT_STAT_SOCK4)
{ {
ch395_socket_interrupt(CH395Q_SOCKET_4); /* 处理socket 4中断 */ ch395_socket_interrupt(CH395Q_SOCKET_4); /* 处理socket 4中断 */
} }
if (init_status & GINT_STAT_SOCK5) if (init_status & GINT_STAT_SOCK5)
{ {
ch395_socket_interrupt(CH395Q_SOCKET_5); /* 处理socket 5中断 */ ch395_socket_interrupt(CH395Q_SOCKET_5); /* 处理socket 5中断 */
} }
if (init_status & GINT_STAT_SOCK6) if (init_status & GINT_STAT_SOCK6)
{ {
ch395_socket_interrupt(CH395Q_SOCKET_6); /* 处理socket 6中断 */ ch395_socket_interrupt(CH395Q_SOCKET_6); /* 处理socket 6中断 */
} }
if (init_status & GINT_STAT_SOCK7) if (init_status & GINT_STAT_SOCK7)
{ {
ch395_socket_interrupt(CH395Q_SOCKET_7); /* 处理socket 7中断 */ ch395_socket_interrupt(CH395Q_SOCKET_7); /* 处理socket 7中断 */
} }
} }
/** /**
* @brief CH395全局管理函数 * @brief CH395全局管理函数
* @param * @param
* @retval * @retval
*/ */
void ch395q_handler(void) void ch395q_handler(void)
{ {
if (ch395_int_pin_wire == 0) if (ch395_int_pin_wire == 0)
{ {
ch395_interrupt_handler(); /* 中断处理函数 */ ch395_interrupt_handler(); /* 中断处理函数 */
} }
g_ch395q_sta.ch395_reconnection(); /* 检测PHY状态并重新连接 */ g_ch395q_sta.ch395_reconnection(); /* 检测PHY状态并重新连接 */
} }
/** /**
* @brief PHY状态 * @brief PHY状态
* @param * @param
* @retval * @retval
*/ */
void ch395_reconnection(void) void ch395_reconnection(void)
{ {
@ -568,7 +564,7 @@ void ch395_reconnection(void)
if (g_ch395q_sta.socket[socket_index].config.socket_enable == CH395Q_ENABLE) if (g_ch395q_sta.socket[socket_index].config.socket_enable == CH395Q_ENABLE)
{ {
ch395_close_socket(g_ch395q_sta.socket[socket_index].config.socket_index); ch395_close_socket(g_ch395q_sta.socket[socket_index].config.socket_index);
g_ch395q_sta.ch395_error(ch395_dhcp_enable(0)); /* ch395q检测错误 */ g_ch395q_sta.ch395_error(ch395_dhcp_enable(0)); /* ch395q检测错误 */
g_ch395q_sta.socket[socket_index].config.socket_enable = CH395Q_DISABLE; g_ch395q_sta.socket[socket_index].config.socket_enable = CH395Q_DISABLE;
g_ch395q_sta.dhcp_status = DHCP_STA; g_ch395q_sta.dhcp_status = DHCP_STA;
} }
@ -579,61 +575,60 @@ void ch395_reconnection(void)
{ {
if (g_ch395q_sta.dhcp_status == DHCP_STA) if (g_ch395q_sta.dhcp_status == DHCP_STA)
{ {
ch395_cmd_reset(); /* 对ch395q复位 */ ch395_cmd_reset(); /* 对ch395q复位 */
HAL_Delay(100); /* 这里必须等待100以上延时 */ HAL_Delay(100); /* 这里必须等待100以上延时 */
ch395_cmd_init(); ch395_cmd_init();
HAL_Delay(100); /* 这里必须等待100以上延时 */ HAL_Delay(100); /* 这里必须等待100以上延时 */
ch395_socket_r_s_buf_modify(); ch395_socket_r_s_buf_modify();
// ch395_set_tcpmss(536); // ch395_set_tcpmss(536);
// ch395_set_start_para(FUN_PARA_FLAG_TCP_SERVER | SOCK_CTRL_FLAG_SOCKET_CLOSE); // ch395_set_start_para(FUN_PARA_FLAG_TCP_SERVER | SOCK_CTRL_FLAG_SOCKET_CLOSE);
// g_ch395q_sta.ch395_error(ch395_dhcp_enable(1)); /* 开启DHCP */ g_ch395q_sta.ch395_error(ch395_dhcp_enable(1)); /* 开启DHCP */
} }
// do do
// { {
// if (ch395_int_pin_wire == 0) if (ch395_int_pin_wire == 0)
// { {
// ch395_interrupt_handler(); /* 中断处理函数 */ ch395_interrupt_handler(); /* 中断处理函数 */
// } }
// } }
// while (g_ch395q_sta.dhcp_status == DHCP_STA); /* 获取DHCP */ while (g_ch395q_sta.dhcp_status == DHCP_STA); /* 获取DHCP */
switch(g_ch395q_sta.socket[socket_index].config.proto) switch(g_ch395q_sta.socket[socket_index].config.proto)
{ {
case CH395Q_SOCKET_UDP: case CH395Q_SOCKET_UDP:
/* socket 为UDP模式 */ /* socket 为UDP模式 */
ch395_set_socket_desip(socket_index, g_ch395q_sta.socket[socket_index].config.des_ip); /* 设置socket 0目标IP地址 */ ch395_set_socket_desip(socket_index, g_ch395q_sta.socket[socket_index].config.des_ip); /* 设置socket 0目标IP地址 */
ch395_set_socket_prot_type(socket_index, PROTO_TYPE_UDP); /* 设置socket 0协议类型 */ ch395_set_socket_prot_type(socket_index, PROTO_TYPE_UDP); /* 设置socket 0协议类型 */
ch395_set_socket_desport(socket_index, g_ch395q_sta.socket[socket_index].config.des_port); /* 设置socket 0目的端口 */ ch395_set_socket_desport(socket_index, g_ch395q_sta.socket[socket_index].config.des_port); /* 设置socket 0目的端口 */
ch395_set_socket_sourport(socket_index, g_ch395q_sta.socket[socket_index].config.sour_port); /* 设置socket 0源端口 */ ch395_set_socket_sourport(socket_index, g_ch395q_sta.socket[socket_index].config.sour_port); /* 设置socket 0源端口 */
g_ch395q_sta.ch395_error(ch395_open_socket(socket_index)); /* 检查是否成功 */ g_ch395q_sta.ch395_error(ch395_open_socket(socket_index)); /* 检查是否成功 */
break; break;
case CH395Q_SOCKET_TCP_CLIENT: case CH395Q_SOCKET_TCP_CLIENT:
/* socket 为TCPClient模式 */ /* socket 为TCPClient模式 */
ch395_keeplive_set(); /* 保活设置 */ ch395_keeplive_set(); /* 保活设置 */
ch395_set_socket_desip(socket_index, g_ch395q_sta.socket[socket_index].config.des_ip); /* 设置socket 0目标IP地址 */ ch395_set_socket_desip(socket_index, g_ch395q_sta.socket[socket_index].config.des_ip); /* 设置socket 0目标IP地址 */
ch395_set_socket_prot_type(socket_index, PROTO_TYPE_TCP); /* 设置socket 0协议类型 */ ch395_set_socket_prot_type(socket_index, PROTO_TYPE_TCP); /* 设置socket 0协议类型 */
ch395_set_socket_desport(socket_index,g_ch395q_sta.socket[socket_index].config.des_port); /* 设置socket 0目的端口 */ ch395_set_socket_desport(socket_index,g_ch395q_sta.socket[socket_index].config.des_port); /* 设置socket 0目的端口 */
ch395_set_socket_sourport(socket_index,g_ch395q_sta.socket[socket_index].config.sour_port); /* 设置socket 0源端口 */ ch395_set_socket_sourport(socket_index,g_ch395q_sta.socket[socket_index].config.sour_port); /* 设置socket 0源端口 */
g_ch395q_sta.ch395_error(ch395_open_socket(socket_index)); /* 检查sokect是否打开成功 */ g_ch395q_sta.ch395_error(ch395_open_socket(socket_index)); /* 检查sokect是否打开成功 */
g_ch395q_sta.ch395_error(ch395_tcp_connect(socket_index)); /* 检查tcp连接是否成功 */ g_ch395q_sta.ch395_error(ch395_tcp_connect(socket_index)); /* 检查tcp连接是否成功 */
break; break;
case CH395Q_SOCKET_TCP_SERVER: case CH395Q_SOCKET_TCP_SERVER:
/* socket 为TCPServer模式 */ /* socket 为TCPServer模式 */
//ch395_set_socket_desip(socket_index, g_ch395q_sta.socket[socket_index].config.des_ip); /* 设置socket 0目标IP地址 */ ch395_set_socket_desip(socket_index, g_ch395q_sta.socket[socket_index].config.des_ip); /* 设置socket 0目标IP地址 */
ch395_set_socket_prot_type(socket_index, PROTO_TYPE_TCP); /* 设置socket 0协议类型 */ ch395_set_socket_prot_type(socket_index, PROTO_TYPE_TCP); /* 设置socket 0协议类型 */
ch395_set_socket_sourport(socket_index, g_ch395q_sta.socket[socket_index].config.sour_port); /* 设置socket 0源端口 */ ch395_set_socket_sourport(socket_index, g_ch395q_sta.socket[socket_index].config.sour_port); /* 设置socket 0源端口 */
HAL_Delay(3000); g_ch395q_sta.ch395_error(ch395_open_socket(socket_index)); /* 检查sokect是否打开成功 */
g_ch395q_sta.ch395_error(ch395_open_socket(socket_index)); /* 检查sokect是否打开成功 */ g_ch395q_sta.ch395_error(ch395_tcp_listen(socket_index)); /* 监听tcp连接 */
g_ch395q_sta.ch395_error(ch395_tcp_listen(socket_index)); /* 监听tcp连接 */
break; break;
case CH395Q_SOCKET_MAC_RAW: case CH395Q_SOCKET_MAC_RAW:
ch395_set_socket_prot_type(socket_index, PROTO_TYPE_MAC_RAW); /* 设置socket 0协议类型 */ ch395_set_socket_prot_type(socket_index, PROTO_TYPE_MAC_RAW); /* 设置socket 0协议类型 */
g_ch395q_sta.ch395_error(ch395_open_socket(socket_index)); /* 检查sokect是否打开成功 */ g_ch395q_sta.ch395_error(ch395_open_socket(socket_index)); /* 检查sokect是否打开成功 */
break; break;
default: default:
ch395_set_socket_prot_type(socket_index, PROTO_TYPE_TCP); ch395_set_socket_prot_type(socket_index, PROTO_TYPE_TCP);
ch395_set_socket_sourport(socket_index, g_ch395q_sta.socket[socket_index].config.sour_port); /* 设置socket 1~7源端口 */ ch395_set_socket_sourport(socket_index, g_ch395q_sta.socket[socket_index].config.sour_port); /* 设置socket 1~7源端口 */
break; break;
} }
g_ch395q_sta.socket[socket_index].config.socket_enable = CH395Q_ENABLE; g_ch395q_sta.socket[socket_index].config.socket_enable = CH395Q_ENABLE;
@ -643,22 +638,21 @@ void ch395_reconnection(void)
} }
/* 本地网络信息IP地址、网关地址、子网掩码和MAC地址 */ /* 本地网络信息IP地址、网关地址、子网掩码和MAC地址 */
uint8_t ch395_ipaddr[4] = {192,168,114,194}; uint8_t ch395_ipaddr[4] = {192,168,114,194};
uint8_t ch395_gw_ipaddr[4] = {192,168,114,110}; uint8_t ch395_gw_ipaddr[4] = {192,168,114,110};
uint8_t ch395_ipmask[4] = {255,255,255,0}; uint8_t ch395_ipmask[4] = {255,255,255,0};
uint16_t ch395_port = 8080; uint8_t ch395_macaddr[6] = {0x5C,0x53,0x10,0x6C,0x18,0x49};
//uint8_t ch395_macaddr[6] = {0x5C,0x53,0x10,0x6C,0x18,0x49}; /* 远程IP地址设置 */
/* 远程IP地址设置 */
//uint8_t ch395_des_ipaddr[4] = {192,168,1,111}; //uint8_t ch395_des_ipaddr[4] = {192,168,1,111};
static uint8_t socket0_send_buf[] = {"This is from CH395Q\r\n"}; static uint8_t socket0_send_buf[] = {"This is from CH395Q\r\n"};
static uint8_t socket0_recv_buf[1024]; static uint8_t socket0_recv_buf[1024];
ch395_socket cha95_sockct_sta[8]; ch395_socket cha95_sockct_sta[8];
/** /**
* @brief * @brief
* @param * @param
* @retval * @retval
*/ */
void ch395_init(void) void ch395_init(void)
{ {
@ -666,76 +660,22 @@ void ch395_init(void)
// { // {
// ch395q_handler(); // ch395q_handler();
// } // }
// while (g_ch395q_sta.dhcp_status == DHCP_STA); /* 获取DHCP */ // while (g_ch395q_sta.dhcp_status == DHCP_STA); /* 获取DHCP */
for(int n = 0;n < 4;n++) cha95_sockct_sta[0].socket_enable = CH395Q_ENABLE; /* 使能socket对 */
{ cha95_sockct_sta[0].socket_index = CH395Q_SOCKET_0; /* 设置socket对 */
ch395_ipaddr[n] = HoldReg[40 + n]; //memcpy(cha95_sockct_sta[0].des_ip, ch395_des_ipaddr, sizeof(cha95_sockct_sta[0].des_ip)); /* 设置目标IP地址 */
ch395_gw_ipaddr[n] = HoldReg[44 + n]; memcpy(cha95_sockct_sta[0].net_config.ipaddr, ch395_ipaddr, sizeof(cha95_sockct_sta[0].net_config.ipaddr)); /* 设置静态本地IP地址 */
ch395_ipmask[n] = HoldReg[48 + n]; memcpy(cha95_sockct_sta[0].net_config.gwipaddr, ch395_gw_ipaddr, sizeof(cha95_sockct_sta[0].net_config.gwipaddr)); /* 设置静态网关IP地址 */
} memcpy(cha95_sockct_sta[0].net_config.maskaddr, ch395_ipmask, sizeof(cha95_sockct_sta[0].net_config.maskaddr)); /* 设置静态子网掩码地址 */
ch395_port = HoldReg[52]; memcpy(cha95_sockct_sta[0].net_config.macaddr, ch395_macaddr, sizeof(cha95_sockct_sta[0].net_config.macaddr)); /* 设置静态MAC地址 */
cha95_sockct_sta[0].sour_port = 8080; /* 源端口 */
cha95_sockct_sta[0].socket_enable = CH395Q_ENABLE; /* 使能socket对 */ cha95_sockct_sta[0].proto = CH395Q_SOCKET_TCP_SERVER; /* 设置协议 */
cha95_sockct_sta[0].socket_index = CH395Q_SOCKET_0; /* 设置socket对 */ cha95_sockct_sta[0].send.buf = socket0_send_buf; /* 发送数据 */
//memcpy(cha95_sockct_sta[0].des_ip, ch395_des_ipaddr, sizeof(cha95_sockct_sta[0].des_ip)); /* 设置目标IP地址 */ cha95_sockct_sta[0].send.size = sizeof(socket0_send_buf); /* 发送数据大小 */
memcpy(cha95_sockct_sta[0].net_config.ipaddr, ch395_ipaddr, sizeof(cha95_sockct_sta[0].net_config.ipaddr)); /* 设置静态本地IP地址 */ cha95_sockct_sta[0].recv.buf = socket0_recv_buf; /* 接收数据缓冲区 */
memcpy(cha95_sockct_sta[0].net_config.gwipaddr, ch395_gw_ipaddr, sizeof(cha95_sockct_sta[0].net_config.gwipaddr)); /* 设置静态网关IP地址 */ cha95_sockct_sta[0].recv.size = sizeof(socket0_recv_buf); /* 接收数据大小 */
memcpy(cha95_sockct_sta[0].net_config.maskaddr, ch395_ipmask, sizeof(cha95_sockct_sta[0].net_config.maskaddr)); /* 设置静态子网掩码地址 */ ch395q_socket_config(&cha95_sockct_sta[0]); /* 配置socket参数 */
//memcpy(cha95_sockct_sta[0].net_config.macaddr, ch395_macaddr, sizeof(cha95_sockct_sta[0].net_config.macaddr)); /* 设置静态MAC地址 */
cha95_sockct_sta[0].sour_port = 8080; /* 源端口 */
cha95_sockct_sta[0].proto = CH395Q_SOCKET_TCP_SERVER; /* 设置协议 */
cha95_sockct_sta[0].send.buf = socket0_send_buf; /* 发送数据 */
cha95_sockct_sta[0].send.size = sizeof(socket0_send_buf); /* 发送数据大小 */
cha95_sockct_sta[0].recv.buf = socket0_recv_buf; /* 接收数据缓冲区 */
cha95_sockct_sta[0].recv.size = sizeof(socket0_recv_buf); /* 接收数据大小 */
ch395q_socket_config(&cha95_sockct_sta[0]); /* 配置socket参数 */
}
void set_ipv4(void)
{
for(int n = 0;n < 4;n++)
{
ch395_ipaddr[n] = HoldReg[40 + n];
ch395_gw_ipaddr[n] = HoldReg[44 + n];
ch395_ipmask[n] = HoldReg[48 + n];
}
ch395_port = HoldReg[52];
ch395_close_socket(cha95_sockct_sta[0].socket_index);
g_ch395q_sta.ch395_error(ch395_dhcp_enable(0)); /* ch395q检测错误 */
cha95_sockct_sta[0].socket_enable = CH395Q_DISABLE;
g_ch395q_sta.dhcp_status = DHCP_STA;
HAL_Delay(500);
ch395_cmd_reset(); /* 对ch395q复位 */
HAL_Delay(500); /* 这里必须等待100以上延时 */
g_ch395q_sta.ch395_error(ch395_cmd_init()); /* 初始化ch395q命令 */
ch395_socket_r_s_buf_modify();
do
{
g_ch395q_sta.phy_status = ch395_cmd_get_phy_status(); /* 获取PHY状态 */
g_ch395q_sta.ch395_phy_cb(g_ch395q_sta.phy_status); /* 判断双工和网速模式 */
re_cnt++;
if(re_cnt > 50)
g_ch395q_sta.phy_status = PHY_ERROR;
}
while(g_ch395q_sta.phy_status == PHY_DISCONN);
HAL_Delay(1000);
cha95_sockct_sta[0].socket_enable = CH395Q_ENABLE; /* 使能socket对 */
cha95_sockct_sta[0].socket_index = CH395Q_SOCKET_0; /* 设置socket对 */
memcpy(cha95_sockct_sta[0].net_config.ipaddr, ch395_ipaddr, sizeof(cha95_sockct_sta[0].net_config.ipaddr)); /* 设置静态本地IP地址 */
memcpy(cha95_sockct_sta[0].net_config.gwipaddr, ch395_gw_ipaddr, sizeof(cha95_sockct_sta[0].net_config.gwipaddr)); /* 设置静态网关IP地址 */
memcpy(cha95_sockct_sta[0].net_config.maskaddr, ch395_ipmask, sizeof(cha95_sockct_sta[0].net_config.maskaddr)); /* 设置静态子网掩码地址 */
cha95_sockct_sta[0].sour_port = 8080; /* 源端口 */
ch395q_socket_config(&cha95_sockct_sta[0]); /* 配置socket参数 */
} }

View File

@ -134,6 +134,5 @@ void ch395_hardware_init(void);
uint8_t ch395q_socket_config(ch395_socket * ch395_sokect); uint8_t ch395q_socket_config(ch395_socket * ch395_sokect);
void ch395_reconnection(void); void ch395_reconnection(void);
void ch395_init(void); void ch395_init(void);
void set_ipv4(void);
#endif #endif

View File

@ -3,9 +3,9 @@
#include "ch395.h" #include "ch395.h"
/** /**
* @brief ch395芯片 * @brief ch395芯片
* @param * @param
* @retval * @retval
*/ */
void ch395_cmd_reset(void) void ch395_cmd_reset(void)
{ {
@ -14,9 +14,9 @@ void ch395_cmd_reset(void)
} }
/** /**
* @brief 使ch395进入睡眠状态 * @brief 使ch395进入睡眠状态
* @param * @param
* @retval * @retval
*/ */
void ch395_cmd_sleep(void) void ch395_cmd_sleep(void)
{ {
@ -25,9 +25,9 @@ void ch395_cmd_sleep(void)
} }
/** /**
* @brief 1 * @brief 1
* @param * @param
* @retval 1 * @retval 1
*/ */
uint8_t ch395_cmd_get_ver(void) uint8_t ch395_cmd_get_ver(void)
{ {
@ -39,9 +39,9 @@ uint8_t ch395_cmd_get_ver(void)
} }
/** /**
* @brief * @brief
* @param 1 * @param 1
* @retval ok testdata按位取反 * @retval ok testdata按位取反
*/ */
uint8_t ch395_cmd_check_exist(uint8_t testdata) uint8_t ch395_cmd_check_exist(uint8_t testdata)
{ {
@ -55,9 +55,9 @@ uint8_t ch395_cmd_check_exist(uint8_t testdata)
} }
/** /**
* @brief phych395 phy为100/10m ch395默为自动协商 * @brief phych395 phy为100/10m ch395默为自动协商
* @param phy / * @param phy /
* @retval * @retval
*/ */
void ch395_cmd_set_phy(uint8_t phystat) void ch395_cmd_set_phy(uint8_t phystat)
{ {
@ -67,9 +67,9 @@ void ch395_cmd_set_phy(uint8_t phystat)
} }
/** /**
* @brief phy的状态 * @brief phy的状态
* @param * @param
* @retval ch395phy状态phy参数/ * @retval ch395phy状态phy参数/
*/ */
uint8_t ch395_cmd_get_phy_status(void) uint8_t ch395_cmd_get_phy_status(void)
{ {
@ -82,9 +82,9 @@ uint8_t ch395_cmd_get_phy_status(void)
} }
/** /**
* @brief ch395自动取消中断0x43使 * @brief ch395自动取消中断0x43使
* @param * @param
* @retval * @retval
*/ */
uint8_t ch395_cmd_get_glob_int_status(void) uint8_t ch395_cmd_get_glob_int_status(void)
{ {
@ -97,9 +97,9 @@ uint8_t ch395_cmd_get_glob_int_status(void)
} }
/** /**
* @brief ch395芯片 * @brief ch395芯片
* @param * @param
* @retval * @retval
*/ */
uint8_t ch395_cmd_init(void) uint8_t ch395_cmd_init(void)
{ {
@ -111,17 +111,17 @@ uint8_t ch395_cmd_init(void)
while (1) while (1)
{ {
HAL_Delay(10); /* 延时查询建议2MS以上 */ HAL_Delay(10); /* 延时查询建议2MS以上 */
s = ch395_get_cmd_status(); /* 不能过于频繁查询 */ s = ch395_get_cmd_status(); /* 不能过于频繁查询 */
if (s != CH395_ERR_BUSY) if (s != CH395_ERR_BUSY)
{ {
break; /* 如果CH395芯片返回忙状态 */ break; /* 如果CH395芯片返回忙状态 */
} }
if (i++ > 200) if (i++ > 200)
{ {
return CH395_ERR_UNKNOW; /* 超时退出,本函数需要500MS以上执行完毕 */ return CH395_ERR_UNKNOW; /* 超时退出,本函数需要500MS以上执行完毕 */
} }
} }
@ -129,9 +129,9 @@ uint8_t ch395_cmd_init(void)
} }
/** /**
* @brief ch395串口波特率 * @brief ch395串口波特率
* @param baudrate * @param baudrate
* @retval * @retval
*/ */
void ch395_cmd_set_uart_baud_rate(uint32_t baudrate) void ch395_cmd_set_uart_baud_rate(uint32_t baudrate)
{ {
@ -144,9 +144,9 @@ void ch395_cmd_set_uart_baud_rate(uint32_t baudrate)
} }
/** /**
* @brief * @brief
* @param * @param
* @retval * @retval
*/ */
uint8_t ch395_get_cmd_status(void) uint8_t ch395_get_cmd_status(void)
{ {
@ -159,9 +159,9 @@ uint8_t ch395_get_cmd_status(void)
} }
/** /**
* @brief ch395的ip地址 * @brief ch395的ip地址
* @param ipaddr ip地址 * @param ipaddr ip地址
* @retval * @retval
*/ */
void ch395_cmd_set_ipaddr(uint8_t *ipaddr) void ch395_cmd_set_ipaddr(uint8_t *ipaddr)
{ {
@ -178,9 +178,9 @@ void ch395_cmd_set_ipaddr(uint8_t *ipaddr)
} }
/** /**
* @brief ch395的网关ip地址 * @brief ch395的网关ip地址
* @param ipaddr ip地址 * @param ipaddr ip地址
* @retval * @retval
*/ */
void ch395_cmd_set_gw_ipaddr(uint8_t *gwipaddr) void ch395_cmd_set_gw_ipaddr(uint8_t *gwipaddr)
{ {
@ -197,9 +197,9 @@ void ch395_cmd_set_gw_ipaddr(uint8_t *gwipaddr)
} }
/** /**
* @brief ch395的子网掩码255.255.255.0 * @brief ch395的子网掩码255.255.255.0
* @param maskaddr * @param maskaddr
* @retval * @retval
*/ */
void ch395_cmd_set_maskaddr(uint8_t *maskaddr) void ch395_cmd_set_maskaddr(uint8_t *maskaddr)
{ {
@ -216,9 +216,9 @@ void ch395_cmd_set_maskaddr(uint8_t *maskaddr)
} }
/** /**
* @brief ch395的mac地址 * @brief ch395的mac地址
* @param mcaddr mac地址指针 * @param mcaddr mac地址指针
* @retval * @retval
*/ */
void ch395_cmd_set_macaddr(uint8_t *amcaddr) void ch395_cmd_set_macaddr(uint8_t *amcaddr)
{ {
@ -236,9 +236,9 @@ void ch395_cmd_set_macaddr(uint8_t *amcaddr)
} }
/** /**
* @brief ch395的mac地址 * @brief ch395的mac地址
* @param amcaddr mac地址指针 * @param amcaddr mac地址指针
* @retval * @retval
*/ */
void ch395_cmd_get_macaddr(uint8_t *amcaddr) void ch395_cmd_get_macaddr(uint8_t *amcaddr)
{ {
@ -255,11 +255,11 @@ void ch395_cmd_get_macaddr(uint8_t *amcaddr)
} }
/** /**
* @brief mac过滤 * @brief mac过滤
* @param filtype mac过滤 * @param filtype mac过滤
* @param table0 hash0 * @param table0 hash0
* @param table1 hash1 * @param table1 hash1
* @retval * @retval
*/ */
void ch395_cmd_set_macfilt(uint8_t filtype, uint32_t table0, uint32_t table1) void ch395_cmd_set_macfilt(uint8_t filtype, uint32_t table0, uint32_t table1)
{ {
@ -278,13 +278,13 @@ void ch395_cmd_set_macfilt(uint8_t filtype, uint32_t table0, uint32_t table1)
} }
/** /**
* @brief (ip,port,protocol type) * @brief (ip,port,protocol type)
* @param list * @param list
@arg 1 (ch395inc.h) @arg 1 (ch395inc.h)
@arg 2ip包协议类型 @arg 2ip包协议类型
@arg 3-4 @arg 3-4
@arg 4-8ip地址 @arg 4-8ip地址
* @retval * @retval
*/ */
void ch395_cmd_get_unreachippt(uint8_t *list) void ch395_cmd_get_unreachippt(uint8_t *list)
{ {
@ -301,10 +301,10 @@ void ch395_cmd_get_unreachippt(uint8_t *list)
} }
/** /**
* @brief ip和端口地址tcp server模式下使用 * @brief ip和端口地址tcp server模式下使用
* @param sockindex socket索引 * @param sockindex socket索引
* @param list ip和端口 * @param list ip和端口
* @retval * @retval
*/ */
void ch395_cmd_get_remoteipp(uint8_t sockindex, uint8_t *list) void ch395_cmd_get_remoteipp(uint8_t sockindex, uint8_t *list)
{ {
@ -322,10 +322,10 @@ void ch395_cmd_get_remoteipp(uint8_t sockindex, uint8_t *list)
} }
/** /**
* @brief socket n的目的ip地址 * @brief socket n的目的ip地址
* @param sockindex socket索引 * @param sockindex socket索引
* @param ipaddr ip地址 * @param ipaddr ip地址
* @retval * @retval
*/ */
void ch395_set_socket_desip(uint8_t sockindex, uint8_t *ipaddr) void ch395_set_socket_desip(uint8_t sockindex, uint8_t *ipaddr)
{ {
@ -339,10 +339,10 @@ void ch395_set_socket_desip(uint8_t sockindex, uint8_t *ipaddr)
} }
/** /**
* @brief socket * @brief socket
* @param sockindex socket索引,prottype * @param sockindex socket索引,prottype
* @param socket协议类型定义(ch395inc.h) * @param socket协议类型定义(ch395inc.h)
* @retval * @retval
*/ */
void ch395_set_socket_prot_type(uint8_t sockindex, uint8_t prottype) void ch395_set_socket_prot_type(uint8_t sockindex, uint8_t prottype)
{ {
@ -353,10 +353,10 @@ void ch395_set_socket_prot_type(uint8_t sockindex, uint8_t prottype)
} }
/** /**
* @brief socket n的协议类型 * @brief socket n的协议类型
* @param sockindex socket索引 * @param sockindex socket索引
* @param desprot 2 * @param desprot 2
* @retval * @retval
*/ */
void ch395_set_socket_desport(uint8_t sockindex, uint16_t desprot) void ch395_set_socket_desport(uint8_t sockindex, uint16_t desprot)
{ {
@ -368,10 +368,10 @@ void ch395_set_socket_desport(uint8_t sockindex, uint16_t desprot)
} }
/** /**
* @brief socket n的协议类型 * @brief socket n的协议类型
* @param sockindex socket索引 * @param sockindex socket索引
* @param desprot 2 * @param desprot 2
* @retval * @retval
*/ */
void ch395_set_socket_sourport(uint8_t sockindex, uint16_t surprot) void ch395_set_socket_sourport(uint8_t sockindex, uint16_t surprot)
{ {
@ -383,10 +383,10 @@ void ch395_set_socket_sourport(uint8_t sockindex, uint16_t surprot)
} }
/** /**
* @brief ip模式下socket ip包协议字段 * @brief ip模式下socket ip包协议字段
* @param sockindex socket索引 * @param sockindex socket索引
* @param prototype ipraw模式1字节协议字段 * @param prototype ipraw模式1字节协议字段
* @retval * @retval
*/ */
void ch395_set_socket_ipraw_proto(uint8_t sockindex, uint8_t prototype) void ch395_set_socket_ipraw_proto(uint8_t sockindex, uint8_t prototype)
{ {
@ -397,11 +397,11 @@ void ch395_set_socket_ipraw_proto(uint8_t sockindex, uint8_t prototype)
} }
/** /**
* @brief / ping * @brief / ping
* @param senable :0 / 1, : * @param senable :0 / 1, :
* @arg 1: ping * @arg 1: ping
* @arg 0: ping * @arg 0: ping
* @retval * @retval
*/ */
void ch395_enable_ping(uint8_t enable) void ch395_enable_ping(uint8_t enable)
{ {
@ -411,11 +411,11 @@ void ch395_enable_ping(uint8_t enable)
} }
/** /**
* @brief * @brief
* @param sockindex socket索引 * @param sockindex socket索引
* @param databuf * @param databuf
* @param len * @param len
* @retval * @retval
*/ */
void ch395_send_data(uint8_t sockindex, uint8_t *databuf, uint16_t len) void ch395_send_data(uint8_t sockindex, uint8_t *databuf, uint16_t len)
{ {
@ -435,9 +435,9 @@ void ch395_send_data(uint8_t sockindex, uint8_t *databuf, uint16_t len)
} }
/** /**
* @brief * @brief
* @param sockindex socket索引 * @param sockindex socket索引
* @retval * @retval
*/ */
uint16_t ch395_get_recv_length(uint8_t sockindex) uint16_t ch395_get_recv_length(uint8_t sockindex)
{ {
@ -452,9 +452,9 @@ uint16_t ch395_get_recv_length(uint8_t sockindex)
} }
/** /**
* @brief * @brief
* @param sockindex socket索引 * @param sockindex socket索引
* @retval * @retval
*/ */
void ch395_clear_recv_buf(uint8_t sockindex) void ch395_clear_recv_buf(uint8_t sockindex)
{ {
@ -464,11 +464,11 @@ void ch395_clear_recv_buf(uint8_t sockindex)
} }
/** /**
* @brief * @brief
* @param sockindex socket索引 * @param sockindex socket索引
* @param len * @param len
* @param pbuf * @param pbuf
* @retval * @retval
*/ */
void ch395_get_recv_data(uint8_t sockindex, uint16_t len, uint8_t *pbuf) void ch395_get_recv_data(uint8_t sockindex, uint16_t len, uint8_t *pbuf)
{ {
@ -492,9 +492,9 @@ void ch395_get_recv_data(uint8_t sockindex, uint16_t len, uint8_t *pbuf)
} }
/** /**
* @brief * @brief
* @param count 20 * @param count 20
* @retval * @retval
*/ */
void ch395_cmd_set_retry_count(uint8_t count) void ch395_cmd_set_retry_count(uint8_t count)
{ {
@ -504,9 +504,9 @@ void ch395_cmd_set_retry_count(uint8_t count)
} }
/** /**
* @brief * @brief
* @param period 1000ms * @param period 1000ms
* @retval * @retval
*/ */
void ch395_cmd_set_retry_period(uint16_t period) void ch395_cmd_set_retry_period(uint16_t period)
{ {
@ -517,9 +517,9 @@ void ch395_cmd_set_retry_period(uint16_t period)
} }
/** /**
* @brief socket * @brief socket
* @param sockindex socket索引 * @param sockindex socket索引
* @retval socket n的状态信息1socket ,2tcp状态 * @retval socket n的状态信息1socket ,2tcp状态
*/ */
void ch395_cmd_get_socket_status(uint8_t sockindex, uint8_t *status) void ch395_cmd_get_socket_status(uint8_t sockindex, uint8_t *status)
{ {
@ -531,9 +531,9 @@ void ch395_cmd_get_socket_status(uint8_t sockindex, uint8_t *status)
} }
/** /**
* @brief socket * @brief socket
* @param sockindex socket索引 * @param sockindex socket索引
* @retval * @retval
*/ */
uint8_t ch395_open_socket(uint8_t sockindex) uint8_t ch395_open_socket(uint8_t sockindex)
{ {
@ -545,17 +545,17 @@ uint8_t ch395_open_socket(uint8_t sockindex)
while (1) while (1)
{ {
HAL_Delay(5); /* 延时查询建议2MS以上 */ HAL_Delay(5); /* 延时查询建议2MS以上 */
s = ch395_get_cmd_status(); /* 不能过于频繁查询 */ s = ch395_get_cmd_status(); /* 不能过于频繁查询 */
if (s != CH395_ERR_BUSY) if (s != CH395_ERR_BUSY)
{ {
break; /* 如果CH395芯片返回忙状态 */ break; /* 如果CH395芯片返回忙状态 */
} }
if (i++ > 200) if (i++ > 200)
{ {
return CH395_ERR_UNKNOW; /* 超时退出 */ return CH395_ERR_UNKNOW; /* 超时退出 */
} }
} }
@ -563,9 +563,9 @@ uint8_t ch395_open_socket(uint8_t sockindex)
} }
/** /**
* @brief socket * @brief socket
* @param sockindex socket索引 * @param sockindex socket索引
* @retval * @retval
*/ */
uint8_t ch395_close_socket(uint8_t sockindex) uint8_t ch395_close_socket(uint8_t sockindex)
{ {
@ -577,17 +577,17 @@ uint8_t ch395_close_socket(uint8_t sockindex)
while (1) while (1)
{ {
HAL_Delay(5); /* 延时查询建议2MS以上 */ HAL_Delay(5); /* 延时查询建议2MS以上 */
s = ch395_get_cmd_status(); /* 不能过于频繁查询 */ s = ch395_get_cmd_status(); /* 不能过于频繁查询 */
if (s != CH395_ERR_BUSY) if (s != CH395_ERR_BUSY)
{ {
break; /* 如果CH395芯片返回忙状态 */ break; /* 如果CH395芯片返回忙状态 */
} }
if (i++ > 200) if (i++ > 200)
{ {
return CH395_ERR_UNKNOW; /* 超时退出 */ return CH395_ERR_UNKNOW; /* 超时退出 */
} }
} }
@ -595,9 +595,9 @@ uint8_t ch395_close_socket(uint8_t sockindex)
} }
/** /**
* @brief tcp连接tcp模式下有效 * @brief tcp连接tcp模式下有效
* @param sockindex socket索引 * @param sockindex socket索引
* @retval * @retval
*/ */
uint8_t ch395_tcp_connect(uint8_t sockindex) uint8_t ch395_tcp_connect(uint8_t sockindex)
{ {
@ -609,17 +609,17 @@ uint8_t ch395_tcp_connect(uint8_t sockindex)
while (1) while (1)
{ {
HAL_Delay(5); /* 延时查询建议2MS以上 */ HAL_Delay(5); /* 延时查询建议2MS以上 */
s = ch395_get_cmd_status(); /* 不能过于频繁查询 */ s = ch395_get_cmd_status(); /* 不能过于频繁查询 */
if (s != CH395_ERR_BUSY) if (s != CH395_ERR_BUSY)
{ {
break; /* 如果CH395芯片返回忙状态 */ break; /* 如果CH395芯片返回忙状态 */
} }
if (i++ > 200) if (i++ > 200)
{ {
return CH395_ERR_UNKNOW; /* 超时退出 */ return CH395_ERR_UNKNOW; /* 超时退出 */
} }
} }
@ -627,9 +627,9 @@ uint8_t ch395_tcp_connect(uint8_t sockindex)
} }
/** /**
* @brief tcp监听tcp模式下有效 * @brief tcp监听tcp模式下有效
* @param sockindex socket索引 * @param sockindex socket索引
* @retval * @retval
*/ */
uint8_t ch395_tcp_listen(uint8_t sockindex) uint8_t ch395_tcp_listen(uint8_t sockindex)
{ {
@ -641,17 +641,17 @@ uint8_t ch395_tcp_listen(uint8_t sockindex)
while (1) while (1)
{ {
HAL_Delay(5); /* 延时查询建议2MS以上 */ HAL_Delay(5); /* 延时查询建议2MS以上 */
s = ch395_get_cmd_status(); /* 不能过于频繁查询 */ s = ch395_get_cmd_status(); /* 不能过于频繁查询 */
if (s != CH395_ERR_BUSY) if (s != CH395_ERR_BUSY)
{ {
break; /* 如果CH395芯片返回忙状态 */ break; /* 如果CH395芯片返回忙状态 */
} }
if (i++ > 200) if (i++ > 200)
{ {
return CH395_ERR_UNKNOW; /* 超时退出 */ return CH395_ERR_UNKNOW; /* 超时退出 */
} }
} }
@ -659,9 +659,9 @@ uint8_t ch395_tcp_listen(uint8_t sockindex)
} }
/** /**
* @brief tcp断开tcp模式下有效 * @brief tcp断开tcp模式下有效
* @param sockindex socket索引 * @param sockindex socket索引
* @retval * @retval
*/ */
uint8_t ch395_tcp_disconnect(uint8_t sockindex) uint8_t ch395_tcp_disconnect(uint8_t sockindex)
{ {
@ -673,26 +673,26 @@ uint8_t ch395_tcp_disconnect(uint8_t sockindex)
while (1) while (1)
{ {
HAL_Delay(5); /* 延时查询建议2MS以上 */ HAL_Delay(5); /* 延时查询建议2MS以上 */
s = ch395_get_cmd_status(); /* 不能过于频繁查询 */ s = ch395_get_cmd_status(); /* 不能过于频繁查询 */
if (s != CH395_ERR_BUSY) if (s != CH395_ERR_BUSY)
{ {
break; /* 如果CH395芯片返回忙状态 */ break; /* 如果CH395芯片返回忙状态 */
} }
if (i++ > 200) if (i++ > 200)
{ {
return CH395_ERR_UNKNOW; /* 超时退出 */ return CH395_ERR_UNKNOW; /* 超时退出 */
} }
} }
return s; return s;
} }
/** /**
* @brief socket n的中断状态 * @brief socket n的中断状态
* @param sockindex socket索引 * @param sockindex socket索引
* @retval * @retval
*/ */
uint8_t ch395_get_socket_int(uint8_t sockindex) uint8_t ch395_get_socket_int(uint8_t sockindex)
{ {
@ -706,9 +706,9 @@ uint8_t ch395_get_socket_int(uint8_t sockindex)
} }
/** /**
* @brief crc运算6 * @brief crc运算6
* @param mac_addr mac地址 * @param mac_addr mac地址
* @retval crc32的高6位 * @retval crc32的高6位
*/ */
uint8_t ch395_crcret_6bit(uint8_t *mac_addr) uint8_t ch395_crcret_6bit(uint8_t *mac_addr)
{ {
@ -734,11 +734,11 @@ uint8_t ch395_crcret_6bit(uint8_t *mac_addr)
} }
/** /**
* @brief /dhcp * @brief /dhcp
* @param flag:0 / 1, : * @param flag:0 / 1, :
* @arg 1:dhcp * @arg 1:dhcp
* @arg 0dhcp * @arg 0dhcp
* @retval * @retval
*/ */
uint8_t ch395_dhcp_enable(uint8_t flag) uint8_t ch395_dhcp_enable(uint8_t flag)
{ {
@ -751,16 +751,16 @@ uint8_t ch395_dhcp_enable(uint8_t flag)
while (1) while (1)
{ {
HAL_Delay(20); HAL_Delay(20);
s = ch395_get_cmd_status(); /* 不能过于频繁查询 */ s = ch395_get_cmd_status(); /* 不能过于频繁查询 */
if(s != CH395_ERR_BUSY) if(s != CH395_ERR_BUSY)
{ {
break; /* 如果ch395芯片返回忙状态 */ break; /* 如果ch395芯片返回忙状态 */
} }
if(i++ > 200) if(i++ > 200)
{ {
return CH395_ERR_UNKNOW; /* 超时退出 */ return CH395_ERR_UNKNOW; /* 超时退出 */
} }
} }
@ -768,9 +768,9 @@ uint8_t ch395_dhcp_enable(uint8_t flag)
} }
/** /**
* @brief dhcp状态 * @brief dhcp状态
* @param * @param
* @retval dhcp状态0 * @retval dhcp状态0
*/ */
uint8_t ch395_get_dhcp_status(void) uint8_t ch395_get_dhcp_status(void)
{ {
@ -782,9 +782,9 @@ uint8_t ch395_get_dhcp_status(void)
} }
/** /**
* @brief ip * @brief ip
* @param sockindex socket索引 * @param sockindex socket索引
* @retval 12ip, * @retval 12ip,
*/ */
void ch395_get_ipinf(uint8_t *addr) void ch395_get_ipinf(uint8_t *addr)
{ {
@ -800,10 +800,10 @@ void ch395_get_ipinf(uint8_t *addr)
} }
/** /**
* @brief gpio寄存器 * @brief gpio寄存器
* @param regadd * @param regadd
* @param regval * @param regval
* @retval * @retval
*/ */
void ch395_write_gpio_addr(uint8_t regadd, uint8_t regval) void ch395_write_gpio_addr(uint8_t regadd, uint8_t regval)
{ {
@ -813,9 +813,9 @@ void ch395_write_gpio_addr(uint8_t regadd, uint8_t regval)
} }
/** /**
* @brief gpio寄存器 * @brief gpio寄存器
* @param regadd * @param regadd
* @retval * @retval
*/ */
uint8_t ch395_read_gpio_addr(uint8_t regadd) uint8_t ch395_read_gpio_addr(uint8_t regadd)
{ {
@ -828,9 +828,9 @@ uint8_t ch395_read_gpio_addr(uint8_t regadd)
} }
/** /**
* @brief eeprom * @brief eeprom
* @param * @param
* @retval * @retval
*/ */
uint8_t ch395_eeprom_erase(void) uint8_t ch395_eeprom_erase(void)
{ {
@ -854,11 +854,11 @@ uint8_t ch395_eeprom_erase(void)
} }
/** /**
* @brief eeprom * @brief eeprom
* @param eepaddr eeprom地址 * @param eepaddr eeprom地址
* @param buf * @param buf
* @param len * @param len
* @retval * @retval
*/ */
uint8_t ch395_eeprom_write(uint16_t eepaddr, uint8_t *buf, uint8_t len) uint8_t ch395_eeprom_write(uint16_t eepaddr, uint8_t *buf, uint8_t len)
{ {
@ -887,11 +887,11 @@ uint8_t ch395_eeprom_write(uint16_t eepaddr, uint8_t *buf, uint8_t len)
} }
/** /**
* @brief eeprom * @brief eeprom
* @param eepaddr eeprom地址 * @param eepaddr eeprom地址
* @param buf * @param buf
* @param len * @param len
* @retval * @retval
*/ */
void ch395_eeprom_read(uint16_t eepaddr, uint8_t *buf, uint8_t len) void ch395_eeprom_read(uint16_t eepaddr, uint8_t *buf, uint8_t len)
{ {
@ -908,9 +908,9 @@ void ch395_eeprom_read(uint16_t eepaddr, uint8_t *buf, uint8_t len)
} }
/** /**
* @brief tcp mss值 * @brief tcp mss值
* @param tcpmss * @param tcpmss
* @retval * @retval
*/ */
void ch395_set_tcpmss(uint16_t tcpmss) void ch395_set_tcpmss(uint16_t tcpmss)
{ {
@ -920,11 +920,11 @@ void ch395_set_tcpmss(uint16_t tcpmss)
} }
/** /**
* @brief socket接收缓冲区 * @brief socket接收缓冲区
* @param sockindex socket索引,,blknum * @param sockindex socket索引,,blknum
* @param startblk * @param startblk
* @param 512 * @param 512
* @retval * @retval
*/ */
void ch395_set_socket_recv_buf(uint8_t sockindex, uint8_t startblk, uint8_t blknum) void ch395_set_socket_recv_buf(uint8_t sockindex, uint8_t startblk, uint8_t blknum)
{ {
@ -935,11 +935,11 @@ void ch395_set_socket_recv_buf(uint8_t sockindex, uint8_t startblk, uint8_t blkn
} }
/** /**
* @brief socket发送缓冲区 * @brief socket发送缓冲区
* @param sockindex socket索引 * @param sockindex socket索引
* @param startblk * @param startblk
* @param blknum * @param blknum
* @retval * @retval
*/ */
void ch395_set_socket_send_buf(uint8_t sockindex, uint8_t startblk, uint8_t blknum) void ch395_set_socket_send_buf(uint8_t sockindex, uint8_t startblk, uint8_t blknum)
{ {
@ -950,25 +950,25 @@ void ch395_set_socket_send_buf(uint8_t sockindex, uint8_t startblk, uint8_t blkn
} }
/** /**
* @brief udp向指定的ip和端口发送数据 * @brief udp向指定的ip和端口发送数据
* @param buf : * @param buf :
* @param len : * @param len :
* @param ip : ip * @param ip : ip
* @param port : * @param port :
* @param sockeid : socket索引值 * @param sockeid : socket索引值
* @retval * @retval
*/ */
void ch395_udp_send_data(uint8_t *buf, uint32_t len, uint8_t *ip, uint16_t port, uint8_t sockindex) void ch395_udp_send_data(uint8_t *buf, uint32_t len, uint8_t *ip, uint16_t port, uint8_t sockindex)
{ {
ch395_set_socket_desip(sockindex, ip); /* 设置socket 0目标IP地址 */ ch395_set_socket_desip(sockindex, ip); /* 设置socket 0目标IP地址 */
ch395_set_socket_desport(sockindex, port); ch395_set_socket_desport(sockindex, port);
ch395_send_data(sockindex, buf, len); ch395_send_data(sockindex, buf, len);
} }
/** /**
* @brief ch395启动参数 * @brief ch395启动参数
* @param mdata * @param mdata
* @retval * @retval
*/ */
void ch395_set_start_para(uint32_t mdata) void ch395_set_start_para(uint32_t mdata)
{ {
@ -980,9 +980,9 @@ void ch395_set_start_para(uint32_t mdata)
} }
/** /**
* @brief ch395自动取消中断,0x44使 * @brief ch395自动取消中断,0x44使
* @param * @param
* @retval * @retval
*/ */
uint16_t ch395_cmd_get_glob_int_status_all(void) uint16_t ch395_cmd_get_glob_int_status_all(void)
{ {
@ -996,10 +996,10 @@ uint16_t ch395_cmd_get_glob_int_status_all(void)
} }
/** /**
* @brief keepalive功能 * @brief keepalive功能
* @param sockindex socket号 * @param sockindex socket号
* @param cmd 0 1 * @param cmd 0 1
* @retval * @retval
*/ */
void ch395_set_keeplive(uint8_t sockindex, uint8_t cmd) void ch395_set_keeplive(uint8_t sockindex, uint8_t cmd)
{ {
@ -1009,9 +1009,9 @@ void ch395_set_keeplive(uint8_t sockindex, uint8_t cmd)
} }
/** /**
* @brief keepalive重试次数 * @brief keepalive重试次数
* @param cnt * @param cnt
* @retval * @retval
*/ */
void ch395_keeplive_cnt(uint8_t cnt) void ch395_keeplive_cnt(uint8_t cnt)
{ {
@ -1020,9 +1020,9 @@ void ch395_keeplive_cnt(uint8_t cnt)
} }
/** /**
* @brief keeplive空闲 * @brief keeplive空闲
* @param idle ms * @param idle ms
* @retval * @retval
*/ */
void ch395_keeplive_idle(uint32_t idle) void ch395_keeplive_idle(uint32_t idle)
{ {
@ -1034,9 +1034,9 @@ void ch395_keeplive_idle(uint32_t idle)
} }
/** /**
* @brief keeplive间隔时间 * @brief keeplive间隔时间
* @param intvl ms * @param intvl ms
* @retval * @retval
*/ */
void ch395_keeplive_intvl(uint32_t intvl) void ch395_keeplive_intvl(uint32_t intvl)
{ {
@ -1048,10 +1048,10 @@ void ch395_keeplive_intvl(uint32_t intvl)
} }
/** /**
* @brief ttl * @brief ttl
* @param ssockindex socket号 * @param ssockindex socket号
* @param ttlnum:ttl数 * @param ttlnum:ttl数
* @retval * @retval
*/ */
void ch395_setttl_num(uint8_t sockindex, uint8_t ttlnum) void ch395_setttl_num(uint8_t sockindex, uint8_t ttlnum)
{ {

View File

@ -7,7 +7,7 @@
#include "usart.h" #include "usart.h"
#include "spi.h" #include "spi.h"
/* ********************************************************************************************************************* */ /* ********************************************************************************************************************* */
/* 常用类型和常量定义 */ /* 常用类型和常量定义 */
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -20,225 +20,225 @@ extern "C" {
#define NULL 0 #define NULL 0
#endif #endif
/* 命令代码: /* 命令代码:
* : * :
* (,) * (,)
* (0) * (0)
* (0) * (0)
* : CMDxy_NAME * : CMDxy_NAME
* x和y都是数字, x说明最少输入数据个数(), y说明最少输出数据个数(), y如果是W表示需要等待命令执行成功 * x和y都是数字, x说明最少输入数据个数(), y说明最少输出数据个数(), y如果是W表示需要等待命令执行成功
* 0, x或y之内 * 0, x或y之内
*/ */
#define CMD01_GET_IC_VER 0x01 /* 获取芯片以及固件版本号 */ #define CMD01_GET_IC_VER 0x01 /* 获取芯片以及固件版本号 */
#define CMD31_SET_BAUDRATE 0x02 /* 串口方式: 设置串口通讯波特率(上电或者复位后的默认波特率为9600bps */ #define CMD31_SET_BAUDRATE 0x02 /* 串口方式: 设置串口通讯波特率(上电或者复位后的默认波特率为9600bps */
#define CMD00_ENTER_SLEEP 0x03 /* 进入睡眠状态 */ #define CMD00_ENTER_SLEEP 0x03 /* 进入睡眠状态 */
#define CMD00_RESET_ALL 0x05 /* 执行硬件复位 */ #define CMD00_RESET_ALL 0x05 /* 执行硬件复位 */
#define CMD11_CHECK_EXIST 0x06 /* 测试通讯接口以及工作状态 */ #define CMD11_CHECK_EXIST 0x06 /* 测试通讯接口以及工作状态 */
#define CMD02_GET_GLOB_INT_STATUS_ALL 0x19 /* 获取全局中断状态V44版本以后的程序由于增加了socket数量需要用此命令获取全部的中断 */ #define CMD02_GET_GLOB_INT_STATUS_ALL 0x19 /* 获取全局中断状态V44版本以后的程序由于增加了socket数量需要用此命令获取全部的中断 */
#define CMD10_SET_PHY 0x20 /* 设置PHY默认为Auto自动协商 */ #define CMD10_SET_PHY 0x20 /* 设置PHY默认为Auto自动协商 */
#define CMD60_SET_MAC_ADDR 0x21 /* 设置MAC地址 必须在CMD00H_INIT_CH395之前设置完毕 */ #define CMD60_SET_MAC_ADDR 0x21 /* 设置MAC地址 必须在CMD00H_INIT_CH395之前设置完毕 */
#define CMD40_SET_IP_ADDR 0x22 /* 设置IP地址 必须在CMD00H_INIT_CH395之前设置完毕 */ #define CMD40_SET_IP_ADDR 0x22 /* 设置IP地址 必须在CMD00H_INIT_CH395之前设置完毕 */
#define CMD40_SET_GWIP_ADDR 0x23 /* 设置网关IP地址 必须在CMD00H_INIT_CH395之前设置完毕 */ #define CMD40_SET_GWIP_ADDR 0x23 /* 设置网关IP地址 必须在CMD00H_INIT_CH395之前设置完毕 */
#define CMD40_SET_MASK_ADDR 0x24 /* 设置子网掩码, 必须在CMD00H_INIT_CH395之前设置完毕 */ #define CMD40_SET_MASK_ADDR 0x24 /* 设置子网掩码, 必须在CMD00H_INIT_CH395之前设置完毕 */
#define CMD90_SET_MAC_FILT 0x25 /* 设置MAC过滤 可以进行广播,多播等过滤 */ #define CMD90_SET_MAC_FILT 0x25 /* 设置MAC过滤 可以进行广播,多播等过滤 */
#define CMD01_GET_PHY_STATUS 0x26 /* 获取PHY当前状态如断开连接10/100M FULL/HALF */ #define CMD01_GET_PHY_STATUS 0x26 /* 获取PHY当前状态如断开连接10/100M FULL/HALF */
#define CMD0W_INIT_CH395 0x27 /* 初始化CH395 */ #define CMD0W_INIT_CH395 0x27 /* 初始化CH395 */
#define CMD08_GET_UNREACH_IPPORT 0x28 /* 获取不可达信息 */ #define CMD08_GET_UNREACH_IPPORT 0x28 /* 获取不可达信息 */
#define CMD01_GET_GLOB_INT_STATUS 0x29 /* 获取全局中断状态最大值为1S不可以设置为0 */ #define CMD01_GET_GLOB_INT_STATUS 0x29 /* 获取全局中断状态最大值为1S不可以设置为0 */
#define CMD10_SET_RETRAN_COUNT 0x2A /* 重试次数仅在TCP模式下有效 */ #define CMD10_SET_RETRAN_COUNT 0x2A /* 重试次数仅在TCP模式下有效 */
#define CMD20_SET_RETRAN_PERIOD 0x2B /* 重试周期最大值为20仅在TCP模式下有效不可以设置为0 */ #define CMD20_SET_RETRAN_PERIOD 0x2B /* 重试周期最大值为20仅在TCP模式下有效不可以设置为0 */
#define CMD01_GET_CMD_STATUS 0x2C /* 获取命令执行状态 */ #define CMD01_GET_CMD_STATUS 0x2C /* 获取命令执行状态 */
#define CMD06_GET_REMOT_IPP_SN 0x2D /* 获取远端的端口以及IP地址该命令在TCP服务器模式下使用 */ #define CMD06_GET_REMOT_IPP_SN 0x2D /* 获取远端的端口以及IP地址该命令在TCP服务器模式下使用 */
#define CMD10_CLEAR_RECV_BUF_SN 0x2E /* 清除接收缓冲区 */ #define CMD10_CLEAR_RECV_BUF_SN 0x2E /* 清除接收缓冲区 */
#define CMD12_GET_SOCKET_STATUS_SN 0x2F /* 获取socket n状态 */ #define CMD12_GET_SOCKET_STATUS_SN 0x2F /* 获取socket n状态 */
#define CMD11_GET_INT_STATUS_SN 0x30 /* 获取socket n的中断状态 */ #define CMD11_GET_INT_STATUS_SN 0x30 /* 获取socket n的中断状态 */
#define CMD50_SET_IP_ADDR_SN 0x31 /* 设置socket n的目的IP地址 */ #define CMD50_SET_IP_ADDR_SN 0x31 /* 设置socket n的目的IP地址 */
#define CMD30_SET_DES_PORT_SN 0x32 /* 设置socket n的目的端口 */ #define CMD30_SET_DES_PORT_SN 0x32 /* 设置socket n的目的端口 */
#define CMD30_SET_SOUR_PORT_SN 0x33 /* 设置socket n的源端口 */ #define CMD30_SET_SOUR_PORT_SN 0x33 /* 设置socket n的源端口 */
#define CMD20_SET_PROTO_TYPE_SN 0x34 /* 设置socket n的协议类型 */ #define CMD20_SET_PROTO_TYPE_SN 0x34 /* 设置socket n的协议类型 */
#define CMD1W_OPEN_SOCKET_SN 0x35 /* 打开socket n */ #define CMD1W_OPEN_SOCKET_SN 0x35 /* 打开socket n */
#define CMD1W_TCP_LISTEN_SN 0x36 /* socket n监听收到此命令socket n进入服务器模式仅对TCP模式有效 */ #define CMD1W_TCP_LISTEN_SN 0x36 /* socket n监听收到此命令socket n进入服务器模式仅对TCP模式有效 */
#define CMD1W_TCP_CONNECT_SN 0x37 /* socket n连接收到此命令socket n进入客户端模式仅对TCP模式有效 */ #define CMD1W_TCP_CONNECT_SN 0x37 /* socket n连接收到此命令socket n进入客户端模式仅对TCP模式有效 */
#define CMD1W_TCP_DISNCONNECT_SN 0x38 /* socket n断开连接收到此命令socket n断开已有连接仅对TCP模式有效 */ #define CMD1W_TCP_DISNCONNECT_SN 0x38 /* socket n断开连接收到此命令socket n断开已有连接仅对TCP模式有效 */
#define CMD30_WRITE_SEND_BUF_SN 0x39 /* 向socket n缓冲区写入数据 */ #define CMD30_WRITE_SEND_BUF_SN 0x39 /* 向socket n缓冲区写入数据 */
#define CMD12_GET_RECV_LEN_SN 0x3B /* 获取socket n接收数据的长度 */ #define CMD12_GET_RECV_LEN_SN 0x3B /* 获取socket n接收数据的长度 */
#define CMD30_READ_RECV_BUF_SN 0x3C /* 读取socket n接收缓冲区数据 */ #define CMD30_READ_RECV_BUF_SN 0x3C /* 读取socket n接收缓冲区数据 */
#define CMD1W_CLOSE_SOCKET_SN 0x3D /* 关闭socket n */ #define CMD1W_CLOSE_SOCKET_SN 0x3D /* 关闭socket n */
#define CMD20_SET_IPRAW_PRO_SN 0x3E /* 在IP RAW下设置socket n的IP包协议类型 */ #define CMD20_SET_IPRAW_PRO_SN 0x3E /* 在IP RAW下设置socket n的IP包协议类型 */
#define CMD01_PING_ENABLE 0x3F /* 开启/关闭PING */ #define CMD01_PING_ENABLE 0x3F /* 开启/关闭PING */
#define CMD06_GET_MAC_ADDR 0x40 /* 获取MAC地址 */ #define CMD06_GET_MAC_ADDR 0x40 /* 获取MAC地址 */
#define CMD10_DHCP_ENABLE 0x41 /* DHCP使能 */ #define CMD10_DHCP_ENABLE 0x41 /* DHCP使能 */
#define CMD01_GET_DHCP_STATUS 0x42 /* 获取DHCP状态 */ #define CMD01_GET_DHCP_STATUS 0x42 /* 获取DHCP状态 */
#define CMD014_GET_IP_INF 0x43 /* IP,子网掩码,网关 */ #define CMD014_GET_IP_INF 0x43 /* IP,子网掩码,网关 */
#define CMD00_PPPOE_SET_USER_NAME 0x44 /* 设置PPPOE用户名 */ #define CMD00_PPPOE_SET_USER_NAME 0x44 /* 设置PPPOE用户名 */
#define CMD00_PPPOE_SET_PASSWORD 0x45 /* 设置密码 */ #define CMD00_PPPOE_SET_PASSWORD 0x45 /* 设置密码 */
#define CMD10_PPPOE_ENABLE 0x46 /* PPPOE使能 */ #define CMD10_PPPOE_ENABLE 0x46 /* PPPOE使能 */
#define CMD01_GET_PPPOE_STATUS 0x47 /* 获取pppoe状态 */ #define CMD01_GET_PPPOE_STATUS 0x47 /* 获取pppoe状态 */
#define CMD20_SET_TCP_MSS 0x50 /* 设置TCP MSS */ #define CMD20_SET_TCP_MSS 0x50 /* 设置TCP MSS */
#define CMD20_SET_TTL 0x51 /* 设置TTLTTL最大值为128 */ #define CMD20_SET_TTL 0x51 /* 设置TTLTTL最大值为128 */
#define CMD30_SET_RECV_BUF 0x52 /* 设置SOCKET接收缓冲区 */ #define CMD30_SET_RECV_BUF 0x52 /* 设置SOCKET接收缓冲区 */
#define CMD30_SET_SEND_BUF 0x53 /* 设置SOCKET发送缓冲区 */ #define CMD30_SET_SEND_BUF 0x53 /* 设置SOCKET发送缓冲区 */
#define CMD10_SET_MAC_RECV_BUF 0x54 /* 设置MAC接收缓冲区 */ #define CMD10_SET_MAC_RECV_BUF 0x54 /* 设置MAC接收缓冲区 */
#define CMD40_SET_FUN_PARA 0x55 /* 设置功能参数 */ #define CMD40_SET_FUN_PARA 0x55 /* 设置功能参数 */
#define CMD40_SET_KEEP_LIVE_IDLE 0x56 /* 设置KEEPLIVE空闲 */ #define CMD40_SET_KEEP_LIVE_IDLE 0x56 /* 设置KEEPLIVE空闲 */
#define CMD40_SET_KEEP_LIVE_INTVL 0x57 /* 设置间隔时间 */ #define CMD40_SET_KEEP_LIVE_INTVL 0x57 /* 设置间隔时间 */
#define CMD10_SET_KEEP_LIVE_CNT 0x58 /* 重试次数 */ #define CMD10_SET_KEEP_LIVE_CNT 0x58 /* 重试次数 */
#define CMD20_SET_KEEP_LIVE_SN 0X59 /* 设置socket nkeeplive功能*/ #define CMD20_SET_KEEP_LIVE_SN 0X59 /* 设置socket nkeeplive功能*/
#define CMD00_EEPROM_ERASE 0xE9 /* 擦除EEPROM*/ #define CMD00_EEPROM_ERASE 0xE9 /* 擦除EEPROM*/
#define CMD30_EEPROM_WRITE 0xEA /* 写EEPROM */ #define CMD30_EEPROM_WRITE 0xEA /* 写EEPROM */
#define CMD30_EEPROM_READ 0xEB /* 读EEPROM */ #define CMD30_EEPROM_READ 0xEB /* 读EEPROM */
#define CMD10_READ_GPIO_REG 0xEC /* 读GPIO寄存器 */ #define CMD10_READ_GPIO_REG 0xEC /* 读GPIO寄存器 */
#define CMD20_WRITE_GPIO_REG 0xED /* 写GPIO寄存器 */ #define CMD20_WRITE_GPIO_REG 0xED /* 写GPIO寄存器 */
/* 协议类型 */ /* 协议类型 */
#define PROTO_TYPE_IP_RAW 0 /* IP层原始数据 */ #define PROTO_TYPE_IP_RAW 0 /* IP层原始数据 */
#define PROTO_TYPE_MAC_RAW 1 /* MAC层原始数据 */ #define PROTO_TYPE_MAC_RAW 1 /* MAC层原始数据 */
#define PROTO_TYPE_UDP 2 /* UDP协议类型 */ #define PROTO_TYPE_UDP 2 /* UDP协议类型 */
#define PROTO_TYPE_TCP 3 /* TCP协议类型 */ #define PROTO_TYPE_TCP 3 /* TCP协议类型 */
/* PHY 命令参数/状态 */ /* PHY 命令参数/状态 */
#define PHY_DISCONN (1<<0) /* PHY断开 */ #define PHY_DISCONN (1<<0) /* PHY断开 */
#define PHY_10M_FLL (1<<1) /* 10M全双工 */ #define PHY_10M_FLL (1<<1) /* 10M全双工 */
#define PHY_10M_HALF (1<<2) /* 10M半双工 */ #define PHY_10M_HALF (1<<2) /* 10M半双工 */
#define PHY_100M_FLL (1<<3) /* 100M全双工 */ #define PHY_100M_FLL (1<<3) /* 100M全双工 */
#define PHY_100M_HALF (1<<4) /* 100M半双工 */ #define PHY_100M_HALF (1<<4) /* 100M半双工 */
#define PHY_AUTO (1<<5) /* PHY自动模式CMD10H_SET_PHY */ #define PHY_AUTO (1<<5) /* PHY自动模式CMD10H_SET_PHY */
#define PHY_ERROR (1<<6) /* PHY错误 */ #define PHY_ERROR (1<<6) /* PHY错误 */
/* CH395 MAC过滤 */ /* CH395 MAC过滤 */
#define MAC_FILT_RECV_BORADPKT (1<<0) /* 使能接收广播包 */ #define MAC_FILT_RECV_BORADPKT (1<<0) /* 使能接收广播包 */
#define MAC_FILT_RECV_ALL (1<<1) /* 使能接收所有数据包 */ #define MAC_FILT_RECV_ALL (1<<1) /* 使能接收所有数据包 */
#define MAC_FILT_RECV_MULTIPKT (1<<2) /* 使能接收多播包 */ #define MAC_FILT_RECV_MULTIPKT (1<<2) /* 使能接收多播包 */
#define MAC_FILT_RECV_ENABLE (1<<3) /* 使能接收 */ #define MAC_FILT_RECV_ENABLE (1<<3) /* 使能接收 */
#define MAC_FILT_SEND_ENABLE (1<<4) /* 使能发送 */ #define MAC_FILT_SEND_ENABLE (1<<4) /* 使能发送 */
/* 中断状态 */ /* 中断状态 */
/* 以下为GLOB_INT会产生的状态 */ /* 以下为GLOB_INT会产生的状态 */
#define GINT_STAT_UNREACH (1<<0) /* 不可达中断 */ #define GINT_STAT_UNREACH (1<<0) /* 不可达中断 */
#define GINT_STAT_IP_CONFLI (1<<1) /* IP冲突 */ #define GINT_STAT_IP_CONFLI (1<<1) /* IP冲突 */
#define GINT_STAT_PHY_CHANGE (1<<2) /* PHY状态改变 */ #define GINT_STAT_PHY_CHANGE (1<<2) /* PHY状态改变 */
#define GINT_STAT_DHCP (1<<3) /* PHY状态改变 */ #define GINT_STAT_DHCP (1<<3) /* PHY状态改变 */
#define GINT_STAT_SOCK0 (1<<4) /* socket0 产生中断 */ #define GINT_STAT_SOCK0 (1<<4) /* socket0 产生中断 */
#define GINT_STAT_SOCK1 (1<<5) /* socket1 产生中断 */ #define GINT_STAT_SOCK1 (1<<5) /* socket1 产生中断 */
#define GINT_STAT_SOCK2 (1<<6) /* socket2 产生中断 */ #define GINT_STAT_SOCK2 (1<<6) /* socket2 产生中断 */
#define GINT_STAT_SOCK3 (1<<7) /* socket3 产生中断 */ #define GINT_STAT_SOCK3 (1<<7) /* socket3 产生中断 */
#define GINT_STAT_SOCK4 (1<<8) /* scoket4 产生中断 */ #define GINT_STAT_SOCK4 (1<<8) /* scoket4 产生中断 */
#define GINT_STAT_SOCK5 (1<<9) /* scoket5 产生中断 */ #define GINT_STAT_SOCK5 (1<<9) /* scoket5 产生中断 */
#define GINT_STAT_SOCK6 (1<<10) /* scoket6 产生中断 */ #define GINT_STAT_SOCK6 (1<<10) /* scoket6 产生中断 */
#define GINT_STAT_SOCK7 (1<<11) /* scoket7 产生中断 */ #define GINT_STAT_SOCK7 (1<<11) /* scoket7 产生中断 */
/* 以下为Sn_INT会产生的状态 */ /* 以下为Sn_INT会产生的状态 */
#define SINT_STAT_SENBUF_FREE (1<<0) /* 发送缓冲区空闲 */ #define SINT_STAT_SENBUF_FREE (1<<0) /* 发送缓冲区空闲 */
#define SINT_STAT_SEND_OK (1<<1) /* 发送成功 */ #define SINT_STAT_SEND_OK (1<<1) /* 发送成功 */
#define SINT_STAT_RECV (1<<2) /* socket端口接收到数据或者接收缓冲区不为空 */ #define SINT_STAT_RECV (1<<2) /* socket端口接收到数据或者接收缓冲区不为空 */
#define SINT_STAT_CONNECT (1<<3) /* 连接成功,TCP模式下产生此中断 */ #define SINT_STAT_CONNECT (1<<3) /* 连接成功,TCP模式下产生此中断 */
#define SINT_STAT_DISCONNECT (1<<4) /* 连接断开,TCP模式下产生此中断 */ #define SINT_STAT_DISCONNECT (1<<4) /* 连接断开,TCP模式下产生此中断 */
#define SINT_STAT_TIM_OUT (1<<6) /* ARP和TCP模式下会发生此中断 */ #define SINT_STAT_TIM_OUT (1<<6) /* ARP和TCP模式下会发生此中断 */
/* 获取命令状态 */ /* 获取命令状态 */
#define CMD_ERR_SUCCESS 0x00 /* 命令操作成功 */ #define CMD_ERR_SUCCESS 0x00 /* 命令操作成功 */
#define CMD_RET_ABORT 0x5F /* 命令操作失败 */ #define CMD_RET_ABORT 0x5F /* 命令操作失败 */
#define CH395_ERR_BUSY 0x10 /* 忙状态,表示当前正在执行命令 */ #define CH395_ERR_BUSY 0x10 /* 忙状态,表示当前正在执行命令 */
#define CH395_ERR_MEM 0x11 /* 内存错误 */ #define CH395_ERR_MEM 0x11 /* 内存错误 */
#define CH395_ERR_BUF 0x12 /* 缓冲区错误 */ #define CH395_ERR_BUF 0x12 /* 缓冲区错误 */
#define CH395_ERR_TIMEOUT 0x13 /* 超时 */ #define CH395_ERR_TIMEOUT 0x13 /* 超时 */
#define CH395_ERR_RTE 0x14 /* 路由错误*/ #define CH395_ERR_RTE 0x14 /* 路由错误*/
#define CH395_ERR_ABRT 0x15 /* 连接停止*/ #define CH395_ERR_ABRT 0x15 /* 连接停止*/
#define CH395_ERR_RST 0x16 /* 连接复位 */ #define CH395_ERR_RST 0x16 /* 连接复位 */
#define CH395_ERR_CLSD 0x17 /* 连接关闭/socket 在关闭状态 */ #define CH395_ERR_CLSD 0x17 /* 连接关闭/socket 在关闭状态 */
#define CH395_ERR_CONN 0x18 /* 无连接 */ #define CH395_ERR_CONN 0x18 /* 无连接 */
#define CH395_ERR_VAL 0x19 /* 错误的值 */ #define CH395_ERR_VAL 0x19 /* 错误的值 */
#define CH395_ERR_ARG 0x1a /* 错误的参数 */ #define CH395_ERR_ARG 0x1a /* 错误的参数 */
#define CH395_ERR_USE 0x1b /* 已经被使用 */ #define CH395_ERR_USE 0x1b /* 已经被使用 */
#define CH395_ERR_IF 0x1c /* MAC错误 */ #define CH395_ERR_IF 0x1c /* MAC错误 */
#define CH395_ERR_ISCONN 0x1d /* 已连接 */ #define CH395_ERR_ISCONN 0x1d /* 已连接 */
#define CH395_ERR_OPEN 0X20 /* 已经打开 */ #define CH395_ERR_OPEN 0X20 /* 已经打开 */
#define CH395_ERR_UNKNOW 0xFA /* 未知错误 */ #define CH395_ERR_UNKNOW 0xFA /* 未知错误 */
/* PPP状态 */ /* PPP状态 */
#define CH395_PPP_SUCCESS 0 /* 成功 */ #define CH395_PPP_SUCCESS 0 /* 成功 */
#define CH395_PPPERR_PARM 1 /* 无效参数 */ #define CH395_PPPERR_PARM 1 /* 无效参数 */
#define CH395_PPPERR_OPEN 2 /* 无法打开PPP会话 */ #define CH395_PPPERR_OPEN 2 /* 无法打开PPP会话 */
#define CH395_PPPERR_DEVICE 3 /* 无效的PPP设备 */ #define CH395_PPPERR_DEVICE 3 /* 无效的PPP设备 */
#define CH395_PPPERR_ALLOC 4 /* 资源分配失败 */ #define CH395_PPPERR_ALLOC 4 /* 资源分配失败 */
#define CH395_PPPERR_USER 5 /* 用户中断 */ #define CH395_PPPERR_USER 5 /* 用户中断 */
#define CH395_PPPERR_CONNECT 6 /* 连接断开 */ #define CH395_PPPERR_CONNECT 6 /* 连接断开 */
#define CH395_PPPERR_AUTHFAIL 7 /* 挑战鉴别失败 */ #define CH395_PPPERR_AUTHFAIL 7 /* 挑战鉴别失败 */
#define CH395_PPPERR_PROTOCOL 8 /* 握手协议失败 */ #define CH395_PPPERR_PROTOCOL 8 /* 握手协议失败 */
#define CH395_PPPERR_TIME_OUT 9 /* 超时失败 */ #define CH395_PPPERR_TIME_OUT 9 /* 超时失败 */
#define CH395_PPPERR_CLOSE 10 /* 关闭失败 */ #define CH395_PPPERR_CLOSE 10 /* 关闭失败 */
/* 不可达代码 */ /* 不可达代码 */
#define UNREACH_CODE_HOST 0 /* 主机不可达 */ #define UNREACH_CODE_HOST 0 /* 主机不可达 */
#define UNREACH_CODE_NET 1 /* 网络不可达 */ #define UNREACH_CODE_NET 1 /* 网络不可达 */
#define UNREACH_CODE_PROTOCOL 2 /* 协议不可达 */ #define UNREACH_CODE_PROTOCOL 2 /* 协议不可达 */
#define UNREACH_CODE_PROT 3 /* 端口不可达 */ #define UNREACH_CODE_PROT 3 /* 端口不可达 */
/* 其他值请参考RFC792文档 */ /* 其他值请参考RFC792文档 */
/* 命令包头 */ /* 命令包头 */
#define SER_SYNC_CODE1 0x57 /* 串口命令同步码1 */ #define SER_SYNC_CODE1 0x57 /* 串口命令同步码1 */
#define SER_SYNC_CODE2 0xAB /* 串口命令同步码2 */ #define SER_SYNC_CODE2 0xAB /* 串口命令同步码2 */
/* TCP状态 */ /* TCP状态 */
#define TCP_CLOSED 0 #define TCP_CLOSED 0
#define TCP_LISTEN 1 #define TCP_LISTEN 1
#define TCP_SYN_SENT 2 #define TCP_SYN_SENT 2
@ -251,19 +251,19 @@ extern "C" {
#define TCP_LAST_ACK 9 #define TCP_LAST_ACK 9
#define TCP_TIME_WAIT 10 #define TCP_TIME_WAIT 10
/* GPIO寄存器地址 */ /* GPIO寄存器地址 */
#define GPIO_DIR_REG 0x80 /* 寄存器方向寄存器1输出;0:输入 */ #define GPIO_DIR_REG 0x80 /* 寄存器方向寄存器1输出;0:输入 */
#define GPIO_IN_REG 0x81 /* GPIO输入寄存器 */ #define GPIO_IN_REG 0x81 /* GPIO输入寄存器 */
#define GPIO_OUT_REG 0x82 /* GPIO输出寄存器 */ #define GPIO_OUT_REG 0x82 /* GPIO输出寄存器 */
#define GPIO_CLR_REG 0x83 /* GPIO输出清除: 0=keep, 1=clear */ #define GPIO_CLR_REG 0x83 /* GPIO输出清除: 0=keep, 1=clear */
#define GPIO_PU_REG 0x84 /* GPIO上拉使能寄存器 */ #define GPIO_PU_REG 0x84 /* GPIO上拉使能寄存器 */
#define GPIO_PD_REG 0x85 /* GPIO下拉使能寄存器 */ #define GPIO_PD_REG 0x85 /* GPIO下拉使能寄存器 */
/* 功能参数 */ /* 功能参数 */
#define FUN_PARA_FLAG_TCP_SERVER (1<<1) /* tcp server 多连接模式标志0X44版本及以后支持 */ #define FUN_PARA_FLAG_TCP_SERVER (1<<1) /* tcp server 多连接模式标志0X44版本及以后支持 */
#define FUN_PARA_FLAG_LOW_PWR (1<<2) /* 低耗能模式 */ #define FUN_PARA_FLAG_LOW_PWR (1<<2) /* 低耗能模式 */
#define SOCK_CTRL_FLAG_SOCKET_CLOSE (1<<3) /* CH395不主动关闭Socket */ #define SOCK_CTRL_FLAG_SOCKET_CLOSE (1<<3) /* CH395不主动关闭Socket */
#define SOCK_DISABLE_SEND_OK_INT (1<<4) /* send ok中断控制位为1表示关闭send ok中断 */ #define SOCK_DISABLE_SEND_OK_INT (1<<4) /* send ok中断控制位为1表示关闭send ok中断 */
#ifdef __cplusplus #ifdef __cplusplus
} }

View File

@ -55,9 +55,6 @@
/* USER CODE BEGIN PV */ /* USER CODE BEGIN PV */
/* 本地网络信息IP地址、网关地址、子网掩码和端口号 */
uint8_t ch395_addr[14] = {192,168,114,194,192,168,114,110,255,255,255,0,31,144};
/* USER CODE END PV */ /* USER CODE END PV */
/* Private function prototypes -----------------------------------------------*/ /* Private function prototypes -----------------------------------------------*/
@ -126,9 +123,6 @@ int main(void)
ee_io_init(); ee_io_init();
prov_init(); //比例阀初始化 prov_init(); //比例阀初始化
ch395_hardware_init(); //ch395硬件初始化
ch395_init(); //以太网初始化
/* USER CODE END 2 */ /* USER CODE END 2 */
/* Infinite loop */ /* Infinite loop */
@ -150,9 +144,6 @@ int main(void)
//编码器 //编码器
encoder_run(); encoder_run();
//网络通讯
tcpip_run();
} }
/* USER CODE END 3 */ /* USER CODE END 3 */
@ -204,25 +195,6 @@ void SystemClock_Config(void)
} }
/* USER CODE BEGIN 4 */ /* USER CODE BEGIN 4 */
//网络通讯
void tcpip_run(void)
{
ch395q_handler(); //网络通讯
if(HoldReg[53])
{
for(int n = 0;n < 12;n++)
{
ch395_addr[n] = HoldReg[40 + n];
}
ch395_addr[12] = HoldReg[52] >> 8;
ch395_addr[13] = HoldReg[52] & 0xFF;
ee_writebytes(ch395_addr,0,14);
HoldReg[53] = 0;
set_ipv4();
}
}
#define CPU_FREQUENCY_MHZ 168 // STM32时钟主频 #define CPU_FREQUENCY_MHZ 168 // STM32时钟主频
void delay_us(__IO uint32_t delay) void delay_us(__IO uint32_t delay)
{ {

View File

@ -0,0 +1,48 @@
// File: STM32F405_415_407_417_427_437_429_439.dbgconf
// Version: 1.0.0
// Note: refer to STM32F405/415 STM32F407/417 STM32F427/437 STM32F429/439 reference manual (RM0090)
// refer to STM32F40x STM32F41x datasheets
// refer to STM32F42x STM32F43x datasheets
// <<< Use Configuration Wizard in Context Menu >>>
// <h> Debug MCU configuration register (DBGMCU_CR)
// <o.2> DBG_STANDBY <i> Debug Standby Mode
// <o.1> DBG_STOP <i> Debug Stop Mode
// <o.0> DBG_SLEEP <i> Debug Sleep Mode
// </h>
DbgMCU_CR = 0x00000007;
// <h> Debug MCU APB1 freeze register (DBGMCU_APB1_FZ)
// <i> Reserved bits must be kept at reset value
// <o.26> DBG_CAN2_STOP <i> CAN2 stopped when core is halted
// <o.25> DBG_CAN1_STOP <i> CAN2 stopped when core is halted
// <o.23> DBG_I2C3_SMBUS_TIMEOUT <i> I2C3 SMBUS timeout mode stopped when core is halted
// <o.22> DBG_I2C2_SMBUS_TIMEOUT <i> I2C2 SMBUS timeout mode stopped when core is halted
// <o.21> DBG_I2C1_SMBUS_TIMEOUT <i> I2C1 SMBUS timeout mode stopped when core is halted
// <o.12> DBG_IWDG_STOP <i> Independent watchdog stopped when core is halted
// <o.11> DBG_WWDG_STOP <i> Window watchdog stopped when core is halted
// <o.10> DBG_RTC_STOP <i> RTC stopped when core is halted
// <o.8> DBG_TIM14_STOP <i> TIM14 counter stopped when core is halted
// <o.7> DBG_TIM13_STOP <i> TIM13 counter stopped when core is halted
// <o.6> DBG_TIM12_STOP <i> TIM12 counter stopped when core is halted
// <o.5> DBG_TIM7_STOP <i> TIM7 counter stopped when core is halted
// <o.4> DBG_TIM6_STOP <i> TIM6 counter stopped when core is halted
// <o.3> DBG_TIM5_STOP <i> TIM5 counter stopped when core is halted
// <o.2> DBG_TIM4_STOP <i> TIM4 counter stopped when core is halted
// <o.1> DBG_TIM3_STOP <i> TIM3 counter stopped when core is halted
// <o.0> DBG_TIM2_STOP <i> TIM2 counter stopped when core is halted
// </h>
DbgMCU_APB1_Fz = 0x00000000;
// <h> Debug MCU APB2 freeze register (DBGMCU_APB2_FZ)
// <i> Reserved bits must be kept at reset value
// <o.18> DBG_TIM11_STOP <i> TIM11 counter stopped when core is halted
// <o.17> DBG_TIM10_STOP <i> TIM10 counter stopped when core is halted
// <o.16> DBG_TIM9_STOP <i> TIM9 counter stopped when core is halted
// <o.1> DBG_TIM8_STOP <i> TIM8 counter stopped when core is halted
// <o.0> DBG_TIM1_STOP <i> TIM1 counter stopped when core is halted
// </h>
DbgMCU_APB2_Fz = 0x00000000;
// <<< end of configuration section >>>

34825
MDK-ARM/JLinkLog.txt Normal file

File diff suppressed because it is too large Load Diff

3637
MDK-ARM/VOQC.uvguix.admin Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -820,6 +820,18 @@
<RteFlg>0</RteFlg> <RteFlg>0</RteFlg>
<bShared>0</bShared> <bShared>0</bShared>
</File> </File>
<File>
<GroupNumber>5</GroupNumber>
<FileNumber>44</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\board\Src\laser.c</PathWithFileName>
<FilenameWithoutPath>laser.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
</Group> </Group>
<Group> <Group>
@ -828,18 +840,6 @@
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel> <cbSel>0</cbSel>
<RteFlg>0</RteFlg> <RteFlg>0</RteFlg>
<File>
<GroupNumber>6</GroupNumber>
<FileNumber>44</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\CH395Q\ch395.c</PathWithFileName>
<FilenameWithoutPath>ch395.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File> <File>
<GroupNumber>6</GroupNumber> <GroupNumber>6</GroupNumber>
<FileNumber>45</FileNumber> <FileNumber>45</FileNumber>
@ -847,18 +847,6 @@
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2> <bDave2>0</bDave2>
<PathWithFileName>..\CH395Q\ch395cmd.c</PathWithFileName>
<FilenameWithoutPath>ch395cmd.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>6</GroupNumber>
<FileNumber>46</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\modbus\Src\modbus.c</PathWithFileName> <PathWithFileName>..\modbus\Src\modbus.c</PathWithFileName>
<FilenameWithoutPath>modbus.c</FilenameWithoutPath> <FilenameWithoutPath>modbus.c</FilenameWithoutPath>
<RteFlg>0</RteFlg> <RteFlg>0</RteFlg>
@ -866,7 +854,7 @@
</File> </File>
<File> <File>
<GroupNumber>6</GroupNumber> <GroupNumber>6</GroupNumber>
<FileNumber>47</FileNumber> <FileNumber>46</FileNumber>
<FileType>1</FileType> <FileType>1</FileType>
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
@ -878,7 +866,7 @@
</File> </File>
<File> <File>
<GroupNumber>6</GroupNumber> <GroupNumber>6</GroupNumber>
<FileNumber>48</FileNumber> <FileNumber>47</FileNumber>
<FileType>1</FileType> <FileType>1</FileType>
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
@ -888,51 +876,27 @@
<RteFlg>0</RteFlg> <RteFlg>0</RteFlg>
<bShared>0</bShared> <bShared>0</bShared>
</File> </File>
<File>
<GroupNumber>6</GroupNumber>
<FileNumber>48</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\CH395Q\ch395.c</PathWithFileName>
<FilenameWithoutPath>ch395.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File> <File>
<GroupNumber>6</GroupNumber> <GroupNumber>6</GroupNumber>
<FileNumber>49</FileNumber> <FileNumber>49</FileNumber>
<FileType>5</FileType> <FileType>1</FileType>
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2> <bDave2>0</bDave2>
<PathWithFileName>..\modbus\Inc\modbus.h</PathWithFileName> <PathWithFileName>..\CH395Q\ch395cmd.c</PathWithFileName>
<FilenameWithoutPath>modbus.h</FilenameWithoutPath> <FilenameWithoutPath>ch395cmd.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>6</GroupNumber>
<FileNumber>50</FileNumber>
<FileType>5</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\CH395Q\ch395.h</PathWithFileName>
<FilenameWithoutPath>ch395.h</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>6</GroupNumber>
<FileNumber>51</FileNumber>
<FileType>5</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\CH395Q\ch395cmd.h</PathWithFileName>
<FilenameWithoutPath>ch395cmd.h</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>6</GroupNumber>
<FileNumber>52</FileNumber>
<FileType>5</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\CH395Q\ch395inc.h</PathWithFileName>
<FilenameWithoutPath>ch395inc.h</FilenameWithoutPath>
<RteFlg>0</RteFlg> <RteFlg>0</RteFlg>
<bShared>0</bShared> <bShared>0</bShared>
</File> </File>
@ -946,7 +910,7 @@
<RteFlg>0</RteFlg> <RteFlg>0</RteFlg>
<File> <File>
<GroupNumber>7</GroupNumber> <GroupNumber>7</GroupNumber>
<FileNumber>53</FileNumber> <FileNumber>50</FileNumber>
<FileType>1</FileType> <FileType>1</FileType>
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
@ -958,7 +922,7 @@
</File> </File>
<File> <File>
<GroupNumber>7</GroupNumber> <GroupNumber>7</GroupNumber>
<FileNumber>54</FileNumber> <FileNumber>51</FileNumber>
<FileType>1</FileType> <FileType>1</FileType>
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
@ -970,7 +934,7 @@
</File> </File>
<File> <File>
<GroupNumber>7</GroupNumber> <GroupNumber>7</GroupNumber>
<FileNumber>55</FileNumber> <FileNumber>52</FileNumber>
<FileType>1</FileType> <FileType>1</FileType>
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
@ -982,7 +946,7 @@
</File> </File>
<File> <File>
<GroupNumber>7</GroupNumber> <GroupNumber>7</GroupNumber>
<FileNumber>56</FileNumber> <FileNumber>53</FileNumber>
<FileType>1</FileType> <FileType>1</FileType>
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
@ -994,7 +958,7 @@
</File> </File>
<File> <File>
<GroupNumber>7</GroupNumber> <GroupNumber>7</GroupNumber>
<FileNumber>57</FileNumber> <FileNumber>54</FileNumber>
<FileType>1</FileType> <FileType>1</FileType>
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
@ -1006,7 +970,7 @@
</File> </File>
<File> <File>
<GroupNumber>7</GroupNumber> <GroupNumber>7</GroupNumber>
<FileNumber>58</FileNumber> <FileNumber>55</FileNumber>
<FileType>1</FileType> <FileType>1</FileType>
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
@ -1018,7 +982,7 @@
</File> </File>
<File> <File>
<GroupNumber>7</GroupNumber> <GroupNumber>7</GroupNumber>
<FileNumber>59</FileNumber> <FileNumber>56</FileNumber>
<FileType>1</FileType> <FileType>1</FileType>
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>

View File

@ -11,7 +11,7 @@
<ToolsetNumber>0x4</ToolsetNumber> <ToolsetNumber>0x4</ToolsetNumber>
<ToolsetName>ARM-ADS</ToolsetName> <ToolsetName>ARM-ADS</ToolsetName>
<pArmCC>5060960::V5.06 update 7 (build 960)::.\ARM Compiler_5_06</pArmCC> <pArmCC>5060960::V5.06 update 7 (build 960)::.\ARM Compiler_5_06</pArmCC>
<pCCUsed>5060960::V5.06 update 7 (build 960)::.\ARMCC</pCCUsed> <pCCUsed>5060960::V5.06 update 7 (build 960)::.\ARM Compiler_5_06</pCCUsed>
<uAC6>0</uAC6> <uAC6>0</uAC6>
<TargetOption> <TargetOption>
<TargetCommonOption> <TargetCommonOption>
@ -671,21 +671,67 @@
<FileType>1</FileType> <FileType>1</FileType>
<FilePath>..\board\Src\mf5803.c</FilePath> <FilePath>..\board\Src\mf5803.c</FilePath>
</File> </File>
<File>
<FileName>laser.c</FileName>
<FileType>1</FileType>
<FilePath>..\board\Src\laser.c</FilePath>
<FileOption>
<CommonProperty>
<UseCPPCompiler>2</UseCPPCompiler>
<RVCTCodeConst>0</RVCTCodeConst>
<RVCTZI>0</RVCTZI>
<RVCTOtherData>0</RVCTOtherData>
<ModuleSelection>0</ModuleSelection>
<IncludeInBuild>0</IncludeInBuild>
<AlwaysBuild>2</AlwaysBuild>
<GenerateAssemblyFile>2</GenerateAssemblyFile>
<AssembleAssemblyFile>2</AssembleAssemblyFile>
<PublicsOnly>2</PublicsOnly>
<StopOnExitCode>11</StopOnExitCode>
<CustomArgument></CustomArgument>
<IncludeLibraryModules></IncludeLibraryModules>
<ComprImg>1</ComprImg>
</CommonProperty>
<FileArmAds>
<Cads>
<interw>2</interw>
<Optim>0</Optim>
<oTime>2</oTime>
<SplitLS>2</SplitLS>
<OneElfS>2</OneElfS>
<Strict>2</Strict>
<EnumInt>2</EnumInt>
<PlainCh>2</PlainCh>
<Ropi>2</Ropi>
<Rwpi>2</Rwpi>
<wLevel>2</wLevel>
<uThumb>2</uThumb>
<uSurpInc>2</uSurpInc>
<uC99>2</uC99>
<uGnu>2</uGnu>
<useXO>2</useXO>
<v6Lang>0</v6Lang>
<v6LangP>0</v6LangP>
<vShortEn>2</vShortEn>
<vShortWch>2</vShortWch>
<v6Lto>2</v6Lto>
<v6WtE>2</v6WtE>
<v6Rtti>2</v6Rtti>
<VariousControls>
<MiscControls></MiscControls>
<Define></Define>
<Undefine></Undefine>
<IncludePath></IncludePath>
</VariousControls>
</Cads>
</FileArmAds>
</FileOption>
</File>
</Files> </Files>
</Group> </Group>
<Group> <Group>
<GroupName>modbus</GroupName> <GroupName>modbus</GroupName>
<Files> <Files>
<File>
<FileName>ch395.c</FileName>
<FileType>1</FileType>
<FilePath>..\CH395Q\ch395.c</FilePath>
</File>
<File>
<FileName>ch395cmd.c</FileName>
<FileType>1</FileType>
<FilePath>..\CH395Q\ch395cmd.c</FilePath>
</File>
<File> <File>
<FileName>modbus.c</FileName> <FileName>modbus.c</FileName>
<FileType>1</FileType> <FileType>1</FileType>
@ -702,24 +748,14 @@
<FilePath>..\modbus\Src\modbus_tcp.c</FilePath> <FilePath>..\modbus\Src\modbus_tcp.c</FilePath>
</File> </File>
<File> <File>
<FileName>modbus.h</FileName> <FileName>ch395.c</FileName>
<FileType>5</FileType> <FileType>1</FileType>
<FilePath>..\modbus\Inc\modbus.h</FilePath> <FilePath>..\CH395Q\ch395.c</FilePath>
</File> </File>
<File> <File>
<FileName>ch395.h</FileName> <FileName>ch395cmd.c</FileName>
<FileType>5</FileType> <FileType>1</FileType>
<FilePath>..\CH395Q\ch395.h</FilePath> <FilePath>..\CH395Q\ch395cmd.c</FilePath>
</File>
<File>
<FileName>ch395cmd.h</FileName>
<FileType>5</FileType>
<FilePath>..\CH395Q\ch395cmd.h</FilePath>
</File>
<File>
<FileName>ch395inc.h</FileName>
<FileType>5</FileType>
<FilePath>..\CH395Q\ch395inc.h</FilePath>
</File> </File>
</Files> </Files>
</Group> </Group>
@ -783,13 +819,4 @@
<files/> <files/>
</RTE> </RTE>
<LayerInfo>
<Layers>
<Layer>
<LayName>VOQC</LayName>
<LayPrjMark>1</LayPrjMark>
</Layer>
</Layers>
</LayerInfo>
</Project> </Project>

2
MDK-ARM/VOQC/ExtDll.iex Normal file
View File

@ -0,0 +1,2 @@
[EXTDLL]
Count=0

BIN
MDK-ARM/VOQC/VOQC.axf Normal file

Binary file not shown.

View File

@ -0,0 +1,60 @@
<html>
<body>
<pre>
<h1>µVision Build Log</h1>
<h2>Tool Versions:</h2>
IDE-Version: ¦ÌVision V5.39.0.0
Copyright (C) 2023 ARM Ltd and ARM Germany GmbH. All rights reserved.
License Information: 1111 admin, 111, LIC=CZLZX-HG49K-CXUU6-DWQ8R-YUSX2-8I4LW
Tool Versions:
Toolchain: MDK-ARM Plus Version: 5.39.0.0
Toolchain Path: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin
C Compiler: Armcc.exe V5.06 update 7 (build 960)
Assembler: Armasm.exe V5.06 update 7 (build 960)
Linker/Locator: ArmLink.exe V5.06 update 7 (build 960)
Library Manager: ArmAr.exe V5.06 update 7 (build 960)
Hex Converter: FromElf.exe V5.06 update 7 (build 960)
CPU DLL: SARMCM3.DLL V5.39.0.0
Dialog DLL: DCM.DLL V1.17.5.0
Target DLL: STLink\ST-LINKIII-KEIL_SWO.dll V3.2.0.0
Dialog DLL: TCM.DLL V1.56.4.0
<h2>Project:</h2>
C:\Users\admin\Desktop\wujunchao\00_Projects\02_Actuator Testing\00_Code\00_New\VOQC\MDK-ARM\VOQC.uvprojx
Project File Date: 09/21/2024
<h2>Output:</h2>
*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin'
Build target 'VOQC'
compiling ads1256.c...
linking...
Program Size: Code=33586 RO-data=458 RW-data=416 ZI-data=6896
FromELF: creating hex file...
"VOQC\VOQC.axf" - 0 Error(s), 0 Warning(s).
<h2>Software Packages used:</h2>
Package Vendor: ARM
http://www.keil.com/pack/ARM.CMSIS.5.9.0.pack
ARM::CMSIS@5.9.0
CMSIS (Common Microcontroller Software Interface Standard)
* Component: CORE Version: 5.6.0
Package Vendor: Keil
http://www.keil.com/pack/Keil.STM32F4xx_DFP.2.15.0.pack
Keil::STM32F4xx_DFP@2.15.0
STMicroelectronics STM32F4 Series Device Support, Drivers and Examples
<h2>Collection of Component include folders:</h2>
./RTE/_VOQC
C:/Users/admin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include
C:/Users/admin/AppData/Local/Arm/Packs/Keil/STM32F4xx_DFP/2.15.0/Drivers/CMSIS/Device/ST/STM32F4xx/Include
<h2>Collection of Component Files used:</h2>
* Component: ARM::CMSIS:CORE@5.6.0
Build Time Elapsed: 00:00:11
</pre>
</body>
</html>

File diff suppressed because it is too large Load Diff

2627
MDK-ARM/VOQC/VOQC.htm Normal file

File diff suppressed because it is too large Load Diff

60
MDK-ARM/VOQC/VOQC.lnp Normal file
View File

@ -0,0 +1,60 @@
--cpu=Cortex-M4.fp.sp
"voqc\startup_stm32f407xx.o"
"voqc\main.o"
"voqc\gpio.o"
"voqc\adc.o"
"voqc\dma.o"
"voqc\i2c.o"
"voqc\spi.o"
"voqc\tim.o"
"voqc\usart.o"
"voqc\stm32f4xx_it.o"
"voqc\stm32f4xx_hal_msp.o"
"voqc\stm32f4xx_hal_adc.o"
"voqc\stm32f4xx_hal_adc_ex.o"
"voqc\stm32f4xx_ll_adc.o"
"voqc\stm32f4xx_hal_rcc.o"
"voqc\stm32f4xx_hal_rcc_ex.o"
"voqc\stm32f4xx_hal_flash.o"
"voqc\stm32f4xx_hal_flash_ex.o"
"voqc\stm32f4xx_hal_flash_ramfunc.o"
"voqc\stm32f4xx_hal_gpio.o"
"voqc\stm32f4xx_hal_dma_ex.o"
"voqc\stm32f4xx_hal_dma.o"
"voqc\stm32f4xx_hal_pwr.o"
"voqc\stm32f4xx_hal_pwr_ex.o"
"voqc\stm32f4xx_hal_cortex.o"
"voqc\stm32f4xx_hal.o"
"voqc\stm32f4xx_hal_exti.o"
"voqc\stm32f4xx_hal_i2c.o"
"voqc\stm32f4xx_hal_i2c_ex.o"
"voqc\stm32f4xx_hal_spi.o"
"voqc\stm32f4xx_hal_tim.o"
"voqc\stm32f4xx_hal_tim_ex.o"
"voqc\stm32f4xx_hal_uart.o"
"voqc\system_stm32f4xx.o"
"voqc\ads1256.o"
"voqc\ads1220.o"
"voqc\dac7311.o"
"voqc\eeprom.o"
"voqc\ms5803.o"
"voqc\ds18b20.o"
"voqc\hc595.o"
"voqc\hc165.o"
"voqc\mf5803.o"
"voqc\modbus.o"
"voqc\modbus_rtu.o"
"voqc\modbus_tcp.o"
"voqc\ch395.o"
"voqc\ch395cmd.o"
"voqc\adcs.o"
"voqc\gpios.o"
"voqc\timer.o"
"voqc\uarts.o"
"voqc\provalctrl.o"
"voqc\encoder.o"
"voqc\flash.o"
--strict --scatter "VOQC\VOQC.sct"
--summary_stderr --info summarysizes --map --load_addr_map_info --xref --callgraph --symbols
--info sizes --info totals --info unused --info veneers
--list "VOQC.map" -o VOQC\VOQC.axf

4317
MDK-ARM/VOQC/VOQC.map Normal file

File diff suppressed because it is too large Load Diff

19
MDK-ARM/VOQC/VOQC.sct Normal file
View File

@ -0,0 +1,19 @@
; *************************************************************
; *** Scatter-Loading Description File generated by uVision ***
; *************************************************************
LR_IROM1 0x08000000 0x00100000 { ; load region size_region
ER_IROM1 0x08000000 0x00100000 { ; load address = execution address
*.o (RESET, +First)
*(InRoot$$Sections)
.ANY (+RO)
.ANY (+XO)
}
RW_IRAM1 0x20000000 0x0001C000 { ; RW data
.ANY (+RW +ZI)
}
RW_IRAM2 0x2001C000 0x00004000 {
.ANY (+RW +ZI)
}
}

2398
MDK-ARM/VOQC/VOQC_VOQC.dep Normal file

File diff suppressed because it is too large Load Diff

18
MDK-ARM/VOQC/VOQC_sct.Bak Normal file
View File

@ -0,0 +1,18 @@
; *************************************************************
; *** Scatter-Loading Description File generated by uVision ***
; *************************************************************
LR_IROM1 0x08000000 0x00100000 { ; load region size_region
ER_IROM1 0x08000000 0x00100000 { ; load address = execution address
*.o (RESET, +First)
*(InRoot$$Sections)
.ANY (+RO)
}
RW_IRAM1 0x20000000 0x0001C000 { ; RW data
.ANY (+RW +ZI)
}
RW_IRAM2 0x2001C000 0x00004000 {
.ANY (+RW +ZI)
}
}

BIN
MDK-ARM/VOQC/adc.crf Normal file

Binary file not shown.

54
MDK-ARM/VOQC/adc.d Normal file
View File

@ -0,0 +1,54 @@
voqc\adc.o: ../Core/Src/adc.c
voqc\adc.o: ../Core/Inc/adc.h
voqc\adc.o: ../Core/Inc/main.h
voqc\adc.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\adc.o: ../Core/Inc/stm32f4xx_hal_conf.h
voqc\adc.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h
voqc\adc.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h
voqc\adc.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h
voqc\adc.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h
voqc\adc.o: ../Drivers/CMSIS/Include/core_cm4.h
voqc\adc.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdint.h
voqc\adc.o: ../Drivers/CMSIS/Include/cmsis_version.h
voqc\adc.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
voqc\adc.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
voqc\adc.o: ../Drivers/CMSIS/Include/mpu_armv7.h
voqc\adc.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h
voqc\adc.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\adc.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
voqc\adc.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stddef.h
voqc\adc.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h
voqc\adc.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h
voqc\adc.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h
voqc\adc.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h
voqc\adc.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h
voqc\adc.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h
voqc\adc.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h
voqc\adc.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h
voqc\adc.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h
voqc\adc.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h
voqc\adc.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h
voqc\adc.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h
voqc\adc.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h
voqc\adc.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h
voqc\adc.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h
voqc\adc.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h
voqc\adc.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h
voqc\adc.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h
voqc\adc.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h
voqc\adc.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h
voqc\adc.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h
voqc\adc.o: ../users/Inc/timer.h
voqc\adc.o: ../Core/Inc/tim.h
voqc\adc.o: ../Core/Inc/main.h
voqc\adc.o: ../modbus/Inc/modbus.h
voqc\adc.o: ../users/Inc/timer.h
voqc\adc.o: ../users/Inc/uarts.h
voqc\adc.o: ../Core/Inc/usart.h
voqc\adc.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdio.h
voqc\adc.o: ../modbus/Inc/modbus.h
voqc\adc.o: ../CH395Q/ch395.h
voqc\adc.o: ../CH395Q/ch395inc.h
voqc\adc.o: ../Core/Inc/spi.h
voqc\adc.o: ../CH395Q/ch395cmd.h
voqc\adc.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\string.h

BIN
MDK-ARM/VOQC/adc.o Normal file

Binary file not shown.

BIN
MDK-ARM/VOQC/adcs.crf Normal file

Binary file not shown.

61
MDK-ARM/VOQC/adcs.d Normal file
View File

@ -0,0 +1,61 @@
voqc\adcs.o: ..\users\Src\adcs.c
voqc\adcs.o: ../users/Inc/adcs.h
voqc\adcs.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\adcs.o: ../Core/Inc/stm32f4xx_hal_conf.h
voqc\adcs.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h
voqc\adcs.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h
voqc\adcs.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h
voqc\adcs.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h
voqc\adcs.o: ../Drivers/CMSIS/Include/core_cm4.h
voqc\adcs.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdint.h
voqc\adcs.o: ../Drivers/CMSIS/Include/cmsis_version.h
voqc\adcs.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
voqc\adcs.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
voqc\adcs.o: ../Drivers/CMSIS/Include/mpu_armv7.h
voqc\adcs.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h
voqc\adcs.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\adcs.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
voqc\adcs.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stddef.h
voqc\adcs.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h
voqc\adcs.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h
voqc\adcs.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h
voqc\adcs.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h
voqc\adcs.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h
voqc\adcs.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h
voqc\adcs.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h
voqc\adcs.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h
voqc\adcs.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h
voqc\adcs.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h
voqc\adcs.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h
voqc\adcs.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h
voqc\adcs.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h
voqc\adcs.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h
voqc\adcs.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h
voqc\adcs.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h
voqc\adcs.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h
voqc\adcs.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h
voqc\adcs.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h
voqc\adcs.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h
voqc\adcs.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h
voqc\adcs.o: ../Core/Inc/adc.h
voqc\adcs.o: ../Core/Inc/main.h
voqc\adcs.o: ../users/Inc/timer.h
voqc\adcs.o: ../Core/Inc/tim.h
voqc\adcs.o: ../Core/Inc/main.h
voqc\adcs.o: ../modbus/Inc/modbus.h
voqc\adcs.o: ../users/Inc/timer.h
voqc\adcs.o: ../users/Inc/uarts.h
voqc\adcs.o: ../Core/Inc/usart.h
voqc\adcs.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdio.h
voqc\adcs.o: ../modbus/Inc/modbus.h
voqc\adcs.o: ../CH395Q/ch395.h
voqc\adcs.o: ../CH395Q/ch395inc.h
voqc\adcs.o: ../Core/Inc/spi.h
voqc\adcs.o: ../CH395Q/ch395cmd.h
voqc\adcs.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\string.h
voqc\adcs.o: ../board/Inc/ADS1256.h
voqc\adcs.o: ../board/Inc/ads1220.h
voqc\adcs.o: ../board/Inc/mf5803.h
voqc\adcs.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\math.h
voqc\adcs.o: ../board/Inc/ms5803.h
voqc\adcs.o: ../board/Inc/ds18b20.h

BIN
MDK-ARM/VOQC/adcs.o Normal file

Binary file not shown.

BIN
MDK-ARM/VOQC/ads1220.crf Normal file

Binary file not shown.

58
MDK-ARM/VOQC/ads1220.d Normal file
View File

@ -0,0 +1,58 @@
voqc\ads1220.o: ..\board\Src\ads1220.c
voqc\ads1220.o: ../board/Inc/ads1220.h
voqc\ads1220.o: ../Core/Inc/main.h
voqc\ads1220.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\ads1220.o: ../Core/Inc/stm32f4xx_hal_conf.h
voqc\ads1220.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h
voqc\ads1220.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h
voqc\ads1220.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h
voqc\ads1220.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h
voqc\ads1220.o: ../Drivers/CMSIS/Include/core_cm4.h
voqc\ads1220.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdint.h
voqc\ads1220.o: ../Drivers/CMSIS/Include/cmsis_version.h
voqc\ads1220.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
voqc\ads1220.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
voqc\ads1220.o: ../Drivers/CMSIS/Include/mpu_armv7.h
voqc\ads1220.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h
voqc\ads1220.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\ads1220.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
voqc\ads1220.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stddef.h
voqc\ads1220.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h
voqc\ads1220.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h
voqc\ads1220.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h
voqc\ads1220.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h
voqc\ads1220.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h
voqc\ads1220.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h
voqc\ads1220.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h
voqc\ads1220.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h
voqc\ads1220.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h
voqc\ads1220.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h
voqc\ads1220.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h
voqc\ads1220.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h
voqc\ads1220.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h
voqc\ads1220.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h
voqc\ads1220.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h
voqc\ads1220.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h
voqc\ads1220.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h
voqc\ads1220.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h
voqc\ads1220.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h
voqc\ads1220.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h
voqc\ads1220.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h
voqc\ads1220.o: ../users/Inc/timer.h
voqc\ads1220.o: ../Core/Inc/tim.h
voqc\ads1220.o: ../Core/Inc/main.h
voqc\ads1220.o: ../modbus/Inc/modbus.h
voqc\ads1220.o: ../users/Inc/timer.h
voqc\ads1220.o: ../users/Inc/uarts.h
voqc\ads1220.o: ../Core/Inc/usart.h
voqc\ads1220.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdio.h
voqc\ads1220.o: ../modbus/Inc/modbus.h
voqc\ads1220.o: ../CH395Q/ch395.h
voqc\ads1220.o: ../CH395Q/ch395inc.h
voqc\ads1220.o: ../Core/Inc/spi.h
voqc\ads1220.o: ../CH395Q/ch395cmd.h
voqc\ads1220.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\string.h
voqc\ads1220.o: ../users/Inc/provalctrl.h
voqc\ads1220.o: ../board/Inc/dac7311.h
voqc\ads1220.o: ../board/Inc/eeprom.h
voqc\ads1220.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\math.h

BIN
MDK-ARM/VOQC/ads1220.o Normal file

Binary file not shown.

BIN
MDK-ARM/VOQC/ads1256.crf Normal file

Binary file not shown.

54
MDK-ARM/VOQC/ads1256.d Normal file
View File

@ -0,0 +1,54 @@
voqc\ads1256.o: ..\board\Src\ads1256.c
voqc\ads1256.o: ../board/Inc/ADS1256.h
voqc\ads1256.o: ../Core/Inc/main.h
voqc\ads1256.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\ads1256.o: ../Core/Inc/stm32f4xx_hal_conf.h
voqc\ads1256.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h
voqc\ads1256.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h
voqc\ads1256.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h
voqc\ads1256.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h
voqc\ads1256.o: ../Drivers/CMSIS/Include/core_cm4.h
voqc\ads1256.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdint.h
voqc\ads1256.o: ../Drivers/CMSIS/Include/cmsis_version.h
voqc\ads1256.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
voqc\ads1256.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
voqc\ads1256.o: ../Drivers/CMSIS/Include/mpu_armv7.h
voqc\ads1256.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h
voqc\ads1256.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\ads1256.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
voqc\ads1256.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stddef.h
voqc\ads1256.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h
voqc\ads1256.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h
voqc\ads1256.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h
voqc\ads1256.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h
voqc\ads1256.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h
voqc\ads1256.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h
voqc\ads1256.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h
voqc\ads1256.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h
voqc\ads1256.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h
voqc\ads1256.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h
voqc\ads1256.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h
voqc\ads1256.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h
voqc\ads1256.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h
voqc\ads1256.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h
voqc\ads1256.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h
voqc\ads1256.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h
voqc\ads1256.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h
voqc\ads1256.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h
voqc\ads1256.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h
voqc\ads1256.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h
voqc\ads1256.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h
voqc\ads1256.o: ../users/Inc/timer.h
voqc\ads1256.o: ../Core/Inc/tim.h
voqc\ads1256.o: ../Core/Inc/main.h
voqc\ads1256.o: ../modbus/Inc/modbus.h
voqc\ads1256.o: ../users/Inc/timer.h
voqc\ads1256.o: ../users/Inc/uarts.h
voqc\ads1256.o: ../Core/Inc/usart.h
voqc\ads1256.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdio.h
voqc\ads1256.o: ../modbus/Inc/modbus.h
voqc\ads1256.o: ../CH395Q/ch395.h
voqc\ads1256.o: ../CH395Q/ch395inc.h
voqc\ads1256.o: ../Core/Inc/spi.h
voqc\ads1256.o: ../CH395Q/ch395cmd.h
voqc\ads1256.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\string.h

BIN
MDK-ARM/VOQC/ads1256.o Normal file

Binary file not shown.

BIN
MDK-ARM/VOQC/ch395.crf Normal file

Binary file not shown.

54
MDK-ARM/VOQC/ch395.d Normal file
View File

@ -0,0 +1,54 @@
voqc\ch395.o: ..\CH395Q\ch395.c
voqc\ch395.o: ..\CH395Q\ch395.h
voqc\ch395.o: ..\CH395Q\ch395inc.h
voqc\ch395.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\ch395.o: ../Core/Inc/stm32f4xx_hal_conf.h
voqc\ch395.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h
voqc\ch395.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h
voqc\ch395.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h
voqc\ch395.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h
voqc\ch395.o: ../Drivers/CMSIS/Include/core_cm4.h
voqc\ch395.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdint.h
voqc\ch395.o: ../Drivers/CMSIS/Include/cmsis_version.h
voqc\ch395.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
voqc\ch395.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
voqc\ch395.o: ../Drivers/CMSIS/Include/mpu_armv7.h
voqc\ch395.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h
voqc\ch395.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\ch395.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
voqc\ch395.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stddef.h
voqc\ch395.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h
voqc\ch395.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h
voqc\ch395.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h
voqc\ch395.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h
voqc\ch395.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h
voqc\ch395.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h
voqc\ch395.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h
voqc\ch395.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h
voqc\ch395.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h
voqc\ch395.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h
voqc\ch395.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h
voqc\ch395.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h
voqc\ch395.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h
voqc\ch395.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h
voqc\ch395.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h
voqc\ch395.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h
voqc\ch395.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h
voqc\ch395.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h
voqc\ch395.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h
voqc\ch395.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h
voqc\ch395.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h
voqc\ch395.o: ../Core/Inc/main.h
voqc\ch395.o: ../users/Inc/timer.h
voqc\ch395.o: ../Core/Inc/tim.h
voqc\ch395.o: ../Core/Inc/main.h
voqc\ch395.o: ../modbus/Inc/modbus.h
voqc\ch395.o: ../users/Inc/timer.h
voqc\ch395.o: ../users/Inc/uarts.h
voqc\ch395.o: ../Core/Inc/usart.h
voqc\ch395.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdio.h
voqc\ch395.o: ../modbus/Inc/modbus.h
voqc\ch395.o: ../CH395Q/ch395.h
voqc\ch395.o: ../Core/Inc/spi.h
voqc\ch395.o: ..\CH395Q\ch395cmd.h
voqc\ch395.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\string.h

BIN
MDK-ARM/VOQC/ch395.o Normal file

Binary file not shown.

BIN
MDK-ARM/VOQC/ch395cmd.crf Normal file

Binary file not shown.

54
MDK-ARM/VOQC/ch395cmd.d Normal file
View File

@ -0,0 +1,54 @@
voqc\ch395cmd.o: ..\CH395Q\ch395cmd.c
voqc\ch395cmd.o: ..\CH395Q\ch395inc.h
voqc\ch395cmd.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\ch395cmd.o: ../Core/Inc/stm32f4xx_hal_conf.h
voqc\ch395cmd.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h
voqc\ch395cmd.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h
voqc\ch395cmd.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h
voqc\ch395cmd.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h
voqc\ch395cmd.o: ../Drivers/CMSIS/Include/core_cm4.h
voqc\ch395cmd.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdint.h
voqc\ch395cmd.o: ../Drivers/CMSIS/Include/cmsis_version.h
voqc\ch395cmd.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
voqc\ch395cmd.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
voqc\ch395cmd.o: ../Drivers/CMSIS/Include/mpu_armv7.h
voqc\ch395cmd.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h
voqc\ch395cmd.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\ch395cmd.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
voqc\ch395cmd.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stddef.h
voqc\ch395cmd.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h
voqc\ch395cmd.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h
voqc\ch395cmd.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h
voqc\ch395cmd.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h
voqc\ch395cmd.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h
voqc\ch395cmd.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h
voqc\ch395cmd.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h
voqc\ch395cmd.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h
voqc\ch395cmd.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h
voqc\ch395cmd.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h
voqc\ch395cmd.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h
voqc\ch395cmd.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h
voqc\ch395cmd.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h
voqc\ch395cmd.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h
voqc\ch395cmd.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h
voqc\ch395cmd.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h
voqc\ch395cmd.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h
voqc\ch395cmd.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h
voqc\ch395cmd.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h
voqc\ch395cmd.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h
voqc\ch395cmd.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h
voqc\ch395cmd.o: ../Core/Inc/main.h
voqc\ch395cmd.o: ../users/Inc/timer.h
voqc\ch395cmd.o: ../Core/Inc/tim.h
voqc\ch395cmd.o: ../Core/Inc/main.h
voqc\ch395cmd.o: ../modbus/Inc/modbus.h
voqc\ch395cmd.o: ../users/Inc/timer.h
voqc\ch395cmd.o: ../users/Inc/uarts.h
voqc\ch395cmd.o: ../Core/Inc/usart.h
voqc\ch395cmd.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdio.h
voqc\ch395cmd.o: ../modbus/Inc/modbus.h
voqc\ch395cmd.o: ../CH395Q/ch395.h
voqc\ch395cmd.o: ../CH395Q/ch395inc.h
voqc\ch395cmd.o: ../CH395Q/ch395cmd.h
voqc\ch395cmd.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\string.h
voqc\ch395cmd.o: ../Core/Inc/spi.h

BIN
MDK-ARM/VOQC/ch395cmd.o Normal file

Binary file not shown.

BIN
MDK-ARM/VOQC/dac7311.crf Normal file

Binary file not shown.

54
MDK-ARM/VOQC/dac7311.d Normal file
View File

@ -0,0 +1,54 @@
voqc\dac7311.o: ..\board\Src\dac7311.c
voqc\dac7311.o: ../board/Inc/dac7311.h
voqc\dac7311.o: ../Core/Inc/main.h
voqc\dac7311.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\dac7311.o: ../Core/Inc/stm32f4xx_hal_conf.h
voqc\dac7311.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h
voqc\dac7311.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h
voqc\dac7311.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h
voqc\dac7311.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h
voqc\dac7311.o: ../Drivers/CMSIS/Include/core_cm4.h
voqc\dac7311.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdint.h
voqc\dac7311.o: ../Drivers/CMSIS/Include/cmsis_version.h
voqc\dac7311.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
voqc\dac7311.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
voqc\dac7311.o: ../Drivers/CMSIS/Include/mpu_armv7.h
voqc\dac7311.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h
voqc\dac7311.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\dac7311.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
voqc\dac7311.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stddef.h
voqc\dac7311.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h
voqc\dac7311.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h
voqc\dac7311.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h
voqc\dac7311.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h
voqc\dac7311.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h
voqc\dac7311.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h
voqc\dac7311.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h
voqc\dac7311.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h
voqc\dac7311.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h
voqc\dac7311.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h
voqc\dac7311.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h
voqc\dac7311.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h
voqc\dac7311.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h
voqc\dac7311.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h
voqc\dac7311.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h
voqc\dac7311.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h
voqc\dac7311.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h
voqc\dac7311.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h
voqc\dac7311.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h
voqc\dac7311.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h
voqc\dac7311.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h
voqc\dac7311.o: ../users/Inc/timer.h
voqc\dac7311.o: ../Core/Inc/tim.h
voqc\dac7311.o: ../Core/Inc/main.h
voqc\dac7311.o: ../modbus/Inc/modbus.h
voqc\dac7311.o: ../users/Inc/timer.h
voqc\dac7311.o: ../users/Inc/uarts.h
voqc\dac7311.o: ../Core/Inc/usart.h
voqc\dac7311.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdio.h
voqc\dac7311.o: ../modbus/Inc/modbus.h
voqc\dac7311.o: ../CH395Q/ch395.h
voqc\dac7311.o: ../CH395Q/ch395inc.h
voqc\dac7311.o: ../Core/Inc/spi.h
voqc\dac7311.o: ../CH395Q/ch395cmd.h
voqc\dac7311.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\string.h

BIN
MDK-ARM/VOQC/dac7311.o Normal file

Binary file not shown.

BIN
MDK-ARM/VOQC/dma.crf Normal file

Binary file not shown.

54
MDK-ARM/VOQC/dma.d Normal file
View File

@ -0,0 +1,54 @@
voqc\dma.o: ../Core/Src/dma.c
voqc\dma.o: ../Core/Inc/dma.h
voqc\dma.o: ../Core/Inc/main.h
voqc\dma.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\dma.o: ../Core/Inc/stm32f4xx_hal_conf.h
voqc\dma.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h
voqc\dma.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h
voqc\dma.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h
voqc\dma.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h
voqc\dma.o: ../Drivers/CMSIS/Include/core_cm4.h
voqc\dma.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdint.h
voqc\dma.o: ../Drivers/CMSIS/Include/cmsis_version.h
voqc\dma.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
voqc\dma.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
voqc\dma.o: ../Drivers/CMSIS/Include/mpu_armv7.h
voqc\dma.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h
voqc\dma.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\dma.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
voqc\dma.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stddef.h
voqc\dma.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h
voqc\dma.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h
voqc\dma.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h
voqc\dma.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h
voqc\dma.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h
voqc\dma.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h
voqc\dma.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h
voqc\dma.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h
voqc\dma.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h
voqc\dma.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h
voqc\dma.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h
voqc\dma.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h
voqc\dma.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h
voqc\dma.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h
voqc\dma.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h
voqc\dma.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h
voqc\dma.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h
voqc\dma.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h
voqc\dma.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h
voqc\dma.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h
voqc\dma.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h
voqc\dma.o: ../users/Inc/timer.h
voqc\dma.o: ../Core/Inc/tim.h
voqc\dma.o: ../Core/Inc/main.h
voqc\dma.o: ../modbus/Inc/modbus.h
voqc\dma.o: ../users/Inc/timer.h
voqc\dma.o: ../users/Inc/uarts.h
voqc\dma.o: ../Core/Inc/usart.h
voqc\dma.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdio.h
voqc\dma.o: ../modbus/Inc/modbus.h
voqc\dma.o: ../CH395Q/ch395.h
voqc\dma.o: ../CH395Q/ch395inc.h
voqc\dma.o: ../Core/Inc/spi.h
voqc\dma.o: ../CH395Q/ch395cmd.h
voqc\dma.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\string.h

BIN
MDK-ARM/VOQC/dma.o Normal file

Binary file not shown.

BIN
MDK-ARM/VOQC/ds18b20.crf Normal file

Binary file not shown.

54
MDK-ARM/VOQC/ds18b20.d Normal file
View File

@ -0,0 +1,54 @@
voqc\ds18b20.o: ..\board\Src\ds18b20.c
voqc\ds18b20.o: ../board/Inc/ds18b20.h
voqc\ds18b20.o: ../Core/Inc/main.h
voqc\ds18b20.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\ds18b20.o: ../Core/Inc/stm32f4xx_hal_conf.h
voqc\ds18b20.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h
voqc\ds18b20.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h
voqc\ds18b20.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h
voqc\ds18b20.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h
voqc\ds18b20.o: ../Drivers/CMSIS/Include/core_cm4.h
voqc\ds18b20.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdint.h
voqc\ds18b20.o: ../Drivers/CMSIS/Include/cmsis_version.h
voqc\ds18b20.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
voqc\ds18b20.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
voqc\ds18b20.o: ../Drivers/CMSIS/Include/mpu_armv7.h
voqc\ds18b20.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h
voqc\ds18b20.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\ds18b20.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
voqc\ds18b20.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stddef.h
voqc\ds18b20.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h
voqc\ds18b20.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h
voqc\ds18b20.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h
voqc\ds18b20.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h
voqc\ds18b20.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h
voqc\ds18b20.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h
voqc\ds18b20.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h
voqc\ds18b20.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h
voqc\ds18b20.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h
voqc\ds18b20.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h
voqc\ds18b20.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h
voqc\ds18b20.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h
voqc\ds18b20.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h
voqc\ds18b20.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h
voqc\ds18b20.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h
voqc\ds18b20.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h
voqc\ds18b20.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h
voqc\ds18b20.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h
voqc\ds18b20.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h
voqc\ds18b20.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h
voqc\ds18b20.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h
voqc\ds18b20.o: ../users/Inc/timer.h
voqc\ds18b20.o: ../Core/Inc/tim.h
voqc\ds18b20.o: ../Core/Inc/main.h
voqc\ds18b20.o: ../modbus/Inc/modbus.h
voqc\ds18b20.o: ../users/Inc/timer.h
voqc\ds18b20.o: ../users/Inc/uarts.h
voqc\ds18b20.o: ../Core/Inc/usart.h
voqc\ds18b20.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdio.h
voqc\ds18b20.o: ../modbus/Inc/modbus.h
voqc\ds18b20.o: ../CH395Q/ch395.h
voqc\ds18b20.o: ../CH395Q/ch395inc.h
voqc\ds18b20.o: ../Core/Inc/spi.h
voqc\ds18b20.o: ../CH395Q/ch395cmd.h
voqc\ds18b20.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\string.h

BIN
MDK-ARM/VOQC/ds18b20.o Normal file

Binary file not shown.

BIN
MDK-ARM/VOQC/eeprom.crf Normal file

Binary file not shown.

54
MDK-ARM/VOQC/eeprom.d Normal file
View File

@ -0,0 +1,54 @@
voqc\eeprom.o: ..\board\Src\eeprom.c
voqc\eeprom.o: ../board/Inc/eeprom.h
voqc\eeprom.o: ../Core/Inc/main.h
voqc\eeprom.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\eeprom.o: ../Core/Inc/stm32f4xx_hal_conf.h
voqc\eeprom.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h
voqc\eeprom.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h
voqc\eeprom.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h
voqc\eeprom.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h
voqc\eeprom.o: ../Drivers/CMSIS/Include/core_cm4.h
voqc\eeprom.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdint.h
voqc\eeprom.o: ../Drivers/CMSIS/Include/cmsis_version.h
voqc\eeprom.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
voqc\eeprom.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
voqc\eeprom.o: ../Drivers/CMSIS/Include/mpu_armv7.h
voqc\eeprom.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h
voqc\eeprom.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\eeprom.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
voqc\eeprom.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stddef.h
voqc\eeprom.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h
voqc\eeprom.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h
voqc\eeprom.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h
voqc\eeprom.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h
voqc\eeprom.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h
voqc\eeprom.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h
voqc\eeprom.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h
voqc\eeprom.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h
voqc\eeprom.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h
voqc\eeprom.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h
voqc\eeprom.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h
voqc\eeprom.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h
voqc\eeprom.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h
voqc\eeprom.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h
voqc\eeprom.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h
voqc\eeprom.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h
voqc\eeprom.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h
voqc\eeprom.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h
voqc\eeprom.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h
voqc\eeprom.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h
voqc\eeprom.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h
voqc\eeprom.o: ../users/Inc/timer.h
voqc\eeprom.o: ../Core/Inc/tim.h
voqc\eeprom.o: ../Core/Inc/main.h
voqc\eeprom.o: ../modbus/Inc/modbus.h
voqc\eeprom.o: ../users/Inc/timer.h
voqc\eeprom.o: ../users/Inc/uarts.h
voqc\eeprom.o: ../Core/Inc/usart.h
voqc\eeprom.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdio.h
voqc\eeprom.o: ../modbus/Inc/modbus.h
voqc\eeprom.o: ../CH395Q/ch395.h
voqc\eeprom.o: ../CH395Q/ch395inc.h
voqc\eeprom.o: ../Core/Inc/spi.h
voqc\eeprom.o: ../CH395Q/ch395cmd.h
voqc\eeprom.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\string.h

BIN
MDK-ARM/VOQC/eeprom.o Normal file

Binary file not shown.

BIN
MDK-ARM/VOQC/encoder.crf Normal file

Binary file not shown.

53
MDK-ARM/VOQC/encoder.d Normal file
View File

@ -0,0 +1,53 @@
voqc\encoder.o: ..\users\Src\encoder.c
voqc\encoder.o: ../users/Inc/encoder.h
voqc\encoder.o: ../modbus/Inc/modbus.h
voqc\encoder.o: ../users/Inc/timer.h
voqc\encoder.o: ../Core/Inc/tim.h
voqc\encoder.o: ../Core/Inc/main.h
voqc\encoder.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\encoder.o: ../Core/Inc/stm32f4xx_hal_conf.h
voqc\encoder.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h
voqc\encoder.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h
voqc\encoder.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h
voqc\encoder.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h
voqc\encoder.o: ../Drivers/CMSIS/Include/core_cm4.h
voqc\encoder.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdint.h
voqc\encoder.o: ../Drivers/CMSIS/Include/cmsis_version.h
voqc\encoder.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
voqc\encoder.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
voqc\encoder.o: ../Drivers/CMSIS/Include/mpu_armv7.h
voqc\encoder.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h
voqc\encoder.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\encoder.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
voqc\encoder.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stddef.h
voqc\encoder.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h
voqc\encoder.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h
voqc\encoder.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h
voqc\encoder.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h
voqc\encoder.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h
voqc\encoder.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h
voqc\encoder.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h
voqc\encoder.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h
voqc\encoder.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h
voqc\encoder.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h
voqc\encoder.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h
voqc\encoder.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h
voqc\encoder.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h
voqc\encoder.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h
voqc\encoder.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h
voqc\encoder.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h
voqc\encoder.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h
voqc\encoder.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h
voqc\encoder.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h
voqc\encoder.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h
voqc\encoder.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h
voqc\encoder.o: ../users/Inc/timer.h
voqc\encoder.o: ../modbus/Inc/modbus.h
voqc\encoder.o: ../users/Inc/uarts.h
voqc\encoder.o: ../Core/Inc/usart.h
voqc\encoder.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdio.h
voqc\encoder.o: ../CH395Q/ch395.h
voqc\encoder.o: ../CH395Q/ch395inc.h
voqc\encoder.o: ../Core/Inc/spi.h
voqc\encoder.o: ../CH395Q/ch395cmd.h
voqc\encoder.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\string.h

BIN
MDK-ARM/VOQC/encoder.o Normal file

Binary file not shown.

BIN
MDK-ARM/VOQC/flash.crf Normal file

Binary file not shown.

54
MDK-ARM/VOQC/flash.d Normal file
View File

@ -0,0 +1,54 @@
voqc\flash.o: ..\users\Src\flash.c
voqc\flash.o: ../users/Inc/flash.h
voqc\flash.o: ../Core/Inc/main.h
voqc\flash.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\flash.o: ../Core/Inc/stm32f4xx_hal_conf.h
voqc\flash.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h
voqc\flash.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h
voqc\flash.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h
voqc\flash.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h
voqc\flash.o: ../Drivers/CMSIS/Include/core_cm4.h
voqc\flash.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdint.h
voqc\flash.o: ../Drivers/CMSIS/Include/cmsis_version.h
voqc\flash.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
voqc\flash.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
voqc\flash.o: ../Drivers/CMSIS/Include/mpu_armv7.h
voqc\flash.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h
voqc\flash.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\flash.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
voqc\flash.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stddef.h
voqc\flash.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h
voqc\flash.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h
voqc\flash.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h
voqc\flash.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h
voqc\flash.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h
voqc\flash.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h
voqc\flash.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h
voqc\flash.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h
voqc\flash.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h
voqc\flash.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h
voqc\flash.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h
voqc\flash.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h
voqc\flash.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h
voqc\flash.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h
voqc\flash.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h
voqc\flash.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h
voqc\flash.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h
voqc\flash.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h
voqc\flash.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h
voqc\flash.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h
voqc\flash.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h
voqc\flash.o: ../users/Inc/timer.h
voqc\flash.o: ../Core/Inc/tim.h
voqc\flash.o: ../Core/Inc/main.h
voqc\flash.o: ../modbus/Inc/modbus.h
voqc\flash.o: ../users/Inc/timer.h
voqc\flash.o: ../users/Inc/uarts.h
voqc\flash.o: ../Core/Inc/usart.h
voqc\flash.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdio.h
voqc\flash.o: ../modbus/Inc/modbus.h
voqc\flash.o: ../CH395Q/ch395.h
voqc\flash.o: ../CH395Q/ch395inc.h
voqc\flash.o: ../Core/Inc/spi.h
voqc\flash.o: ../CH395Q/ch395cmd.h
voqc\flash.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\string.h

BIN
MDK-ARM/VOQC/flash.o Normal file

Binary file not shown.

BIN
MDK-ARM/VOQC/gpio.crf Normal file

Binary file not shown.

54
MDK-ARM/VOQC/gpio.d Normal file
View File

@ -0,0 +1,54 @@
voqc\gpio.o: ../Core/Src/gpio.c
voqc\gpio.o: ../Core/Inc/gpio.h
voqc\gpio.o: ../Core/Inc/main.h
voqc\gpio.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\gpio.o: ../Core/Inc/stm32f4xx_hal_conf.h
voqc\gpio.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h
voqc\gpio.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h
voqc\gpio.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h
voqc\gpio.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h
voqc\gpio.o: ../Drivers/CMSIS/Include/core_cm4.h
voqc\gpio.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdint.h
voqc\gpio.o: ../Drivers/CMSIS/Include/cmsis_version.h
voqc\gpio.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
voqc\gpio.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
voqc\gpio.o: ../Drivers/CMSIS/Include/mpu_armv7.h
voqc\gpio.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h
voqc\gpio.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\gpio.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
voqc\gpio.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stddef.h
voqc\gpio.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h
voqc\gpio.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h
voqc\gpio.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h
voqc\gpio.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h
voqc\gpio.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h
voqc\gpio.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h
voqc\gpio.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h
voqc\gpio.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h
voqc\gpio.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h
voqc\gpio.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h
voqc\gpio.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h
voqc\gpio.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h
voqc\gpio.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h
voqc\gpio.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h
voqc\gpio.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h
voqc\gpio.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h
voqc\gpio.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h
voqc\gpio.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h
voqc\gpio.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h
voqc\gpio.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h
voqc\gpio.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h
voqc\gpio.o: ../users/Inc/timer.h
voqc\gpio.o: ../Core/Inc/tim.h
voqc\gpio.o: ../Core/Inc/main.h
voqc\gpio.o: ../modbus/Inc/modbus.h
voqc\gpio.o: ../users/Inc/timer.h
voqc\gpio.o: ../users/Inc/uarts.h
voqc\gpio.o: ../Core/Inc/usart.h
voqc\gpio.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdio.h
voqc\gpio.o: ../modbus/Inc/modbus.h
voqc\gpio.o: ../CH395Q/ch395.h
voqc\gpio.o: ../CH395Q/ch395inc.h
voqc\gpio.o: ../Core/Inc/spi.h
voqc\gpio.o: ../CH395Q/ch395cmd.h
voqc\gpio.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\string.h

BIN
MDK-ARM/VOQC/gpio.o Normal file

Binary file not shown.

BIN
MDK-ARM/VOQC/gpios.crf Normal file

Binary file not shown.

58
MDK-ARM/VOQC/gpios.d Normal file
View File

@ -0,0 +1,58 @@
voqc\gpios.o: ..\users\Src\gpios.c
voqc\gpios.o: ../users/Inc/gpios.h
voqc\gpios.o: ../Core/Inc/gpio.h
voqc\gpios.o: ../Core/Inc/main.h
voqc\gpios.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\gpios.o: ../Core/Inc/stm32f4xx_hal_conf.h
voqc\gpios.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h
voqc\gpios.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h
voqc\gpios.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h
voqc\gpios.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h
voqc\gpios.o: ../Drivers/CMSIS/Include/core_cm4.h
voqc\gpios.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdint.h
voqc\gpios.o: ../Drivers/CMSIS/Include/cmsis_version.h
voqc\gpios.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
voqc\gpios.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
voqc\gpios.o: ../Drivers/CMSIS/Include/mpu_armv7.h
voqc\gpios.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h
voqc\gpios.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\gpios.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
voqc\gpios.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stddef.h
voqc\gpios.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h
voqc\gpios.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h
voqc\gpios.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h
voqc\gpios.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h
voqc\gpios.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h
voqc\gpios.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h
voqc\gpios.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h
voqc\gpios.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h
voqc\gpios.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h
voqc\gpios.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h
voqc\gpios.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h
voqc\gpios.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h
voqc\gpios.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h
voqc\gpios.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h
voqc\gpios.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h
voqc\gpios.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h
voqc\gpios.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h
voqc\gpios.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h
voqc\gpios.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h
voqc\gpios.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h
voqc\gpios.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h
voqc\gpios.o: ../users/Inc/timer.h
voqc\gpios.o: ../Core/Inc/tim.h
voqc\gpios.o: ../Core/Inc/main.h
voqc\gpios.o: ../modbus/Inc/modbus.h
voqc\gpios.o: ../users/Inc/timer.h
voqc\gpios.o: ../users/Inc/uarts.h
voqc\gpios.o: ../Core/Inc/usart.h
voqc\gpios.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdio.h
voqc\gpios.o: ../modbus/Inc/modbus.h
voqc\gpios.o: ../CH395Q/ch395.h
voqc\gpios.o: ../CH395Q/ch395inc.h
voqc\gpios.o: ../Core/Inc/spi.h
voqc\gpios.o: ../CH395Q/ch395cmd.h
voqc\gpios.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\string.h
voqc\gpios.o: ../board/Inc/hc595.h
voqc\gpios.o: ../board/Inc/hc165.h
voqc\gpios.o: ../users/Inc/encoder.h

BIN
MDK-ARM/VOQC/gpios.o Normal file

Binary file not shown.

BIN
MDK-ARM/VOQC/hc165.crf Normal file

Binary file not shown.

54
MDK-ARM/VOQC/hc165.d Normal file
View File

@ -0,0 +1,54 @@
voqc\hc165.o: ..\board\Src\hc165.c
voqc\hc165.o: ../board/Inc/hc165.h
voqc\hc165.o: ../Core/Inc/main.h
voqc\hc165.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\hc165.o: ../Core/Inc/stm32f4xx_hal_conf.h
voqc\hc165.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h
voqc\hc165.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h
voqc\hc165.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h
voqc\hc165.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h
voqc\hc165.o: ../Drivers/CMSIS/Include/core_cm4.h
voqc\hc165.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdint.h
voqc\hc165.o: ../Drivers/CMSIS/Include/cmsis_version.h
voqc\hc165.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
voqc\hc165.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
voqc\hc165.o: ../Drivers/CMSIS/Include/mpu_armv7.h
voqc\hc165.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h
voqc\hc165.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\hc165.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
voqc\hc165.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stddef.h
voqc\hc165.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h
voqc\hc165.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h
voqc\hc165.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h
voqc\hc165.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h
voqc\hc165.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h
voqc\hc165.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h
voqc\hc165.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h
voqc\hc165.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h
voqc\hc165.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h
voqc\hc165.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h
voqc\hc165.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h
voqc\hc165.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h
voqc\hc165.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h
voqc\hc165.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h
voqc\hc165.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h
voqc\hc165.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h
voqc\hc165.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h
voqc\hc165.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h
voqc\hc165.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h
voqc\hc165.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h
voqc\hc165.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h
voqc\hc165.o: ../users/Inc/timer.h
voqc\hc165.o: ../Core/Inc/tim.h
voqc\hc165.o: ../Core/Inc/main.h
voqc\hc165.o: ../modbus/Inc/modbus.h
voqc\hc165.o: ../users/Inc/timer.h
voqc\hc165.o: ../users/Inc/uarts.h
voqc\hc165.o: ../Core/Inc/usart.h
voqc\hc165.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdio.h
voqc\hc165.o: ../modbus/Inc/modbus.h
voqc\hc165.o: ../CH395Q/ch395.h
voqc\hc165.o: ../CH395Q/ch395inc.h
voqc\hc165.o: ../Core/Inc/spi.h
voqc\hc165.o: ../CH395Q/ch395cmd.h
voqc\hc165.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\string.h

BIN
MDK-ARM/VOQC/hc165.o Normal file

Binary file not shown.

BIN
MDK-ARM/VOQC/hc595.crf Normal file

Binary file not shown.

54
MDK-ARM/VOQC/hc595.d Normal file
View File

@ -0,0 +1,54 @@
voqc\hc595.o: ..\board\Src\hc595.c
voqc\hc595.o: ../board/Inc/hc595.h
voqc\hc595.o: ../Core/Inc/main.h
voqc\hc595.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\hc595.o: ../Core/Inc/stm32f4xx_hal_conf.h
voqc\hc595.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h
voqc\hc595.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h
voqc\hc595.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h
voqc\hc595.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h
voqc\hc595.o: ../Drivers/CMSIS/Include/core_cm4.h
voqc\hc595.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdint.h
voqc\hc595.o: ../Drivers/CMSIS/Include/cmsis_version.h
voqc\hc595.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
voqc\hc595.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
voqc\hc595.o: ../Drivers/CMSIS/Include/mpu_armv7.h
voqc\hc595.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h
voqc\hc595.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\hc595.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
voqc\hc595.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stddef.h
voqc\hc595.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h
voqc\hc595.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h
voqc\hc595.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h
voqc\hc595.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h
voqc\hc595.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h
voqc\hc595.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h
voqc\hc595.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h
voqc\hc595.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h
voqc\hc595.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h
voqc\hc595.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h
voqc\hc595.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h
voqc\hc595.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h
voqc\hc595.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h
voqc\hc595.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h
voqc\hc595.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h
voqc\hc595.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h
voqc\hc595.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h
voqc\hc595.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h
voqc\hc595.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h
voqc\hc595.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h
voqc\hc595.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h
voqc\hc595.o: ../users/Inc/timer.h
voqc\hc595.o: ../Core/Inc/tim.h
voqc\hc595.o: ../Core/Inc/main.h
voqc\hc595.o: ../modbus/Inc/modbus.h
voqc\hc595.o: ../users/Inc/timer.h
voqc\hc595.o: ../users/Inc/uarts.h
voqc\hc595.o: ../Core/Inc/usart.h
voqc\hc595.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdio.h
voqc\hc595.o: ../modbus/Inc/modbus.h
voqc\hc595.o: ../CH395Q/ch395.h
voqc\hc595.o: ../CH395Q/ch395inc.h
voqc\hc595.o: ../Core/Inc/spi.h
voqc\hc595.o: ../CH395Q/ch395cmd.h
voqc\hc595.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\string.h

BIN
MDK-ARM/VOQC/hc595.o Normal file

Binary file not shown.

BIN
MDK-ARM/VOQC/i2c.crf Normal file

Binary file not shown.

54
MDK-ARM/VOQC/i2c.d Normal file
View File

@ -0,0 +1,54 @@
voqc\i2c.o: ../Core/Src/i2c.c
voqc\i2c.o: ../Core/Inc/i2c.h
voqc\i2c.o: ../Core/Inc/main.h
voqc\i2c.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\i2c.o: ../Core/Inc/stm32f4xx_hal_conf.h
voqc\i2c.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h
voqc\i2c.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h
voqc\i2c.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h
voqc\i2c.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h
voqc\i2c.o: ../Drivers/CMSIS/Include/core_cm4.h
voqc\i2c.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdint.h
voqc\i2c.o: ../Drivers/CMSIS/Include/cmsis_version.h
voqc\i2c.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
voqc\i2c.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
voqc\i2c.o: ../Drivers/CMSIS/Include/mpu_armv7.h
voqc\i2c.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h
voqc\i2c.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\i2c.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
voqc\i2c.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stddef.h
voqc\i2c.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h
voqc\i2c.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h
voqc\i2c.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h
voqc\i2c.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h
voqc\i2c.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h
voqc\i2c.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h
voqc\i2c.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h
voqc\i2c.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h
voqc\i2c.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h
voqc\i2c.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h
voqc\i2c.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h
voqc\i2c.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h
voqc\i2c.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h
voqc\i2c.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h
voqc\i2c.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h
voqc\i2c.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h
voqc\i2c.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h
voqc\i2c.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h
voqc\i2c.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h
voqc\i2c.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h
voqc\i2c.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h
voqc\i2c.o: ../users/Inc/timer.h
voqc\i2c.o: ../Core/Inc/tim.h
voqc\i2c.o: ../Core/Inc/main.h
voqc\i2c.o: ../modbus/Inc/modbus.h
voqc\i2c.o: ../users/Inc/timer.h
voqc\i2c.o: ../users/Inc/uarts.h
voqc\i2c.o: ../Core/Inc/usart.h
voqc\i2c.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdio.h
voqc\i2c.o: ../modbus/Inc/modbus.h
voqc\i2c.o: ../CH395Q/ch395.h
voqc\i2c.o: ../CH395Q/ch395inc.h
voqc\i2c.o: ../Core/Inc/spi.h
voqc\i2c.o: ../CH395Q/ch395cmd.h
voqc\i2c.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\string.h

BIN
MDK-ARM/VOQC/i2c.o Normal file

Binary file not shown.

BIN
MDK-ARM/VOQC/main.crf Normal file

Binary file not shown.

71
MDK-ARM/VOQC/main.d Normal file
View File

@ -0,0 +1,71 @@
voqc\main.o: ../Core/Src/main.c
voqc\main.o: ../Core/Inc/main.h
voqc\main.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\main.o: ../Core/Inc/stm32f4xx_hal_conf.h
voqc\main.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h
voqc\main.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h
voqc\main.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h
voqc\main.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h
voqc\main.o: ../Drivers/CMSIS/Include/core_cm4.h
voqc\main.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdint.h
voqc\main.o: ../Drivers/CMSIS/Include/cmsis_version.h
voqc\main.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
voqc\main.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
voqc\main.o: ../Drivers/CMSIS/Include/mpu_armv7.h
voqc\main.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h
voqc\main.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\main.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
voqc\main.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stddef.h
voqc\main.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h
voqc\main.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h
voqc\main.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h
voqc\main.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h
voqc\main.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h
voqc\main.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h
voqc\main.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h
voqc\main.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h
voqc\main.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h
voqc\main.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h
voqc\main.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h
voqc\main.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h
voqc\main.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h
voqc\main.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h
voqc\main.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h
voqc\main.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h
voqc\main.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h
voqc\main.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h
voqc\main.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h
voqc\main.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h
voqc\main.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h
voqc\main.o: ../users/Inc/timer.h
voqc\main.o: ../Core/Inc/tim.h
voqc\main.o: ../Core/Inc/main.h
voqc\main.o: ../modbus/Inc/modbus.h
voqc\main.o: ../users/Inc/timer.h
voqc\main.o: ../users/Inc/uarts.h
voqc\main.o: ../Core/Inc/usart.h
voqc\main.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdio.h
voqc\main.o: ../modbus/Inc/modbus.h
voqc\main.o: ../CH395Q/ch395.h
voqc\main.o: ../CH395Q/ch395inc.h
voqc\main.o: ../Core/Inc/spi.h
voqc\main.o: ../CH395Q/ch395cmd.h
voqc\main.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\string.h
voqc\main.o: ../Core/Inc/adc.h
voqc\main.o: ../Core/Inc/dma.h
voqc\main.o: ../Core/Inc/i2c.h
voqc\main.o: ../Core/Inc/gpio.h
voqc\main.o: ../users/Inc/gpios.h
voqc\main.o: ../board/Inc/hc595.h
voqc\main.o: ../board/Inc/hc165.h
voqc\main.o: ../users/Inc/encoder.h
voqc\main.o: ../users/Inc/adcs.h
voqc\main.o: ../board/Inc/ADS1256.h
voqc\main.o: ../board/Inc/ads1220.h
voqc\main.o: ../board/Inc/mf5803.h
voqc\main.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\math.h
voqc\main.o: ../board/Inc/ms5803.h
voqc\main.o: ../board/Inc/ds18b20.h
voqc\main.o: ../board/Inc/dac7311.h
voqc\main.o: ../users/Inc/provalctrl.h
voqc\main.o: ../board/Inc/eeprom.h

BIN
MDK-ARM/VOQC/main.o Normal file

Binary file not shown.

BIN
MDK-ARM/VOQC/mf5803.crf Normal file

Binary file not shown.

56
MDK-ARM/VOQC/mf5803.d Normal file
View File

@ -0,0 +1,56 @@
voqc\mf5803.o: ..\board\Src\mf5803.c
voqc\mf5803.o: ../board/Inc/mf5803.h
voqc\mf5803.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\math.h
voqc\mf5803.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\string.h
voqc\mf5803.o: ../Core/Inc/main.h
voqc\mf5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\mf5803.o: ../Core/Inc/stm32f4xx_hal_conf.h
voqc\mf5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h
voqc\mf5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h
voqc\mf5803.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h
voqc\mf5803.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h
voqc\mf5803.o: ../Drivers/CMSIS/Include/core_cm4.h
voqc\mf5803.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdint.h
voqc\mf5803.o: ../Drivers/CMSIS/Include/cmsis_version.h
voqc\mf5803.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
voqc\mf5803.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
voqc\mf5803.o: ../Drivers/CMSIS/Include/mpu_armv7.h
voqc\mf5803.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h
voqc\mf5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\mf5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
voqc\mf5803.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stddef.h
voqc\mf5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h
voqc\mf5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h
voqc\mf5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h
voqc\mf5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h
voqc\mf5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h
voqc\mf5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h
voqc\mf5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h
voqc\mf5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h
voqc\mf5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h
voqc\mf5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h
voqc\mf5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h
voqc\mf5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h
voqc\mf5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h
voqc\mf5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h
voqc\mf5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h
voqc\mf5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h
voqc\mf5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h
voqc\mf5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h
voqc\mf5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h
voqc\mf5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h
voqc\mf5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h
voqc\mf5803.o: ../users/Inc/timer.h
voqc\mf5803.o: ../Core/Inc/tim.h
voqc\mf5803.o: ../Core/Inc/main.h
voqc\mf5803.o: ../modbus/Inc/modbus.h
voqc\mf5803.o: ../users/Inc/timer.h
voqc\mf5803.o: ../users/Inc/uarts.h
voqc\mf5803.o: ../Core/Inc/usart.h
voqc\mf5803.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdio.h
voqc\mf5803.o: ../modbus/Inc/modbus.h
voqc\mf5803.o: ../CH395Q/ch395.h
voqc\mf5803.o: ../CH395Q/ch395inc.h
voqc\mf5803.o: ../Core/Inc/spi.h
voqc\mf5803.o: ../CH395Q/ch395cmd.h
voqc\mf5803.o: ../board/Inc/ms5803.h

BIN
MDK-ARM/VOQC/mf5803.o Normal file

Binary file not shown.

BIN
MDK-ARM/VOQC/modbus.crf Normal file

Binary file not shown.

52
MDK-ARM/VOQC/modbus.d Normal file
View File

@ -0,0 +1,52 @@
voqc\modbus.o: ..\modbus\Src\modbus.c
voqc\modbus.o: ../modbus/Inc/modbus.h
voqc\modbus.o: ../users/Inc/timer.h
voqc\modbus.o: ../Core/Inc/tim.h
voqc\modbus.o: ../Core/Inc/main.h
voqc\modbus.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\modbus.o: ../Core/Inc/stm32f4xx_hal_conf.h
voqc\modbus.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h
voqc\modbus.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h
voqc\modbus.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h
voqc\modbus.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h
voqc\modbus.o: ../Drivers/CMSIS/Include/core_cm4.h
voqc\modbus.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdint.h
voqc\modbus.o: ../Drivers/CMSIS/Include/cmsis_version.h
voqc\modbus.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
voqc\modbus.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
voqc\modbus.o: ../Drivers/CMSIS/Include/mpu_armv7.h
voqc\modbus.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h
voqc\modbus.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\modbus.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
voqc\modbus.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stddef.h
voqc\modbus.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h
voqc\modbus.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h
voqc\modbus.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h
voqc\modbus.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h
voqc\modbus.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h
voqc\modbus.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h
voqc\modbus.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h
voqc\modbus.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h
voqc\modbus.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h
voqc\modbus.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h
voqc\modbus.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h
voqc\modbus.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h
voqc\modbus.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h
voqc\modbus.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h
voqc\modbus.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h
voqc\modbus.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h
voqc\modbus.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h
voqc\modbus.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h
voqc\modbus.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h
voqc\modbus.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h
voqc\modbus.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h
voqc\modbus.o: ../users/Inc/timer.h
voqc\modbus.o: ../modbus/Inc/modbus.h
voqc\modbus.o: ../users/Inc/uarts.h
voqc\modbus.o: ../Core/Inc/usart.h
voqc\modbus.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdio.h
voqc\modbus.o: ../CH395Q/ch395.h
voqc\modbus.o: ../CH395Q/ch395inc.h
voqc\modbus.o: ../Core/Inc/spi.h
voqc\modbus.o: ../CH395Q/ch395cmd.h
voqc\modbus.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\string.h

BIN
MDK-ARM/VOQC/modbus.o Normal file

Binary file not shown.

BIN
MDK-ARM/VOQC/modbus_rtu.crf Normal file

Binary file not shown.

52
MDK-ARM/VOQC/modbus_rtu.d Normal file
View File

@ -0,0 +1,52 @@
voqc\modbus_rtu.o: ..\modbus\Src\modbus_rtu.c
voqc\modbus_rtu.o: ../modbus/Inc/modbus.h
voqc\modbus_rtu.o: ../users/Inc/timer.h
voqc\modbus_rtu.o: ../Core/Inc/tim.h
voqc\modbus_rtu.o: ../Core/Inc/main.h
voqc\modbus_rtu.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\modbus_rtu.o: ../Core/Inc/stm32f4xx_hal_conf.h
voqc\modbus_rtu.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h
voqc\modbus_rtu.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h
voqc\modbus_rtu.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h
voqc\modbus_rtu.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h
voqc\modbus_rtu.o: ../Drivers/CMSIS/Include/core_cm4.h
voqc\modbus_rtu.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdint.h
voqc\modbus_rtu.o: ../Drivers/CMSIS/Include/cmsis_version.h
voqc\modbus_rtu.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
voqc\modbus_rtu.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
voqc\modbus_rtu.o: ../Drivers/CMSIS/Include/mpu_armv7.h
voqc\modbus_rtu.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h
voqc\modbus_rtu.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\modbus_rtu.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
voqc\modbus_rtu.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stddef.h
voqc\modbus_rtu.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h
voqc\modbus_rtu.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h
voqc\modbus_rtu.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h
voqc\modbus_rtu.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h
voqc\modbus_rtu.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h
voqc\modbus_rtu.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h
voqc\modbus_rtu.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h
voqc\modbus_rtu.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h
voqc\modbus_rtu.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h
voqc\modbus_rtu.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h
voqc\modbus_rtu.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h
voqc\modbus_rtu.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h
voqc\modbus_rtu.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h
voqc\modbus_rtu.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h
voqc\modbus_rtu.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h
voqc\modbus_rtu.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h
voqc\modbus_rtu.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h
voqc\modbus_rtu.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h
voqc\modbus_rtu.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h
voqc\modbus_rtu.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h
voqc\modbus_rtu.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h
voqc\modbus_rtu.o: ../users/Inc/timer.h
voqc\modbus_rtu.o: ../modbus/Inc/modbus.h
voqc\modbus_rtu.o: ../users/Inc/uarts.h
voqc\modbus_rtu.o: ../Core/Inc/usart.h
voqc\modbus_rtu.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdio.h
voqc\modbus_rtu.o: ../CH395Q/ch395.h
voqc\modbus_rtu.o: ../CH395Q/ch395inc.h
voqc\modbus_rtu.o: ../Core/Inc/spi.h
voqc\modbus_rtu.o: ../CH395Q/ch395cmd.h
voqc\modbus_rtu.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\string.h

BIN
MDK-ARM/VOQC/modbus_rtu.o Normal file

Binary file not shown.

BIN
MDK-ARM/VOQC/modbus_tcp.crf Normal file

Binary file not shown.

52
MDK-ARM/VOQC/modbus_tcp.d Normal file
View File

@ -0,0 +1,52 @@
voqc\modbus_tcp.o: ..\modbus\Src\modbus_tcp.c
voqc\modbus_tcp.o: ../modbus/Inc/modbus.h
voqc\modbus_tcp.o: ../users/Inc/timer.h
voqc\modbus_tcp.o: ../Core/Inc/tim.h
voqc\modbus_tcp.o: ../Core/Inc/main.h
voqc\modbus_tcp.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\modbus_tcp.o: ../Core/Inc/stm32f4xx_hal_conf.h
voqc\modbus_tcp.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h
voqc\modbus_tcp.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h
voqc\modbus_tcp.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h
voqc\modbus_tcp.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h
voqc\modbus_tcp.o: ../Drivers/CMSIS/Include/core_cm4.h
voqc\modbus_tcp.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdint.h
voqc\modbus_tcp.o: ../Drivers/CMSIS/Include/cmsis_version.h
voqc\modbus_tcp.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
voqc\modbus_tcp.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
voqc\modbus_tcp.o: ../Drivers/CMSIS/Include/mpu_armv7.h
voqc\modbus_tcp.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h
voqc\modbus_tcp.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\modbus_tcp.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
voqc\modbus_tcp.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stddef.h
voqc\modbus_tcp.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h
voqc\modbus_tcp.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h
voqc\modbus_tcp.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h
voqc\modbus_tcp.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h
voqc\modbus_tcp.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h
voqc\modbus_tcp.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h
voqc\modbus_tcp.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h
voqc\modbus_tcp.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h
voqc\modbus_tcp.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h
voqc\modbus_tcp.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h
voqc\modbus_tcp.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h
voqc\modbus_tcp.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h
voqc\modbus_tcp.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h
voqc\modbus_tcp.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h
voqc\modbus_tcp.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h
voqc\modbus_tcp.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h
voqc\modbus_tcp.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h
voqc\modbus_tcp.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h
voqc\modbus_tcp.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h
voqc\modbus_tcp.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h
voqc\modbus_tcp.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h
voqc\modbus_tcp.o: ../users/Inc/timer.h
voqc\modbus_tcp.o: ../modbus/Inc/modbus.h
voqc\modbus_tcp.o: ../users/Inc/uarts.h
voqc\modbus_tcp.o: ../Core/Inc/usart.h
voqc\modbus_tcp.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdio.h
voqc\modbus_tcp.o: ../CH395Q/ch395.h
voqc\modbus_tcp.o: ../CH395Q/ch395inc.h
voqc\modbus_tcp.o: ../Core/Inc/spi.h
voqc\modbus_tcp.o: ../CH395Q/ch395cmd.h
voqc\modbus_tcp.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\string.h

BIN
MDK-ARM/VOQC/modbus_tcp.o Normal file

Binary file not shown.

BIN
MDK-ARM/VOQC/ms5803.crf Normal file

Binary file not shown.

55
MDK-ARM/VOQC/ms5803.d Normal file
View File

@ -0,0 +1,55 @@
voqc\ms5803.o: ..\board\Src\ms5803.c
voqc\ms5803.o: ../board/Inc/ms5803.h
voqc\ms5803.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\math.h
voqc\ms5803.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\string.h
voqc\ms5803.o: ../Core/Inc/main.h
voqc\ms5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\ms5803.o: ../Core/Inc/stm32f4xx_hal_conf.h
voqc\ms5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h
voqc\ms5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h
voqc\ms5803.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h
voqc\ms5803.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h
voqc\ms5803.o: ../Drivers/CMSIS/Include/core_cm4.h
voqc\ms5803.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdint.h
voqc\ms5803.o: ../Drivers/CMSIS/Include/cmsis_version.h
voqc\ms5803.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
voqc\ms5803.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
voqc\ms5803.o: ../Drivers/CMSIS/Include/mpu_armv7.h
voqc\ms5803.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h
voqc\ms5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\ms5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
voqc\ms5803.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stddef.h
voqc\ms5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h
voqc\ms5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h
voqc\ms5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h
voqc\ms5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h
voqc\ms5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h
voqc\ms5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h
voqc\ms5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h
voqc\ms5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h
voqc\ms5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h
voqc\ms5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h
voqc\ms5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h
voqc\ms5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h
voqc\ms5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h
voqc\ms5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h
voqc\ms5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h
voqc\ms5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h
voqc\ms5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h
voqc\ms5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h
voqc\ms5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h
voqc\ms5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h
voqc\ms5803.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h
voqc\ms5803.o: ../users/Inc/timer.h
voqc\ms5803.o: ../Core/Inc/tim.h
voqc\ms5803.o: ../Core/Inc/main.h
voqc\ms5803.o: ../modbus/Inc/modbus.h
voqc\ms5803.o: ../users/Inc/timer.h
voqc\ms5803.o: ../users/Inc/uarts.h
voqc\ms5803.o: ../Core/Inc/usart.h
voqc\ms5803.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdio.h
voqc\ms5803.o: ../modbus/Inc/modbus.h
voqc\ms5803.o: ../CH395Q/ch395.h
voqc\ms5803.o: ../CH395Q/ch395inc.h
voqc\ms5803.o: ../Core/Inc/spi.h
voqc\ms5803.o: ../CH395Q/ch395cmd.h

BIN
MDK-ARM/VOQC/ms5803.o Normal file

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,2 @@
voqc\propotion_valve_ctrl.o: ..\users\Src\propotion_valve_ctrl.c
voqc\propotion_valve_ctrl.o: ../users/Inc/propotion_valve_ctrl.h

Binary file not shown.

BIN
MDK-ARM/VOQC/provalctrl.crf Normal file

Binary file not shown.

56
MDK-ARM/VOQC/provalctrl.d Normal file
View File

@ -0,0 +1,56 @@
voqc\provalctrl.o: ..\users\Src\provalctrl.c
voqc\provalctrl.o: ../users/Inc/provalctrl.h
voqc\provalctrl.o: ../modbus/Inc/modbus.h
voqc\provalctrl.o: ../users/Inc/timer.h
voqc\provalctrl.o: ../Core/Inc/tim.h
voqc\provalctrl.o: ../Core/Inc/main.h
voqc\provalctrl.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\provalctrl.o: ../Core/Inc/stm32f4xx_hal_conf.h
voqc\provalctrl.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h
voqc\provalctrl.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h
voqc\provalctrl.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h
voqc\provalctrl.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h
voqc\provalctrl.o: ../Drivers/CMSIS/Include/core_cm4.h
voqc\provalctrl.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdint.h
voqc\provalctrl.o: ../Drivers/CMSIS/Include/cmsis_version.h
voqc\provalctrl.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
voqc\provalctrl.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
voqc\provalctrl.o: ../Drivers/CMSIS/Include/mpu_armv7.h
voqc\provalctrl.o: ../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h
voqc\provalctrl.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
voqc\provalctrl.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
voqc\provalctrl.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stddef.h
voqc\provalctrl.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h
voqc\provalctrl.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h
voqc\provalctrl.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h
voqc\provalctrl.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h
voqc\provalctrl.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h
voqc\provalctrl.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h
voqc\provalctrl.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h
voqc\provalctrl.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h
voqc\provalctrl.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h
voqc\provalctrl.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h
voqc\provalctrl.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h
voqc\provalctrl.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h
voqc\provalctrl.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h
voqc\provalctrl.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h
voqc\provalctrl.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h
voqc\provalctrl.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h
voqc\provalctrl.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h
voqc\provalctrl.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h
voqc\provalctrl.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h
voqc\provalctrl.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h
voqc\provalctrl.o: ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h
voqc\provalctrl.o: ../users/Inc/timer.h
voqc\provalctrl.o: ../modbus/Inc/modbus.h
voqc\provalctrl.o: ../users/Inc/uarts.h
voqc\provalctrl.o: ../Core/Inc/usart.h
voqc\provalctrl.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\stdio.h
voqc\provalctrl.o: ../CH395Q/ch395.h
voqc\provalctrl.o: ../CH395Q/ch395inc.h
voqc\provalctrl.o: ../Core/Inc/spi.h
voqc\provalctrl.o: ../CH395Q/ch395cmd.h
voqc\provalctrl.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\string.h
voqc\provalctrl.o: ../board/Inc/dac7311.h
voqc\provalctrl.o: ../board/Inc/eeprom.h
voqc\provalctrl.o: C:\Users\admin\Desktop\wujunchao\99_General softwares\Keil_v5\ARM\ARM Compiler_5_06\Bin\..\include\math.h

BIN
MDK-ARM/VOQC/provalctrl.o Normal file

Binary file not shown.

BIN
MDK-ARM/VOQC/spi.crf Normal file

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More