完成各个串口初始化,除uart4外都验证能够使用
This commit is contained in:
parent
ccaaa42a45
commit
869d006b94
|
@ -1,26 +0,0 @@
|
||||||
/*
|
|
||||||
* J1_UART6.h
|
|
||||||
*
|
|
||||||
* Created on: 2024Äê5ÔÂ18ÈÕ
|
|
||||||
* Author: 34509
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef HARDWARE_RS485_J1_UART6_H_
|
|
||||||
#define HARDWARE_RS485_J1_UART6_H_
|
|
||||||
|
|
||||||
#include "UART.h"
|
|
||||||
|
|
||||||
|
|
||||||
/* PE7 */
|
|
||||||
#define J1_PWR_Ctrl 38
|
|
||||||
|
|
||||||
|
|
||||||
void J1_485_Init(uint32_t baud);
|
|
||||||
void J1_PWR_Open(void);
|
|
||||||
void J1_PWR_Close(void);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* HARDWARE_RS485_J1_UART6_H_ */
|
|
|
@ -1,26 +0,0 @@
|
||||||
/*
|
|
||||||
* J2_UART7.h
|
|
||||||
*
|
|
||||||
* Created on: 2024Äê5ÔÂ18ÈÕ
|
|
||||||
* Author: 34509
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef HARDWARE_RS485_J2_UART7_H_
|
|
||||||
#define HARDWARE_RS485_J2_UART7_H_
|
|
||||||
|
|
||||||
#include "UART.h"
|
|
||||||
|
|
||||||
|
|
||||||
/* PE8 */
|
|
||||||
#define J2_PWR_Ctrl 39
|
|
||||||
|
|
||||||
void J2_485_Init(uint32_t baud);
|
|
||||||
void J2_PWR_Open(void);
|
|
||||||
void J2_PWR_Close(void);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* HARDWARE_RS485_J2_UART7_H_ */
|
|
|
@ -1,23 +0,0 @@
|
||||||
/*
|
|
||||||
* J3_USART2.h
|
|
||||||
*
|
|
||||||
* Created on: 2024Äê5ÔÂ18ÈÕ
|
|
||||||
* Author: 34509
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef HARDWARE_RS485_J3_USART2_H_
|
|
||||||
#define HARDWARE_RS485_J3_USART2_H_
|
|
||||||
|
|
||||||
#include "UART.h"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* PE9 */
|
|
||||||
#define J3_PWR_Ctrl 40
|
|
||||||
|
|
||||||
void J3_485_Init(uint32_t baud);
|
|
||||||
void J3_PWR_Open(void);
|
|
||||||
void J3_PWR_Close(void);
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* HARDWARE_RS485_J3_USART2_H_ */
|
|
|
@ -1,23 +0,0 @@
|
||||||
/*
|
|
||||||
* J4_UART.h
|
|
||||||
*
|
|
||||||
* Created on: 2024Äê5ÔÂ18ÈÕ
|
|
||||||
* Author: 34509
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef HARDWARE_RS485_J4_UART8_H_
|
|
||||||
#define HARDWARE_RS485_J4_UART8_H_
|
|
||||||
|
|
||||||
#include "UART.h"
|
|
||||||
|
|
||||||
|
|
||||||
/* PE10 */
|
|
||||||
#define J4_PWR_Ctrl 41
|
|
||||||
|
|
||||||
void J4_485_Init(uint32_t baud);
|
|
||||||
void J4_PWR_Open(void);
|
|
||||||
void J4_PWR_Close(void);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* HARDWARE_RS485_J4_UART8_H_ */
|
|
|
@ -1,57 +0,0 @@
|
||||||
/*
|
|
||||||
* J5-0_USART3.h
|
|
||||||
*
|
|
||||||
* Created on: 2024Äê5ÔÂ18ÈÕ
|
|
||||||
* Author: 34509
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef HARDWARE_RS485_J5_0_USART3_H_
|
|
||||||
#define HARDWARE_RS485_J5_0_USART3_H_
|
|
||||||
|
|
||||||
#include "UART.h"
|
|
||||||
|
|
||||||
/* PE11 */
|
|
||||||
#define J5_PWR_Ctrl 42
|
|
||||||
/* PE12 */
|
|
||||||
#define J6_PWR_Ctrl 43
|
|
||||||
/* PE13 */
|
|
||||||
#define J7_PWR_Ctrl 44
|
|
||||||
/* PE14 */
|
|
||||||
#define J8_PWR_Ctrl 45
|
|
||||||
/* PE15 */
|
|
||||||
#define J9_PWR_Ctrl 46
|
|
||||||
|
|
||||||
|
|
||||||
/* PD9 */
|
|
||||||
#define TD_USART_A 56
|
|
||||||
/* PD10 */
|
|
||||||
#define TD_USART_B 57
|
|
||||||
/* PD11 */
|
|
||||||
#define TD_USART_C 58
|
|
||||||
|
|
||||||
|
|
||||||
void J5_0_485_Init(uint32_t baud);
|
|
||||||
|
|
||||||
extern void USARTx_SendByte(USART_TypeDef* pUSARTx, uint8_t data);
|
|
||||||
extern void USARTx_SendStr(USART_TypeDef* pUSARTx, char *str);
|
|
||||||
//void USART3_IRQHandler(void);
|
|
||||||
|
|
||||||
void USART_CONNET_J0(void);
|
|
||||||
void USART_CONNET_J5(void);
|
|
||||||
void USART_CONNET_J6(void);
|
|
||||||
void USART_CONNET_J7(void);
|
|
||||||
void USART_CONNET_J8(void);
|
|
||||||
void USART_CONNET_J9(void);
|
|
||||||
|
|
||||||
void J5_PWR_Open(void);
|
|
||||||
void J5_PWR_Close(void);
|
|
||||||
void J6_PWR_Open(void);
|
|
||||||
void J6_PWR_Close(void);
|
|
||||||
void J7_PWR_Open(void);
|
|
||||||
void J7_PWR_Close(void);
|
|
||||||
void J8_PWR_Open(void);
|
|
||||||
void J8_PWR_Close(void);
|
|
||||||
void J9_PWR_Open(void);
|
|
||||||
void J9_PWR_Close(void);
|
|
||||||
|
|
||||||
#endif /* HARDWARE_RS485_J5_0_USART3_H_ */
|
|
|
@ -1,14 +0,0 @@
|
||||||
/*
|
|
||||||
* LORA_UART.h
|
|
||||||
*
|
|
||||||
* Created on: 2024年8月7日
|
|
||||||
* Author: psx
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef HARDWARE_INC_LORA_UART_H_
|
|
||||||
#define HARDWARE_INC_LORA_UART_H_
|
|
||||||
|
|
||||||
#include "UART.h"
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* HARDWARE_INC_LORA_UART_H_ */
|
|
|
@ -41,4 +41,81 @@ void USARTx_SendByte_str(USART_TypeDef* pUSARTx, uint8_t data);
|
||||||
void USARTx_SendStr_Len(USART_TypeDef* pUSARTx, char *str, int len);
|
void USARTx_SendStr_Len(USART_TypeDef* pUSARTx, char *str, int len);
|
||||||
|
|
||||||
|
|
||||||
|
/* J1_UART6 */
|
||||||
|
/* PE7 */
|
||||||
|
#define J1_PWR_Ctrl 38
|
||||||
|
void J1_485_Init(uint32_t baud);
|
||||||
|
void J1_PWR_Open(void);
|
||||||
|
void J1_PWR_Close(void);
|
||||||
|
|
||||||
|
|
||||||
|
/* J2_UART7 */
|
||||||
|
/* PE8 */
|
||||||
|
#define J2_PWR_Ctrl 39
|
||||||
|
void J2_485_Init(uint32_t baud);
|
||||||
|
void J2_PWR_Open(void);
|
||||||
|
void J2_PWR_Close(void);
|
||||||
|
|
||||||
|
|
||||||
|
/* J3_USART2 */
|
||||||
|
/* PE9 */
|
||||||
|
#define J3_PWR_Ctrl 40
|
||||||
|
void J3_485_Init(uint32_t baud);
|
||||||
|
void J3_PWR_Open(void);
|
||||||
|
void J3_PWR_Close(void);
|
||||||
|
|
||||||
|
|
||||||
|
/* J4_UART8 */
|
||||||
|
/* PE10 */
|
||||||
|
#define J4_PWR_Ctrl 41
|
||||||
|
void J4_485_Init(uint32_t baud);
|
||||||
|
void J4_PWR_Open(void);
|
||||||
|
void J4_PWR_Close(void);
|
||||||
|
|
||||||
|
|
||||||
|
/* J0-5_USART3 */
|
||||||
|
/* PE11 */
|
||||||
|
#define J5_PWR_Ctrl 42
|
||||||
|
/* PE12 */
|
||||||
|
#define J6_PWR_Ctrl 43
|
||||||
|
/* PE13 */
|
||||||
|
#define J7_PWR_Ctrl 44
|
||||||
|
/* PE14 */
|
||||||
|
#define J8_PWR_Ctrl 45
|
||||||
|
/* PE15 */
|
||||||
|
#define J9_PWR_Ctrl 46
|
||||||
|
/* PD9 */
|
||||||
|
#define TD_USART_A 56
|
||||||
|
/* PD10 */
|
||||||
|
#define TD_USART_B 57
|
||||||
|
/* PD11 */
|
||||||
|
#define TD_USART_C 58
|
||||||
|
void J5_0_485_Init(uint32_t baud);
|
||||||
|
void USART_CONNET_J0(void);
|
||||||
|
void USART_CONNET_J5(void);
|
||||||
|
void USART_CONNET_J6(void);
|
||||||
|
void USART_CONNET_J7(void);
|
||||||
|
void USART_CONNET_J8(void);
|
||||||
|
void USART_CONNET_J9(void);
|
||||||
|
void J5_PWR_Open(void);
|
||||||
|
void J5_PWR_Close(void);
|
||||||
|
void J6_PWR_Open(void);
|
||||||
|
void J6_PWR_Close(void);
|
||||||
|
void J7_PWR_Open(void);
|
||||||
|
void J7_PWR_Close(void);
|
||||||
|
void J8_PWR_Open(void);
|
||||||
|
void J8_PWR_Close(void);
|
||||||
|
void J9_PWR_Open(void);
|
||||||
|
void J9_PWR_Close(void);
|
||||||
|
|
||||||
|
|
||||||
|
/* LORA_UART4 */
|
||||||
|
void LORA_UART4_Init(uint32_t baud);
|
||||||
|
|
||||||
|
|
||||||
|
/* Upward_UART5 */
|
||||||
|
void Upward_UART5_Init(uint32_t baud);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* HARDWARE_RS485_UART_H_ */
|
#endif /* HARDWARE_RS485_UART_H_ */
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
/*
|
|
||||||
* Upward_UART5.h
|
|
||||||
*
|
|
||||||
* Created on: 2024年8月7日
|
|
||||||
* Author: psx
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef HARDWARE_INC_UPWARD_UART5_H_
|
|
||||||
#define HARDWARE_INC_UPWARD_UART5_H_
|
|
||||||
|
|
||||||
#include "UART.h"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* HARDWARE_INC_UPWARD_UART5_H_ */
|
|
|
@ -1,37 +0,0 @@
|
||||||
/*
|
|
||||||
* J1_UART6.c
|
|
||||||
*
|
|
||||||
* Created on: 2024年5月18日
|
|
||||||
* Author: 34509
|
|
||||||
*/
|
|
||||||
#include "J1_UART6.h"
|
|
||||||
|
|
||||||
|
|
||||||
void J1_485_Init(uint32_t baud)
|
|
||||||
{
|
|
||||||
rt_pin_mode(J1_DE, PIN_MODE_OUTPUT);
|
|
||||||
/* 设置485状态为读 */
|
|
||||||
rt_pin_write(J1_DE, read);
|
|
||||||
|
|
||||||
rt_pin_mode(J1_PWR_Ctrl, PIN_MODE_OUTPUT);
|
|
||||||
J1_PWR_Open();
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 打开J1485的电源 */
|
|
||||||
void J1_PWR_Open(void)
|
|
||||||
{
|
|
||||||
rt_pin_write(J1_PWR_Ctrl, open);
|
|
||||||
}
|
|
||||||
/* 关闭J1485的电源 */
|
|
||||||
void J1_PWR_Close(void)
|
|
||||||
{
|
|
||||||
rt_pin_write(J1_PWR_Ctrl, close);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,38 +0,0 @@
|
||||||
/*
|
|
||||||
* J2_UART7.c
|
|
||||||
*
|
|
||||||
* Created on: 2024年5月18日
|
|
||||||
* Author: 34509
|
|
||||||
*/
|
|
||||||
#include "J2_UART7.h"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void J2_485_Init(uint32_t baud)
|
|
||||||
{
|
|
||||||
rt_pin_mode(J2_DE, PIN_MODE_OUTPUT);
|
|
||||||
/* 设置485状态为读 */
|
|
||||||
rt_pin_write(J2_DE, read);
|
|
||||||
|
|
||||||
rt_pin_mode(J2_PWR_Ctrl, PIN_MODE_OUTPUT);
|
|
||||||
J2_PWR_Open();
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 打开J2 485的电源 */
|
|
||||||
void J2_PWR_Open(void)
|
|
||||||
{
|
|
||||||
rt_pin_write(J2_PWR_Ctrl, open);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 关闭J2 485的电源 */
|
|
||||||
void J2_PWR_Close(void)
|
|
||||||
{
|
|
||||||
rt_pin_write(J2_PWR_Ctrl, close);
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,36 +0,0 @@
|
||||||
/*
|
|
||||||
* J3_USART2.c
|
|
||||||
*
|
|
||||||
* Created on: 2024年5月18日
|
|
||||||
* Author: 34509
|
|
||||||
*/
|
|
||||||
#include "J3_USART2.h"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void J3_485_Init(uint32_t baud)
|
|
||||||
{
|
|
||||||
rt_pin_mode(J3_DE, PIN_MODE_OUTPUT);
|
|
||||||
/* 设置485状态为读 */
|
|
||||||
rt_pin_write(J3_DE, read);
|
|
||||||
|
|
||||||
rt_pin_mode(J3_PWR_Ctrl, PIN_MODE_OUTPUT);
|
|
||||||
J3_PWR_Open();
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 打开J3 485的电源 */
|
|
||||||
void J3_PWR_Open(void)
|
|
||||||
{
|
|
||||||
rt_pin_write(J3_PWR_Ctrl, open);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 关闭J3 485的电源 */
|
|
||||||
void J3_PWR_Close(void)
|
|
||||||
{
|
|
||||||
rt_pin_write(J3_PWR_Ctrl, close);
|
|
||||||
}
|
|
|
@ -1,39 +0,0 @@
|
||||||
/*
|
|
||||||
* J4_UART.c
|
|
||||||
*
|
|
||||||
* Created on: 2024年5月18日
|
|
||||||
* Author: 34509
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <J4_UART8.h>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void J4_485_Init(uint32_t baud)
|
|
||||||
{
|
|
||||||
rt_pin_mode(J4_DE, PIN_MODE_OUTPUT);
|
|
||||||
/* 设置485状态为读 */
|
|
||||||
rt_pin_write(J4_DE, read);
|
|
||||||
|
|
||||||
rt_pin_mode(J4_PWR_Ctrl, PIN_MODE_OUTPUT);
|
|
||||||
J4_PWR_Open();
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* 打开J4 485的电源 */
|
|
||||||
void J4_PWR_Open(void)
|
|
||||||
{
|
|
||||||
rt_pin_write(J4_PWR_Ctrl, open);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 关闭J4 485的电源 */
|
|
||||||
void J4_PWR_Close(void)
|
|
||||||
{
|
|
||||||
rt_pin_write(J4_PWR_Ctrl, close);
|
|
||||||
}
|
|
|
@ -1,285 +0,0 @@
|
||||||
/*
|
|
||||||
* J5-0_USART3.c
|
|
||||||
*
|
|
||||||
* Created on: 2024年5月18日
|
|
||||||
* Author: 34509
|
|
||||||
*/
|
|
||||||
#include "J5-0_USART3.h"
|
|
||||||
#include "uart_dev.h"
|
|
||||||
|
|
||||||
|
|
||||||
void USART3_IRQHandler(void) __attribute__((interrupt("WCH-Interrupt-fast")));
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* 接收缓冲区数组 */
|
|
||||||
uint8_t USART3_Rbuffer[1] = {0x00};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Function Name : J5_0_485_Init
|
|
||||||
* Description : 初始话串口3用于控制J5-0共6个485接口,设置控制的485为J0.
|
|
||||||
* Input : None
|
|
||||||
* Return : None
|
|
||||||
**/
|
|
||||||
void J5_0_485_Init(uint32_t baud)
|
|
||||||
{
|
|
||||||
rt_pin_mode(J5_PWR_Ctrl, PIN_MODE_OUTPUT);
|
|
||||||
rt_pin_mode(J6_PWR_Ctrl, PIN_MODE_OUTPUT);
|
|
||||||
rt_pin_mode(J7_PWR_Ctrl, PIN_MODE_OUTPUT);
|
|
||||||
rt_pin_mode(J8_PWR_Ctrl, PIN_MODE_OUTPUT);
|
|
||||||
rt_pin_mode(J9_PWR_Ctrl, PIN_MODE_OUTPUT);
|
|
||||||
|
|
||||||
rt_pin_mode(USART3_DE, PIN_MODE_OUTPUT);
|
|
||||||
/* 设置485状态为读 */
|
|
||||||
rt_pin_write(USART3_DE, read);
|
|
||||||
|
|
||||||
rt_pin_mode(TD_USART_A, PIN_MODE_OUTPUT);
|
|
||||||
rt_pin_mode(TD_USART_B, PIN_MODE_OUTPUT);
|
|
||||||
rt_pin_mode(TD_USART_C, PIN_MODE_OUTPUT);
|
|
||||||
/* 设置USART3连接J0 485 */
|
|
||||||
USART_CONNET_J0();
|
|
||||||
|
|
||||||
|
|
||||||
GPIO_InitTypeDef GPIO_InitStructure;
|
|
||||||
USART_InitTypeDef USART_InitStructure;
|
|
||||||
NVIC_InitTypeDef NVIC_InitStructure;
|
|
||||||
|
|
||||||
/* USART3 TX --> PB10 RX --> PB11 */
|
|
||||||
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOB, ENABLE);
|
|
||||||
RCC_APB1PeriphClockCmd(RCC_APB1Periph_USART3, ENABLE);
|
|
||||||
|
|
||||||
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_10;
|
|
||||||
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
|
|
||||||
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP; //设置PB10为复用推挽输出
|
|
||||||
GPIO_Init(GPIOB, &GPIO_InitStructure);
|
|
||||||
|
|
||||||
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_11;
|
|
||||||
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN_FLOATING; //设置PB11为浮空输入
|
|
||||||
GPIO_Init(GPIOB, &GPIO_InitStructure);
|
|
||||||
|
|
||||||
USART_InitStructure.USART_BaudRate = baud;
|
|
||||||
USART_InitStructure.USART_WordLength = USART_WordLength_8b;
|
|
||||||
USART_InitStructure.USART_StopBits = USART_StopBits_1;
|
|
||||||
USART_InitStructure.USART_Parity = USART_Parity_No;
|
|
||||||
USART_InitStructure.USART_HardwareFlowControl = USART_HardwareFlowControl_None;
|
|
||||||
USART_InitStructure.USART_Mode = USART_Mode_Tx | USART_Mode_Rx;
|
|
||||||
USART_Init(USART3, &USART_InitStructure);
|
|
||||||
|
|
||||||
NVIC_InitStructure.NVIC_IRQChannel = USART3_IRQn;
|
|
||||||
NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority=1; //抢占优先级为1
|
|
||||||
NVIC_InitStructure.NVIC_IRQChannelSubPriority = 1; //子优先级为1
|
|
||||||
NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE; //IRQ通道使能
|
|
||||||
NVIC_Init(&NVIC_InitStructure); //中断优先级初始化
|
|
||||||
|
|
||||||
USART_ITConfig(USART3, USART_IT_RXNE, ENABLE);
|
|
||||||
// USART_ITConfig(USART3, USART_IT_IDLE, ENABLE);
|
|
||||||
|
|
||||||
USART_Cmd(USART3,ENABLE);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void USART3_IRQHandler(void)
|
|
||||||
{
|
|
||||||
if(USART_GetITStatus(USART3, USART_IT_RXNE) != RESET) //中断产生
|
|
||||||
{
|
|
||||||
// USART_ClearITPendingBit(USART3,USART_IT_RXNE); //清除中断标志
|
|
||||||
// USART_Rbuffer[USART_Rbuffer_Num] = USART_ReceiveData(USART3); //接收数据
|
|
||||||
// USART_Rbuffer_Num++;
|
|
||||||
USART3_Rbuffer[0] = USART_ReceiveData(USART3); //接收数据
|
|
||||||
uint8_t c = 0;
|
|
||||||
uart_device_info *dev = (uart_device_info *)g_J50RS485_USART3_handle;
|
|
||||||
c = USART3_Rbuffer[0];
|
|
||||||
if(!RingQueueFull(&dev->uart_ring_queue))
|
|
||||||
InRingQueue(&dev->uart_ring_queue, c);
|
|
||||||
}
|
|
||||||
|
|
||||||
// if(USART_GetITStatus(USART3, USART_IT_IDLE) != RESET) //中断产生
|
|
||||||
// {
|
|
||||||
//// for(USART_Tbuffer_Num=0;USART_Tbuffer_Num < USART_Rbuffer_Num;USART_Tbuffer_Num++)
|
|
||||||
//// {
|
|
||||||
//// USARTx_SendByte(USART3, USART_Rbuffer[USART_Tbuffer_Num]); //发送数据
|
|
||||||
//// }
|
|
||||||
// USARTx_SendStr_Len(USART3, USART_Rbuffer, USART_Rbuffer_Num);
|
|
||||||
// rt_kprintf("USART_Rbuffer_Num = %d \n", USART_Rbuffer_Num);
|
|
||||||
//// USART3->STATR;
|
|
||||||
//// USART3->DATAR;
|
|
||||||
// USART_Rbuffer_Num = 0; //初始化
|
|
||||||
// USART_ReceiveData(USART3); //读DR
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// if(USART_GetFlagStatus(USART3,USART_FLAG_ORE) == SET) //溢出
|
|
||||||
// {
|
|
||||||
// USART_ClearFlag(USART3,USART_FLAG_ORE); //清标志
|
|
||||||
// USART_ReceiveData(USART3); //读DR
|
|
||||||
// }
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Function Name : USART_CONNET_J0
|
|
||||||
* Description : 控制串口3连接J0对应的485.
|
|
||||||
* Input : None
|
|
||||||
* Return : None
|
|
||||||
**/
|
|
||||||
void USART_CONNET_J0(void)
|
|
||||||
{
|
|
||||||
J5_PWR_Close();
|
|
||||||
J6_PWR_Close();
|
|
||||||
J7_PWR_Close();
|
|
||||||
J8_PWR_Close();
|
|
||||||
J9_PWR_Close();
|
|
||||||
rt_pin_write(TD_USART_A, PIN_LOW);
|
|
||||||
rt_pin_write(TD_USART_B, PIN_LOW);
|
|
||||||
rt_pin_write(TD_USART_C, PIN_LOW);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Function Name : USART_CONNET_J5
|
|
||||||
* Description : 控制串口3连接J5对应的485.
|
|
||||||
* Input : None
|
|
||||||
* Return : None
|
|
||||||
**/
|
|
||||||
void USART_CONNET_J5(void)
|
|
||||||
{
|
|
||||||
J5_PWR_Open();
|
|
||||||
J6_PWR_Close();
|
|
||||||
J7_PWR_Close();
|
|
||||||
J8_PWR_Close();
|
|
||||||
J9_PWR_Close();
|
|
||||||
rt_pin_write(TD_USART_A, PIN_LOW);
|
|
||||||
rt_pin_write(TD_USART_B, PIN_LOW);
|
|
||||||
rt_pin_write(TD_USART_C, PIN_LOW);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Function Name : USART_CONNET_J6
|
|
||||||
* Description : 控制串口3连接J6对应的485.
|
|
||||||
* Input : None
|
|
||||||
* Return : None
|
|
||||||
**/
|
|
||||||
void USART_CONNET_J6(void)
|
|
||||||
{
|
|
||||||
J5_PWR_Close();
|
|
||||||
J6_PWR_Open();
|
|
||||||
J7_PWR_Close();
|
|
||||||
J8_PWR_Close();
|
|
||||||
J9_PWR_Close();
|
|
||||||
rt_pin_write(TD_USART_A, PIN_HIGH);
|
|
||||||
rt_pin_write(TD_USART_B, PIN_LOW);
|
|
||||||
rt_pin_write(TD_USART_C, PIN_LOW);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Function Name : USART_CONNET_J7
|
|
||||||
* Description : 控制串口3连接J7对应的485.
|
|
||||||
* Input : None
|
|
||||||
* Return : None
|
|
||||||
**/
|
|
||||||
void USART_CONNET_J7(void)
|
|
||||||
{
|
|
||||||
J5_PWR_Close();
|
|
||||||
J6_PWR_Close();
|
|
||||||
J7_PWR_Open();
|
|
||||||
J8_PWR_Close();
|
|
||||||
J9_PWR_Close();
|
|
||||||
rt_pin_write(TD_USART_A, PIN_HIGH);
|
|
||||||
rt_pin_write(TD_USART_B, PIN_HIGH);
|
|
||||||
rt_pin_write(TD_USART_C, PIN_LOW);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Function Name : USART_CONNET_J8
|
|
||||||
* Description : 控制串口3连接J8对应的485.
|
|
||||||
* Input : None
|
|
||||||
* Return : None
|
|
||||||
**/
|
|
||||||
void USART_CONNET_J8(void)
|
|
||||||
{
|
|
||||||
J5_PWR_Close();
|
|
||||||
J6_PWR_Close();
|
|
||||||
J7_PWR_Close();
|
|
||||||
J8_PWR_Open();
|
|
||||||
J9_PWR_Close();
|
|
||||||
rt_pin_write(TD_USART_A, PIN_LOW);
|
|
||||||
rt_pin_write(TD_USART_B, PIN_LOW);
|
|
||||||
rt_pin_write(TD_USART_C, PIN_HIGH);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Function Name : USART_CONNET_J9
|
|
||||||
* Description : 控制串口3连接J9对应的485.
|
|
||||||
* Input : None
|
|
||||||
* Return : None
|
|
||||||
**/
|
|
||||||
void USART_CONNET_J9(void)
|
|
||||||
{
|
|
||||||
J5_PWR_Close();
|
|
||||||
J6_PWR_Close();
|
|
||||||
J7_PWR_Close();
|
|
||||||
J8_PWR_Close();
|
|
||||||
J9_PWR_Open();
|
|
||||||
rt_pin_write(TD_USART_A, PIN_HIGH);
|
|
||||||
rt_pin_write(TD_USART_B, PIN_LOW);
|
|
||||||
rt_pin_write(TD_USART_C, PIN_HIGH);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void J5_PWR_Open(void)
|
|
||||||
{
|
|
||||||
rt_pin_write(J5_PWR_Ctrl, open);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void J5_PWR_Close(void)
|
|
||||||
{
|
|
||||||
rt_pin_write(J5_PWR_Ctrl, close);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void J6_PWR_Open(void)
|
|
||||||
{
|
|
||||||
rt_pin_write(J6_PWR_Ctrl, open);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void J6_PWR_Close(void)
|
|
||||||
{
|
|
||||||
rt_pin_write(J6_PWR_Ctrl, close);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void J7_PWR_Open(void)
|
|
||||||
{
|
|
||||||
rt_pin_write(J7_PWR_Ctrl, open);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void J7_PWR_Close(void)
|
|
||||||
{
|
|
||||||
rt_pin_write(J7_PWR_Ctrl, close);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void J8_PWR_Open(void)
|
|
||||||
{
|
|
||||||
rt_pin_write(J8_PWR_Ctrl, open);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void J8_PWR_Close(void)
|
|
||||||
{
|
|
||||||
rt_pin_write(J8_PWR_Ctrl, close);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void J9_PWR_Open(void)
|
|
||||||
{
|
|
||||||
rt_pin_write(J9_PWR_Ctrl, open);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void J9_PWR_Close(void)
|
|
||||||
{
|
|
||||||
rt_pin_write(J9_PWR_Ctrl, close);
|
|
||||||
}
|
|
|
@ -1,8 +0,0 @@
|
||||||
/*
|
|
||||||
* LORA_UART.c
|
|
||||||
*
|
|
||||||
* Created on: 2024年8月7日
|
|
||||||
* Author: psx
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "LORA_UART.h"
|
|
|
@ -5,6 +5,29 @@
|
||||||
* Author: 34509
|
* Author: 34509
|
||||||
*/
|
*/
|
||||||
#include "UART.h"
|
#include "UART.h"
|
||||||
|
#include "uart_dev.h"
|
||||||
|
|
||||||
|
|
||||||
|
void USART2_IRQHandler(void) __attribute__((interrupt("WCH-Interrupt-fast")));
|
||||||
|
void USART3_IRQHandler(void) __attribute__((interrupt("WCH-Interrupt-fast")));
|
||||||
|
void UART4_IRQHandler(void) __attribute__((interrupt("WCH-Interrupt-fast")));
|
||||||
|
void UART5_IRQHandler(void) __attribute__((interrupt("WCH-Interrupt-fast")));
|
||||||
|
void UART6_IRQHandler(void) __attribute__((interrupt("WCH-Interrupt-fast")));
|
||||||
|
void UART7_IRQHandler(void) __attribute__((interrupt("WCH-Interrupt-fast")));
|
||||||
|
void UART8_IRQHandler(void) __attribute__((interrupt("WCH-Interrupt-fast")));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* 接收缓冲区数组 */
|
||||||
|
uint8_t USART2_Rbuffer[1] = {0x00};
|
||||||
|
uint8_t USART3_Rbuffer[1] = {0x00};
|
||||||
|
uint8_t UART4_Rbuffer[1] = {0x00};
|
||||||
|
uint8_t UART5_Rbuffer[1] = {0x00};
|
||||||
|
uint8_t UART6_Rbuffer[1] = {0x00};
|
||||||
|
uint8_t UART7_Rbuffer[1] = {0x00};
|
||||||
|
uint8_t UART8_Rbuffer[1] = {0x00};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void USARTx_SendByte(USART_TypeDef* pUSARTx, uint8_t data)
|
void USARTx_SendByte(USART_TypeDef* pUSARTx, uint8_t data)
|
||||||
{
|
{
|
||||||
|
@ -55,7 +78,6 @@ void USARTx_SendByte_str(USART_TypeDef* pUSARTx, uint8_t data)
|
||||||
{
|
{
|
||||||
USART_SendData(pUSARTx, data);
|
USART_SendData(pUSARTx, data);
|
||||||
while(USART_GetFlagStatus(pUSARTx, USART_FLAG_TXE) == RESET);
|
while(USART_GetFlagStatus(pUSARTx, USART_FLAG_TXE) == RESET);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void USARTx_SendStr(USART_TypeDef* pUSARTx, char *str)
|
void USARTx_SendStr(USART_TypeDef* pUSARTx, char *str)
|
||||||
|
@ -155,3 +177,720 @@ void USARTx_SendStr_Len(USART_TypeDef* pUSARTx, char *str, int len)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @brief 初始化UART6对应的J1_485,默认为接收,电源关闭状态
|
||||||
|
* @param baud 波特率
|
||||||
|
* @retval
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
void J1_485_Init(uint32_t baud)
|
||||||
|
{
|
||||||
|
rt_pin_mode(J1_DE, PIN_MODE_OUTPUT);
|
||||||
|
/* 设置485状态为读 */
|
||||||
|
rt_pin_write(J1_DE, read);
|
||||||
|
|
||||||
|
rt_pin_mode(J1_PWR_Ctrl, PIN_MODE_OUTPUT);
|
||||||
|
J1_PWR_Close();
|
||||||
|
|
||||||
|
GPIO_InitTypeDef GPIO_InitStructure;
|
||||||
|
USART_InitTypeDef USART_InitStructure;
|
||||||
|
NVIC_InitTypeDef NVIC_InitStructure;
|
||||||
|
|
||||||
|
/* UART6 TX --> PC0 RX --> PC1 */
|
||||||
|
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOC, ENABLE);
|
||||||
|
RCC_APB1PeriphClockCmd(RCC_APB1Periph_UART6, ENABLE);
|
||||||
|
|
||||||
|
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_0;
|
||||||
|
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
|
||||||
|
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP; //设置PC0为复用推挽输出
|
||||||
|
GPIO_Init(GPIOC, &GPIO_InitStructure);
|
||||||
|
|
||||||
|
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_1;
|
||||||
|
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN_FLOATING; //设置PC1为浮空输入
|
||||||
|
GPIO_Init(GPIOC, &GPIO_InitStructure);
|
||||||
|
|
||||||
|
USART_InitStructure.USART_BaudRate = baud;
|
||||||
|
USART_InitStructure.USART_WordLength = USART_WordLength_8b;
|
||||||
|
USART_InitStructure.USART_StopBits = USART_StopBits_1;
|
||||||
|
USART_InitStructure.USART_Parity = USART_Parity_No;
|
||||||
|
USART_InitStructure.USART_HardwareFlowControl = USART_HardwareFlowControl_None;
|
||||||
|
USART_InitStructure.USART_Mode = USART_Mode_Tx | USART_Mode_Rx;
|
||||||
|
USART_Init(UART6, &USART_InitStructure);
|
||||||
|
|
||||||
|
NVIC_InitStructure.NVIC_IRQChannel = UART6_IRQn;
|
||||||
|
NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority=3; //抢占优先级为3
|
||||||
|
NVIC_InitStructure.NVIC_IRQChannelSubPriority = 3; //子优先级为3
|
||||||
|
NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE; //IRQ通道使能
|
||||||
|
NVIC_Init(&NVIC_InitStructure); //中断优先级初始化
|
||||||
|
|
||||||
|
USART_ITConfig(UART6, USART_IT_RXNE, ENABLE);
|
||||||
|
|
||||||
|
USART_Cmd(UART6,ENABLE);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 打开J1485的电源 */
|
||||||
|
void J1_PWR_Open(void)
|
||||||
|
{
|
||||||
|
rt_pin_write(J1_PWR_Ctrl, open);
|
||||||
|
}
|
||||||
|
/* 关闭J1485的电源 */
|
||||||
|
void J1_PWR_Close(void)
|
||||||
|
{
|
||||||
|
rt_pin_write(J1_PWR_Ctrl, close);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @brief 初始化UART7对应的J2_485,默认为接收,电源关闭状态
|
||||||
|
* @param baud 波特率
|
||||||
|
* @retval
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
void J2_485_Init(uint32_t baud)
|
||||||
|
{
|
||||||
|
rt_pin_mode(J2_DE, PIN_MODE_OUTPUT);
|
||||||
|
/* 设置485状态为读 */
|
||||||
|
rt_pin_write(J2_DE, read);
|
||||||
|
|
||||||
|
rt_pin_mode(J2_PWR_Ctrl, PIN_MODE_OUTPUT);
|
||||||
|
J2_PWR_Close();
|
||||||
|
|
||||||
|
GPIO_InitTypeDef GPIO_InitStructure;
|
||||||
|
USART_InitTypeDef USART_InitStructure;
|
||||||
|
NVIC_InitTypeDef NVIC_InitStructure;
|
||||||
|
|
||||||
|
/* UART7 TX --> PC2 RX --> PC3 */
|
||||||
|
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOC, ENABLE);
|
||||||
|
RCC_APB1PeriphClockCmd(RCC_APB1Periph_UART7, ENABLE);
|
||||||
|
|
||||||
|
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_2;
|
||||||
|
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
|
||||||
|
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP; //设置PC2为复用推挽输出
|
||||||
|
GPIO_Init(GPIOC, &GPIO_InitStructure);
|
||||||
|
|
||||||
|
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_3;
|
||||||
|
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN_FLOATING; //设置PC3为浮空输入
|
||||||
|
GPIO_Init(GPIOC, &GPIO_InitStructure);
|
||||||
|
|
||||||
|
USART_InitStructure.USART_BaudRate = baud;
|
||||||
|
USART_InitStructure.USART_WordLength = USART_WordLength_8b;
|
||||||
|
USART_InitStructure.USART_StopBits = USART_StopBits_1;
|
||||||
|
USART_InitStructure.USART_Parity = USART_Parity_No;
|
||||||
|
USART_InitStructure.USART_HardwareFlowControl = USART_HardwareFlowControl_None;
|
||||||
|
USART_InitStructure.USART_Mode = USART_Mode_Tx | USART_Mode_Rx;
|
||||||
|
USART_Init(UART7, &USART_InitStructure);
|
||||||
|
|
||||||
|
NVIC_InitStructure.NVIC_IRQChannel = UART7_IRQn;
|
||||||
|
NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority=3; //抢占优先级为3
|
||||||
|
NVIC_InitStructure.NVIC_IRQChannelSubPriority = 3; //子优先级为3
|
||||||
|
NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE; //IRQ通道使能
|
||||||
|
NVIC_Init(&NVIC_InitStructure); //中断优先级初始化
|
||||||
|
|
||||||
|
USART_ITConfig(UART7, USART_IT_RXNE, ENABLE);
|
||||||
|
|
||||||
|
USART_Cmd(UART7,ENABLE);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 打开J2 485的电源 */
|
||||||
|
void J2_PWR_Open(void)
|
||||||
|
{
|
||||||
|
rt_pin_write(J2_PWR_Ctrl, open);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 关闭J2 485的电源 */
|
||||||
|
void J2_PWR_Close(void)
|
||||||
|
{
|
||||||
|
rt_pin_write(J2_PWR_Ctrl, close);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @brief 初始化USART2对应的J3_485,默认为接收,电源关闭状态
|
||||||
|
* @param baud 波特率
|
||||||
|
* @retval
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
void J3_485_Init(uint32_t baud)
|
||||||
|
{
|
||||||
|
rt_pin_mode(J3_DE, PIN_MODE_OUTPUT);
|
||||||
|
/* 设置485状态为读 */
|
||||||
|
rt_pin_write(J3_DE, read);
|
||||||
|
|
||||||
|
rt_pin_mode(J3_PWR_Ctrl, PIN_MODE_OUTPUT);
|
||||||
|
J3_PWR_Close();
|
||||||
|
|
||||||
|
GPIO_InitTypeDef GPIO_InitStructure;
|
||||||
|
USART_InitTypeDef USART_InitStructure;
|
||||||
|
NVIC_InitTypeDef NVIC_InitStructure;
|
||||||
|
|
||||||
|
/* USART2 TX --> PA2 RX --> PA3 */
|
||||||
|
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA, ENABLE);
|
||||||
|
RCC_APB1PeriphClockCmd(RCC_APB1Periph_USART2, ENABLE);
|
||||||
|
|
||||||
|
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_2;
|
||||||
|
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
|
||||||
|
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP; //设置PA2为复用推挽输出
|
||||||
|
GPIO_Init(GPIOA, &GPIO_InitStructure);
|
||||||
|
|
||||||
|
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_3;
|
||||||
|
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN_FLOATING; //设置PA3为浮空输入
|
||||||
|
GPIO_Init(GPIOA, &GPIO_InitStructure);
|
||||||
|
|
||||||
|
USART_InitStructure.USART_BaudRate = baud;
|
||||||
|
USART_InitStructure.USART_WordLength = USART_WordLength_8b;
|
||||||
|
USART_InitStructure.USART_StopBits = USART_StopBits_1;
|
||||||
|
USART_InitStructure.USART_Parity = USART_Parity_No;
|
||||||
|
USART_InitStructure.USART_HardwareFlowControl = USART_HardwareFlowControl_None;
|
||||||
|
USART_InitStructure.USART_Mode = USART_Mode_Tx | USART_Mode_Rx;
|
||||||
|
USART_Init(USART2, &USART_InitStructure);
|
||||||
|
|
||||||
|
NVIC_InitStructure.NVIC_IRQChannel = USART2_IRQn;
|
||||||
|
NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority=3; //抢占优先级为1
|
||||||
|
NVIC_InitStructure.NVIC_IRQChannelSubPriority = 3; //子优先级为1
|
||||||
|
NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE; //IRQ通道使能
|
||||||
|
NVIC_Init(&NVIC_InitStructure); //中断优先级初始化
|
||||||
|
|
||||||
|
USART_ITConfig(USART2, USART_IT_RXNE, ENABLE);
|
||||||
|
|
||||||
|
USART_Cmd(USART2,ENABLE);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 打开J3 485的电源 */
|
||||||
|
void J3_PWR_Open(void)
|
||||||
|
{
|
||||||
|
rt_pin_write(J3_PWR_Ctrl, open);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 关闭J3 485的电源 */
|
||||||
|
void J3_PWR_Close(void)
|
||||||
|
{
|
||||||
|
rt_pin_write(J3_PWR_Ctrl, close);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @brief 初始化UART8对应的J4_485,默认为接收,电源关闭状态
|
||||||
|
* @param baud 波特率
|
||||||
|
* @retval
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
void J4_485_Init(uint32_t baud)
|
||||||
|
{
|
||||||
|
rt_pin_mode(J4_DE, PIN_MODE_OUTPUT);
|
||||||
|
/* 设置485状态为读 */
|
||||||
|
rt_pin_write(J4_DE, read);
|
||||||
|
|
||||||
|
rt_pin_mode(J4_PWR_Ctrl, PIN_MODE_OUTPUT);
|
||||||
|
J4_PWR_Open();
|
||||||
|
|
||||||
|
GPIO_InitTypeDef GPIO_InitStructure;
|
||||||
|
USART_InitTypeDef USART_InitStructure;
|
||||||
|
NVIC_InitTypeDef NVIC_InitStructure;
|
||||||
|
|
||||||
|
/* UART8 TX --> PC4 RX --> PC5 */
|
||||||
|
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOC, ENABLE);
|
||||||
|
RCC_APB1PeriphClockCmd(RCC_APB1Periph_UART8, ENABLE);
|
||||||
|
|
||||||
|
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_4;
|
||||||
|
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
|
||||||
|
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP; //设置PC4为复用推挽输出
|
||||||
|
GPIO_Init(GPIOC, &GPIO_InitStructure);
|
||||||
|
|
||||||
|
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_5;
|
||||||
|
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN_FLOATING; //设置PC5为浮空输入
|
||||||
|
GPIO_Init(GPIOC, &GPIO_InitStructure);
|
||||||
|
|
||||||
|
USART_InitStructure.USART_BaudRate = baud;
|
||||||
|
USART_InitStructure.USART_WordLength = USART_WordLength_8b;
|
||||||
|
USART_InitStructure.USART_StopBits = USART_StopBits_1;
|
||||||
|
USART_InitStructure.USART_Parity = USART_Parity_No;
|
||||||
|
USART_InitStructure.USART_HardwareFlowControl = USART_HardwareFlowControl_None;
|
||||||
|
USART_InitStructure.USART_Mode = USART_Mode_Tx | USART_Mode_Rx;
|
||||||
|
USART_Init(UART8, &USART_InitStructure);
|
||||||
|
|
||||||
|
NVIC_InitStructure.NVIC_IRQChannel = UART8_IRQn;
|
||||||
|
NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority=3; //抢占优先级为3
|
||||||
|
NVIC_InitStructure.NVIC_IRQChannelSubPriority = 3; //子优先级为3
|
||||||
|
NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE; //IRQ通道使能
|
||||||
|
NVIC_Init(&NVIC_InitStructure); //中断优先级初始化
|
||||||
|
|
||||||
|
USART_ITConfig(UART8, USART_IT_RXNE, ENABLE);
|
||||||
|
|
||||||
|
USART_Cmd(UART8,ENABLE);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 打开J4 485的电源 */
|
||||||
|
void J4_PWR_Open(void)
|
||||||
|
{
|
||||||
|
rt_pin_write(J4_PWR_Ctrl, open);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 关闭J4 485的电源 */
|
||||||
|
void J4_PWR_Close(void)
|
||||||
|
{
|
||||||
|
rt_pin_write(J4_PWR_Ctrl, close);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @brief 初始话USART3用于控制J5-0共6个485接口,设置控制的485为J0,电源全部关闭
|
||||||
|
* @param baud 波特率
|
||||||
|
* @retval
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
void J5_0_485_Init(uint32_t baud)
|
||||||
|
{
|
||||||
|
rt_pin_mode(J5_PWR_Ctrl, PIN_MODE_OUTPUT);
|
||||||
|
rt_pin_mode(J6_PWR_Ctrl, PIN_MODE_OUTPUT);
|
||||||
|
rt_pin_mode(J7_PWR_Ctrl, PIN_MODE_OUTPUT);
|
||||||
|
rt_pin_mode(J8_PWR_Ctrl, PIN_MODE_OUTPUT);
|
||||||
|
rt_pin_mode(J9_PWR_Ctrl, PIN_MODE_OUTPUT);
|
||||||
|
|
||||||
|
rt_pin_mode(USART3_DE, PIN_MODE_OUTPUT);
|
||||||
|
/* 设置485状态为读 */
|
||||||
|
rt_pin_write(USART3_DE, read);
|
||||||
|
|
||||||
|
rt_pin_mode(TD_USART_A, PIN_MODE_OUTPUT);
|
||||||
|
rt_pin_mode(TD_USART_B, PIN_MODE_OUTPUT);
|
||||||
|
rt_pin_mode(TD_USART_C, PIN_MODE_OUTPUT);
|
||||||
|
/* 设置USART3连接J0 485 */
|
||||||
|
USART_CONNET_J0();
|
||||||
|
|
||||||
|
|
||||||
|
GPIO_InitTypeDef GPIO_InitStructure;
|
||||||
|
USART_InitTypeDef USART_InitStructure;
|
||||||
|
NVIC_InitTypeDef NVIC_InitStructure;
|
||||||
|
|
||||||
|
/* USART3 TX --> PB10 RX --> PB11 */
|
||||||
|
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOB, ENABLE);
|
||||||
|
RCC_APB1PeriphClockCmd(RCC_APB1Periph_USART3, ENABLE);
|
||||||
|
|
||||||
|
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_10;
|
||||||
|
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
|
||||||
|
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP; //设置PB10为复用推挽输出
|
||||||
|
GPIO_Init(GPIOB, &GPIO_InitStructure);
|
||||||
|
|
||||||
|
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_11;
|
||||||
|
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN_FLOATING; //设置PB11为浮空输入
|
||||||
|
GPIO_Init(GPIOB, &GPIO_InitStructure);
|
||||||
|
|
||||||
|
USART_InitStructure.USART_BaudRate = baud;
|
||||||
|
USART_InitStructure.USART_WordLength = USART_WordLength_8b;
|
||||||
|
USART_InitStructure.USART_StopBits = USART_StopBits_1;
|
||||||
|
USART_InitStructure.USART_Parity = USART_Parity_No;
|
||||||
|
USART_InitStructure.USART_HardwareFlowControl = USART_HardwareFlowControl_None;
|
||||||
|
USART_InitStructure.USART_Mode = USART_Mode_Tx | USART_Mode_Rx;
|
||||||
|
USART_Init(USART3, &USART_InitStructure);
|
||||||
|
|
||||||
|
NVIC_InitStructure.NVIC_IRQChannel = USART3_IRQn;
|
||||||
|
NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority=1; //抢占优先级为1
|
||||||
|
NVIC_InitStructure.NVIC_IRQChannelSubPriority = 1; //子优先级为1
|
||||||
|
NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE; //IRQ通道使能
|
||||||
|
NVIC_Init(&NVIC_InitStructure); //中断优先级初始化
|
||||||
|
|
||||||
|
USART_ITConfig(USART3, USART_IT_RXNE, ENABLE);
|
||||||
|
// USART_ITConfig(USART3, USART_IT_IDLE, ENABLE);
|
||||||
|
|
||||||
|
USART_Cmd(USART3,ENABLE);
|
||||||
|
}
|
||||||
|
|
||||||
|
//void USART3_IRQHandler(void)
|
||||||
|
//{
|
||||||
|
// if(USART_GetITStatus(USART3, USART_IT_RXNE) != RESET) //中断产生
|
||||||
|
// {
|
||||||
|
//// USART_ClearITPendingBit(USART3,USART_IT_RXNE); //清除中断标志
|
||||||
|
//// USART_Rbuffer[USART_Rbuffer_Num] = USART_ReceiveData(USART3); //接收数据
|
||||||
|
//// USART_Rbuffer_Num++;
|
||||||
|
// USART3_Rbuffer[0] = USART_ReceiveData(USART3); //接收数据
|
||||||
|
// uint8_t c = 0;
|
||||||
|
// uart_device_info *dev = (uart_device_info *)g_J50RS485_USART3_handle;
|
||||||
|
// c = USART3_Rbuffer[0];
|
||||||
|
// if(!RingQueueFull(&dev->uart_ring_queue))
|
||||||
|
// InRingQueue(&dev->uart_ring_queue, c);
|
||||||
|
//
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
//// if(USART_GetITStatus(USART3, USART_IT_IDLE) != RESET) //中断产生
|
||||||
|
//// {
|
||||||
|
////// for(USART_Tbuffer_Num=0;USART_Tbuffer_Num < USART_Rbuffer_Num;USART_Tbuffer_Num++)
|
||||||
|
////// {
|
||||||
|
////// USARTx_SendByte(USART3, USART_Rbuffer[USART_Tbuffer_Num]); //发送数据
|
||||||
|
////// }
|
||||||
|
//// USARTx_SendStr_Len(USART3, USART_Rbuffer, USART_Rbuffer_Num);
|
||||||
|
//// rt_kprintf("USART_Rbuffer_Num = %d \n", USART_Rbuffer_Num);
|
||||||
|
////// USART3->STATR;
|
||||||
|
////// USART3->DATAR;
|
||||||
|
//// USART_Rbuffer_Num = 0; //初始化
|
||||||
|
//// USART_ReceiveData(USART3); //读DR
|
||||||
|
//// }
|
||||||
|
////
|
||||||
|
//// if(USART_GetFlagStatus(USART3,USART_FLAG_ORE) == SET) //溢出
|
||||||
|
//// {
|
||||||
|
//// USART_ClearFlag(USART3,USART_FLAG_ORE); //清标志
|
||||||
|
//// USART_ReceiveData(USART3); //读DR
|
||||||
|
//// }
|
||||||
|
//}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Function Name : USART_CONNET_J0
|
||||||
|
* Description : 控制串口3连接J0对应的485.
|
||||||
|
* Input : None
|
||||||
|
* Return : None
|
||||||
|
**/
|
||||||
|
void USART_CONNET_J0(void)
|
||||||
|
{
|
||||||
|
J5_PWR_Close();
|
||||||
|
J6_PWR_Close();
|
||||||
|
J7_PWR_Close();
|
||||||
|
J8_PWR_Close();
|
||||||
|
J9_PWR_Close();
|
||||||
|
rt_pin_write(TD_USART_A, PIN_LOW);
|
||||||
|
rt_pin_write(TD_USART_B, PIN_LOW);
|
||||||
|
rt_pin_write(TD_USART_C, PIN_LOW);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Function Name : USART_CONNET_J5
|
||||||
|
* Description : 控制串口3连接J5对应的485.
|
||||||
|
* Input : None
|
||||||
|
* Return : None
|
||||||
|
**/
|
||||||
|
void USART_CONNET_J5(void)
|
||||||
|
{
|
||||||
|
J5_PWR_Open();
|
||||||
|
J6_PWR_Close();
|
||||||
|
J7_PWR_Close();
|
||||||
|
J8_PWR_Close();
|
||||||
|
J9_PWR_Close();
|
||||||
|
rt_pin_write(TD_USART_A, PIN_LOW);
|
||||||
|
rt_pin_write(TD_USART_B, PIN_LOW);
|
||||||
|
rt_pin_write(TD_USART_C, PIN_LOW);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Function Name : USART_CONNET_J6
|
||||||
|
* Description : 控制串口3连接J6对应的485.
|
||||||
|
* Input : None
|
||||||
|
* Return : None
|
||||||
|
**/
|
||||||
|
void USART_CONNET_J6(void)
|
||||||
|
{
|
||||||
|
J5_PWR_Close();
|
||||||
|
J6_PWR_Open();
|
||||||
|
J7_PWR_Close();
|
||||||
|
J8_PWR_Close();
|
||||||
|
J9_PWR_Close();
|
||||||
|
rt_pin_write(TD_USART_A, PIN_HIGH);
|
||||||
|
rt_pin_write(TD_USART_B, PIN_LOW);
|
||||||
|
rt_pin_write(TD_USART_C, PIN_LOW);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Function Name : USART_CONNET_J7
|
||||||
|
* Description : 控制串口3连接J7对应的485.
|
||||||
|
* Input : None
|
||||||
|
* Return : None
|
||||||
|
**/
|
||||||
|
void USART_CONNET_J7(void)
|
||||||
|
{
|
||||||
|
J5_PWR_Close();
|
||||||
|
J6_PWR_Close();
|
||||||
|
J7_PWR_Open();
|
||||||
|
J8_PWR_Close();
|
||||||
|
J9_PWR_Close();
|
||||||
|
rt_pin_write(TD_USART_A, PIN_HIGH);
|
||||||
|
rt_pin_write(TD_USART_B, PIN_HIGH);
|
||||||
|
rt_pin_write(TD_USART_C, PIN_LOW);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Function Name : USART_CONNET_J8
|
||||||
|
* Description : 控制串口3连接J8对应的485.
|
||||||
|
* Input : None
|
||||||
|
* Return : None
|
||||||
|
**/
|
||||||
|
void USART_CONNET_J8(void)
|
||||||
|
{
|
||||||
|
J5_PWR_Close();
|
||||||
|
J6_PWR_Close();
|
||||||
|
J7_PWR_Close();
|
||||||
|
J8_PWR_Open();
|
||||||
|
J9_PWR_Close();
|
||||||
|
rt_pin_write(TD_USART_A, PIN_LOW);
|
||||||
|
rt_pin_write(TD_USART_B, PIN_LOW);
|
||||||
|
rt_pin_write(TD_USART_C, PIN_HIGH);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Function Name : USART_CONNET_J9
|
||||||
|
* Description : 控制串口3连接J9对应的485.
|
||||||
|
* Input : None
|
||||||
|
* Return : None
|
||||||
|
**/
|
||||||
|
void USART_CONNET_J9(void)
|
||||||
|
{
|
||||||
|
J5_PWR_Close();
|
||||||
|
J6_PWR_Close();
|
||||||
|
J7_PWR_Close();
|
||||||
|
J8_PWR_Close();
|
||||||
|
J9_PWR_Open();
|
||||||
|
rt_pin_write(TD_USART_A, PIN_HIGH);
|
||||||
|
rt_pin_write(TD_USART_B, PIN_LOW);
|
||||||
|
rt_pin_write(TD_USART_C, PIN_HIGH);
|
||||||
|
}
|
||||||
|
|
||||||
|
void J5_PWR_Open(void)
|
||||||
|
{
|
||||||
|
rt_pin_write(J5_PWR_Ctrl, open);
|
||||||
|
}
|
||||||
|
|
||||||
|
void J5_PWR_Close(void)
|
||||||
|
{
|
||||||
|
rt_pin_write(J5_PWR_Ctrl, close);
|
||||||
|
}
|
||||||
|
|
||||||
|
void J6_PWR_Open(void)
|
||||||
|
{
|
||||||
|
rt_pin_write(J6_PWR_Ctrl, open);
|
||||||
|
}
|
||||||
|
|
||||||
|
void J6_PWR_Close(void)
|
||||||
|
{
|
||||||
|
rt_pin_write(J6_PWR_Ctrl, close);
|
||||||
|
}
|
||||||
|
|
||||||
|
void J7_PWR_Open(void)
|
||||||
|
{
|
||||||
|
rt_pin_write(J7_PWR_Ctrl, open);
|
||||||
|
}
|
||||||
|
|
||||||
|
void J7_PWR_Close(void)
|
||||||
|
{
|
||||||
|
rt_pin_write(J7_PWR_Ctrl, close);
|
||||||
|
}
|
||||||
|
|
||||||
|
void J8_PWR_Open(void)
|
||||||
|
{
|
||||||
|
rt_pin_write(J8_PWR_Ctrl, open);
|
||||||
|
}
|
||||||
|
|
||||||
|
void J8_PWR_Close(void)
|
||||||
|
{
|
||||||
|
rt_pin_write(J8_PWR_Ctrl, close);
|
||||||
|
}
|
||||||
|
|
||||||
|
void J9_PWR_Open(void)
|
||||||
|
{
|
||||||
|
rt_pin_write(J9_PWR_Ctrl, open);
|
||||||
|
}
|
||||||
|
|
||||||
|
void J9_PWR_Close(void)
|
||||||
|
{
|
||||||
|
rt_pin_write(J9_PWR_Ctrl, close);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @brief 初始化UART4对应的LORA串口
|
||||||
|
* @param baud 波特率
|
||||||
|
* @retval
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
void LORA_UART4_Init(uint32_t baud)
|
||||||
|
{
|
||||||
|
GPIO_InitTypeDef GPIO_InitStructure;
|
||||||
|
USART_InitTypeDef USART_InitStructure;
|
||||||
|
NVIC_InitTypeDef NVIC_InitStructure;
|
||||||
|
|
||||||
|
/* UART4 TX --> PC10 RX --> PC11 */
|
||||||
|
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOC, ENABLE);
|
||||||
|
RCC_APB1PeriphClockCmd(RCC_APB1Periph_UART4, ENABLE);
|
||||||
|
|
||||||
|
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_10;
|
||||||
|
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
|
||||||
|
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP; //设置PC10为复用推挽输出
|
||||||
|
GPIO_Init(GPIOC, &GPIO_InitStructure);
|
||||||
|
|
||||||
|
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_11;
|
||||||
|
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN_FLOATING; //设置PC11为浮空输入
|
||||||
|
GPIO_Init(GPIOC, &GPIO_InitStructure);
|
||||||
|
|
||||||
|
USART_InitStructure.USART_BaudRate = baud;
|
||||||
|
USART_InitStructure.USART_WordLength = USART_WordLength_8b;
|
||||||
|
USART_InitStructure.USART_StopBits = USART_StopBits_1;
|
||||||
|
USART_InitStructure.USART_Parity = USART_Parity_No;
|
||||||
|
USART_InitStructure.USART_HardwareFlowControl = USART_HardwareFlowControl_None;
|
||||||
|
USART_InitStructure.USART_Mode = USART_Mode_Tx | USART_Mode_Rx;
|
||||||
|
USART_Init(UART4, &USART_InitStructure);
|
||||||
|
|
||||||
|
NVIC_InitStructure.NVIC_IRQChannel = UART4_IRQn;
|
||||||
|
NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority=3; //抢占优先级为3
|
||||||
|
NVIC_InitStructure.NVIC_IRQChannelSubPriority = 3; //子优先级为3
|
||||||
|
NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE; //IRQ通道使能
|
||||||
|
NVIC_Init(&NVIC_InitStructure); //中断优先级初始化
|
||||||
|
|
||||||
|
USART_ITConfig(UART4, USART_IT_RXNE, ENABLE);
|
||||||
|
|
||||||
|
USART_Cmd(UART4,ENABLE);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @brief 初始化UART4对应的LORA串口
|
||||||
|
* @param baud 波特率
|
||||||
|
* @retval
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
void Upward_UART5_Init(uint32_t baud)
|
||||||
|
{
|
||||||
|
GPIO_InitTypeDef GPIO_InitStructure;
|
||||||
|
USART_InitTypeDef USART_InitStructure;
|
||||||
|
NVIC_InitTypeDef NVIC_InitStructure;
|
||||||
|
|
||||||
|
/* UART5 TX --> PC12 RX --> PD2 */
|
||||||
|
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOC, ENABLE);
|
||||||
|
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOD, ENABLE);
|
||||||
|
RCC_APB1PeriphClockCmd(RCC_APB1Periph_UART5, ENABLE);
|
||||||
|
|
||||||
|
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_12;
|
||||||
|
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
|
||||||
|
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP; //设置PC12为复用推挽输出
|
||||||
|
GPIO_Init(GPIOC, &GPIO_InitStructure);
|
||||||
|
|
||||||
|
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_2;
|
||||||
|
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN_FLOATING; //设置PD2为浮空输入
|
||||||
|
GPIO_Init(GPIOD, &GPIO_InitStructure);
|
||||||
|
|
||||||
|
USART_InitStructure.USART_BaudRate = baud;
|
||||||
|
USART_InitStructure.USART_WordLength = USART_WordLength_8b;
|
||||||
|
USART_InitStructure.USART_StopBits = USART_StopBits_1;
|
||||||
|
USART_InitStructure.USART_Parity = USART_Parity_No;
|
||||||
|
USART_InitStructure.USART_HardwareFlowControl = USART_HardwareFlowControl_None;
|
||||||
|
USART_InitStructure.USART_Mode = USART_Mode_Tx | USART_Mode_Rx;
|
||||||
|
USART_Init(UART5, &USART_InitStructure);
|
||||||
|
|
||||||
|
NVIC_InitStructure.NVIC_IRQChannel = UART5_IRQn;
|
||||||
|
NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority=3; //抢占优先级为3
|
||||||
|
NVIC_InitStructure.NVIC_IRQChannelSubPriority = 3; //子优先级为3
|
||||||
|
NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE; //IRQ通道使能
|
||||||
|
NVIC_Init(&NVIC_InitStructure); //中断优先级初始化
|
||||||
|
|
||||||
|
USART_ITConfig(UART5, USART_IT_RXNE, ENABLE);
|
||||||
|
|
||||||
|
USART_Cmd(UART5,ENABLE);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
void USART2_IRQHandler(void)
|
||||||
|
{
|
||||||
|
if(USART_GetITStatus(USART2, USART_IT_RXNE) != RESET) //中断产生
|
||||||
|
{
|
||||||
|
USART2_Rbuffer[0] = USART_ReceiveData(USART2); //接收数据
|
||||||
|
uint8_t c = 0;
|
||||||
|
uart_device_info *dev = (uart_device_info *)g_J3RS485_USART2_handle;
|
||||||
|
c = USART2_Rbuffer[0];
|
||||||
|
if(!RingQueueFull(&dev->uart_ring_queue))
|
||||||
|
InRingQueue(&dev->uart_ring_queue, c);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void USART3_IRQHandler(void)
|
||||||
|
{
|
||||||
|
if(USART_GetITStatus(USART3, USART_IT_RXNE) != RESET) //中断产生
|
||||||
|
{
|
||||||
|
USART3_Rbuffer[0] = USART_ReceiveData(USART3); //接收数据
|
||||||
|
uint8_t c = 0;
|
||||||
|
uart_device_info *dev = (uart_device_info *)g_J50RS485_USART3_handle;
|
||||||
|
c = USART3_Rbuffer[0];
|
||||||
|
if(!RingQueueFull(&dev->uart_ring_queue))
|
||||||
|
InRingQueue(&dev->uart_ring_queue, c);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void UART4_IRQHandler(void)
|
||||||
|
{
|
||||||
|
if(USART_GetITStatus(UART4, USART_IT_RXNE) != RESET) //中断产生
|
||||||
|
{
|
||||||
|
UART4_Rbuffer[0] = USART_ReceiveData(UART4); //接收数据
|
||||||
|
uint8_t c = 0;
|
||||||
|
uart_device_info *dev = (uart_device_info *)g_LORA_UART4_handle;
|
||||||
|
c = UART4_Rbuffer[0];
|
||||||
|
if(!RingQueueFull(&dev->uart_ring_queue))
|
||||||
|
InRingQueue(&dev->uart_ring_queue, c);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void UART5_IRQHandler(void)
|
||||||
|
{
|
||||||
|
if(USART_GetITStatus(UART5, USART_IT_RXNE) != RESET) //中断产生
|
||||||
|
{
|
||||||
|
UART5_Rbuffer[0] = USART_ReceiveData(UART5); //接收数据
|
||||||
|
uint8_t c = 0;
|
||||||
|
uart_device_info *dev = (uart_device_info *)g_Upward_UART5_handle;
|
||||||
|
c = UART5_Rbuffer[0];
|
||||||
|
if(!RingQueueFull(&dev->uart_ring_queue))
|
||||||
|
InRingQueue(&dev->uart_ring_queue, c);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void UART6_IRQHandler(void)
|
||||||
|
{
|
||||||
|
if(USART_GetITStatus(UART6, USART_IT_RXNE) != RESET) //中断产生
|
||||||
|
{
|
||||||
|
UART6_Rbuffer[0] = USART_ReceiveData(UART6); //接收数据
|
||||||
|
uint8_t c = 0;
|
||||||
|
uart_device_info *dev = (uart_device_info *)g_J1RS485_UART6_handle;
|
||||||
|
c = UART6_Rbuffer[0];
|
||||||
|
if(!RingQueueFull(&dev->uart_ring_queue))
|
||||||
|
InRingQueue(&dev->uart_ring_queue, c);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void UART7_IRQHandler(void)
|
||||||
|
{
|
||||||
|
if(USART_GetITStatus(UART7, USART_IT_RXNE) != RESET) //中断产生
|
||||||
|
{
|
||||||
|
UART7_Rbuffer[0] = USART_ReceiveData(UART7); //接收数据
|
||||||
|
uint8_t c = 0;
|
||||||
|
uart_device_info *dev = (uart_device_info *)g_J2RS485_UART7_handle;
|
||||||
|
c = UART7_Rbuffer[0];
|
||||||
|
if(!RingQueueFull(&dev->uart_ring_queue))
|
||||||
|
InRingQueue(&dev->uart_ring_queue, c);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void UART8_IRQHandler(void)
|
||||||
|
{
|
||||||
|
if(USART_GetITStatus(UART8, USART_IT_RXNE) != RESET) //中断产生
|
||||||
|
{
|
||||||
|
UART8_Rbuffer[0] = USART_ReceiveData(UART8); //接收数据
|
||||||
|
uint8_t c = 0;
|
||||||
|
uart_device_info *dev = (uart_device_info *)g_J4RS485_UART8_handle;
|
||||||
|
c = UART8_Rbuffer[0];
|
||||||
|
if(!RingQueueFull(&dev->uart_ring_queue))
|
||||||
|
InRingQueue(&dev->uart_ring_queue, c);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
/*
|
|
||||||
* Upward_UART5.c
|
|
||||||
*
|
|
||||||
* Created on: 2024年8月7日
|
|
||||||
* Author: psx
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "Upward_UART5.h"
|
|
|
@ -74,7 +74,13 @@ void Recv_thread_entry(void* parameter)
|
||||||
{
|
{
|
||||||
rt_kprintf("\n Recv \n");
|
rt_kprintf("\n Recv \n");
|
||||||
while (1) {
|
while (1) {
|
||||||
|
read_and_process_uart_data(g_J1RS485_UART6_handle);
|
||||||
|
read_and_process_uart_data(g_J2RS485_UART7_handle);
|
||||||
|
read_and_process_uart_data(g_J3RS485_USART2_handle);
|
||||||
|
read_and_process_uart_data(g_J4RS485_UART8_handle);
|
||||||
read_and_process_uart_data(g_J50RS485_USART3_handle);
|
read_and_process_uart_data(g_J50RS485_USART3_handle);
|
||||||
|
read_and_process_uart_data(g_LORA_UART4_handle);
|
||||||
|
read_and_process_uart_data(g_Upward_UART5_handle);
|
||||||
rt_thread_mdelay(100);
|
rt_thread_mdelay(100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -84,9 +90,12 @@ void Send_thread_entry(void* parameter)
|
||||||
uint8_t buff[100];
|
uint8_t buff[100];
|
||||||
rt_kprintf("\n Send \n");
|
rt_kprintf("\n Send \n");
|
||||||
while (1) {
|
while (1) {
|
||||||
memset(buff, 0, sizeof(buff));
|
// memset(buff, 0, sizeof(buff));
|
||||||
rt_mq_recv(mqSend, buff, sizeof(buff), RT_WAITING_FOREVER);
|
// rt_mq_recv(mqSend, buff, sizeof(buff), RT_WAITING_FOREVER);
|
||||||
rt_kprintf("\n Send buff \n");
|
// rt_kprintf("\n Send buff \n");
|
||||||
send_data(buff);
|
// send_data(buff);
|
||||||
|
|
||||||
|
uart_dev_write(g_Upward_UART5_handle, "hello world\n", sizeof("hello world\n"));
|
||||||
|
rt_thread_mdelay(1000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,11 +6,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "uart_dev.h"
|
#include "uart_dev.h"
|
||||||
#include "J1_UART6.h"
|
#include "UART.h"
|
||||||
#include "J2_UART7.h"
|
|
||||||
#include "J3_USART2.h"
|
|
||||||
#include "J4_UART8.h"
|
|
||||||
#include "J5-0_USART3.h"
|
|
||||||
|
|
||||||
|
|
||||||
/* 使能485发送 */
|
/* 使能485发送 */
|
||||||
|
@ -236,9 +232,9 @@ void uart_init(uart_device_info *uart_device, int baud)
|
||||||
USART_CONNET_J9();
|
USART_CONNET_J9();
|
||||||
}
|
}
|
||||||
} else if (uart_device->uart_index == UART5) {
|
} else if (uart_device->uart_index == UART5) {
|
||||||
;
|
Upward_UART5_Init(baud);
|
||||||
} else if (uart_device->uart_index == UART4) {
|
} else if (uart_device->uart_index == UART4) {
|
||||||
;
|
LORA_UART4_Init(baud);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,6 @@ void hareware_init()
|
||||||
android_PowerCtrl_Open();
|
android_PowerCtrl_Open();
|
||||||
|
|
||||||
// SPI_Flash_TEST();
|
// SPI_Flash_TEST();
|
||||||
// USARTx_SendStr(J5_0_USART, "This is a test data.\n");
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,8 +38,6 @@ void software_init()
|
||||||
Recv_thread_Init();
|
Recv_thread_Init();
|
||||||
Send_thread_Init();
|
Send_thread_Init();
|
||||||
|
|
||||||
while (1);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
BIN
obj/CH32V303.elf
BIN
obj/CH32V303.elf
Binary file not shown.
1496
obj/CH32V303.hex
1496
obj/CH32V303.hex
File diff suppressed because it is too large
Load Diff
7922
obj/CH32V303.lst
7922
obj/CH32V303.lst
File diff suppressed because it is too large
Load Diff
3871
obj/CH32V303.map
3871
obj/CH32V303.map
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
16166
obj/CH32V303_V0.1.lst
16166
obj/CH32V303_V0.1.lst
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,151 +0,0 @@
|
||||||
Hardware/src/J1_UART6.o: ../Hardware/src/J1_UART6.c \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/J1_UART6.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/UART.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Core/core_riscv.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/system_ch32v30x.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/ch32v30x_conf.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_adc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_bkp.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_can.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_crc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dac.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dbgmcu.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dma.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_exti.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_flash.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_fsmc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_gpio.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_i2c.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_iwdg.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_pwr.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_rcc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_rtc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_sdio.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_spi.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_tim.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_usart.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_wwdg.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/ch32v30x_it.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Debug/debug.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_misc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtthread.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread/rtconfig.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtdebug.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtdef.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtservice.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtm.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\finsh/finsh_api.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rthw.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/rtdevice.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/ringbuffer.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/completion.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/dataqueue.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/workqueue.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/waitqueue.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/pipe.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/poll.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/serial.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/J1_UART6.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/UART.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Core/core_riscv.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/system_ch32v30x.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/ch32v30x_conf.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_adc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_bkp.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_can.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_crc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dac.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dbgmcu.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dma.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_exti.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_flash.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_fsmc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_gpio.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_i2c.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_iwdg.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_pwr.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_rcc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_rtc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_sdio.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_spi.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_tim.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_usart.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_wwdg.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/ch32v30x_it.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Debug/debug.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_misc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtthread.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread/rtconfig.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtdebug.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtdef.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtservice.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtm.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\finsh/finsh_api.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rthw.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/rtdevice.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/ringbuffer.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/completion.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/dataqueue.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/workqueue.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/waitqueue.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/pipe.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/poll.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/serial.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h:
|
|
Binary file not shown.
|
@ -1,151 +0,0 @@
|
||||||
Hardware/src/J2_UART7.o: ../Hardware/src/J2_UART7.c \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/J2_UART7.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/UART.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Core/core_riscv.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/system_ch32v30x.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/ch32v30x_conf.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_adc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_bkp.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_can.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_crc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dac.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dbgmcu.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dma.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_exti.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_flash.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_fsmc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_gpio.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_i2c.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_iwdg.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_pwr.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_rcc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_rtc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_sdio.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_spi.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_tim.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_usart.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_wwdg.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/ch32v30x_it.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Debug/debug.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_misc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtthread.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread/rtconfig.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtdebug.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtdef.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtservice.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtm.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\finsh/finsh_api.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rthw.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/rtdevice.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/ringbuffer.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/completion.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/dataqueue.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/workqueue.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/waitqueue.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/pipe.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/poll.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/serial.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/J2_UART7.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/UART.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Core/core_riscv.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/system_ch32v30x.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/ch32v30x_conf.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_adc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_bkp.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_can.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_crc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dac.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dbgmcu.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dma.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_exti.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_flash.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_fsmc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_gpio.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_i2c.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_iwdg.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_pwr.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_rcc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_rtc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_sdio.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_spi.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_tim.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_usart.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_wwdg.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/ch32v30x_it.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Debug/debug.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_misc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtthread.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread/rtconfig.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtdebug.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtdef.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtservice.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtm.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\finsh/finsh_api.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rthw.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/rtdevice.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/ringbuffer.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/completion.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/dataqueue.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/workqueue.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/waitqueue.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/pipe.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/poll.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/serial.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h:
|
|
Binary file not shown.
|
@ -1,151 +0,0 @@
|
||||||
Hardware/src/J3_USART2.o: ../Hardware/src/J3_USART2.c \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/J3_USART2.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/UART.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Core/core_riscv.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/system_ch32v30x.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/ch32v30x_conf.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_adc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_bkp.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_can.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_crc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dac.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dbgmcu.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dma.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_exti.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_flash.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_fsmc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_gpio.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_i2c.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_iwdg.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_pwr.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_rcc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_rtc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_sdio.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_spi.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_tim.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_usart.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_wwdg.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/ch32v30x_it.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Debug/debug.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_misc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtthread.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread/rtconfig.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtdebug.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtdef.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtservice.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtm.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\finsh/finsh_api.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rthw.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/rtdevice.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/ringbuffer.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/completion.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/dataqueue.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/workqueue.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/waitqueue.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/pipe.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/poll.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/serial.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/J3_USART2.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/UART.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Core/core_riscv.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/system_ch32v30x.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/ch32v30x_conf.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_adc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_bkp.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_can.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_crc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dac.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dbgmcu.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dma.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_exti.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_flash.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_fsmc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_gpio.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_i2c.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_iwdg.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_pwr.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_rcc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_rtc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_sdio.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_spi.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_tim.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_usart.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_wwdg.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/ch32v30x_it.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Debug/debug.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_misc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtthread.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread/rtconfig.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtdebug.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtdef.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtservice.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtm.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\finsh/finsh_api.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rthw.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/rtdevice.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/ringbuffer.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/completion.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/dataqueue.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/workqueue.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/waitqueue.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/pipe.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/poll.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/serial.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h:
|
|
Binary file not shown.
|
@ -1,151 +0,0 @@
|
||||||
Hardware/src/J4_UART8.o: ../Hardware/src/J4_UART8.c \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/J4_UART8.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/UART.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Core/core_riscv.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/system_ch32v30x.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/ch32v30x_conf.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_adc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_bkp.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_can.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_crc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dac.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dbgmcu.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dma.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_exti.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_flash.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_fsmc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_gpio.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_i2c.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_iwdg.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_pwr.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_rcc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_rtc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_sdio.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_spi.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_tim.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_usart.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_wwdg.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/ch32v30x_it.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Debug/debug.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_misc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtthread.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread/rtconfig.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtdebug.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtdef.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtservice.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtm.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\finsh/finsh_api.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rthw.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/rtdevice.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/ringbuffer.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/completion.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/dataqueue.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/workqueue.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/waitqueue.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/pipe.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/poll.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/serial.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/J4_UART8.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/UART.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Core/core_riscv.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/system_ch32v30x.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/ch32v30x_conf.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_adc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_bkp.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_can.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_crc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dac.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dbgmcu.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dma.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_exti.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_flash.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_fsmc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_gpio.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_i2c.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_iwdg.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_pwr.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_rcc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_rtc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_sdio.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_spi.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_tim.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_usart.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_wwdg.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/ch32v30x_it.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Debug/debug.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_misc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtthread.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread/rtconfig.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtdebug.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtdef.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtservice.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtm.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\finsh/finsh_api.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rthw.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/rtdevice.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/ringbuffer.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/completion.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/dataqueue.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/workqueue.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/waitqueue.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/pipe.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/poll.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/serial.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h:
|
|
Binary file not shown.
|
@ -1,157 +0,0 @@
|
||||||
Hardware/src/J5-0_USART3.o: ../Hardware/src/J5-0_USART3.c \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/J5-0_USART3.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/UART.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Core/core_riscv.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/system_ch32v30x.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/ch32v30x_conf.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_adc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_bkp.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_can.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_crc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dac.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dbgmcu.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dma.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_exti.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_flash.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_fsmc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_gpio.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_i2c.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_iwdg.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_pwr.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_rcc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_rtc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_sdio.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_spi.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_tim.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_usart.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_wwdg.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/ch32v30x_it.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Debug/debug.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_misc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtthread.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread/rtconfig.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtdebug.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtdef.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtservice.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtm.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\finsh/finsh_api.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rthw.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/rtdevice.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/ringbuffer.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/completion.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/dataqueue.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/workqueue.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/waitqueue.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/pipe.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/poll.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/serial.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Software\inc/uart_dev.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\drivers/RingQueue/ring_queue.h
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/J5-0_USART3.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/UART.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Core/core_riscv.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/system_ch32v30x.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/ch32v30x_conf.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_adc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_bkp.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_can.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_crc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dac.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dbgmcu.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dma.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_exti.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_flash.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_fsmc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_gpio.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_i2c.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_iwdg.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_pwr.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_rcc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_rtc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_sdio.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_spi.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_tim.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_usart.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_wwdg.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/ch32v30x_it.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Debug/debug.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_misc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtthread.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread/rtconfig.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtdebug.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtdef.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtservice.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtm.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\finsh/finsh_api.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rthw.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/rtdevice.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/ringbuffer.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/completion.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/dataqueue.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/workqueue.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/waitqueue.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/pipe.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/poll.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/serial.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Software\inc/uart_dev.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\drivers/RingQueue/ring_queue.h:
|
|
Binary file not shown.
|
@ -1,151 +0,0 @@
|
||||||
Hardware/src/LORA_UART.o: ../Hardware/src/LORA_UART.c \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/LORA_UART.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/UART.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Core/core_riscv.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/system_ch32v30x.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/ch32v30x_conf.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_adc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_bkp.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_can.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_crc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dac.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dbgmcu.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dma.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_exti.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_flash.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_fsmc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_gpio.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_i2c.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_iwdg.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_pwr.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_rcc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_rtc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_sdio.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_spi.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_tim.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_usart.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_wwdg.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/ch32v30x_it.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Debug/debug.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_misc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtthread.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread/rtconfig.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtdebug.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtdef.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtservice.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtm.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\finsh/finsh_api.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rthw.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/rtdevice.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/ringbuffer.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/completion.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/dataqueue.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/workqueue.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/waitqueue.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/pipe.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/poll.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/serial.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/LORA_UART.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/UART.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Core/core_riscv.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/system_ch32v30x.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/ch32v30x_conf.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_adc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_bkp.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_can.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_crc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dac.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dbgmcu.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dma.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_exti.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_flash.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_fsmc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_gpio.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_i2c.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_iwdg.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_pwr.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_rcc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_rtc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_sdio.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_spi.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_tim.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_usart.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_wwdg.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/ch32v30x_it.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Debug/debug.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_misc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtthread.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread/rtconfig.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtdebug.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtdef.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtservice.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtm.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\finsh/finsh_api.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rthw.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/rtdevice.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/ringbuffer.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/completion.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/dataqueue.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/workqueue.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/waitqueue.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/pipe.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/poll.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/serial.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h:
|
|
Binary file not shown.
|
@ -47,7 +47,9 @@ Hardware/src/UART.o: ../Hardware/src/UART.c \
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/pipe.h \
|
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/pipe.h \
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/poll.h \
|
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/poll.h \
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/serial.h \
|
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/serial.h \
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h
|
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h \
|
||||||
|
D:\psx\su806\git\CH32V303_V0.1\Software\inc/uart_dev.h \
|
||||||
|
D:\psx\su806\git\CH32V303_V0.1\drivers/RingQueue/ring_queue.h
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/UART.h:
|
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/UART.h:
|
||||||
|
|
||||||
|
@ -146,3 +148,7 @@ D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/poll.h:
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/serial.h:
|
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/serial.h:
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h:
|
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h:
|
||||||
|
|
||||||
|
D:\psx\su806\git\CH32V303_V0.1\Software\inc/uart_dev.h:
|
||||||
|
|
||||||
|
D:\psx\su806\git\CH32V303_V0.1\drivers/RingQueue/ring_queue.h:
|
||||||
|
|
Binary file not shown.
|
@ -1,151 +0,0 @@
|
||||||
Hardware/src/Upward_UART5.o: ../Hardware/src/Upward_UART5.c \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/Upward_UART5.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/UART.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Core/core_riscv.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/system_ch32v30x.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/ch32v30x_conf.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_adc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_bkp.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_can.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_crc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dac.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dbgmcu.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dma.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_exti.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_flash.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_fsmc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_gpio.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_i2c.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_iwdg.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_pwr.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_rcc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_rtc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_sdio.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_spi.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_tim.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_usart.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_wwdg.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/ch32v30x_it.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Debug/debug.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_misc.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtthread.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread/rtconfig.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtdebug.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtdef.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtservice.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtm.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\finsh/finsh_api.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rthw.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/rtdevice.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/ringbuffer.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/completion.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/dataqueue.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/workqueue.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/waitqueue.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/pipe.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/poll.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/serial.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/Upward_UART5.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/UART.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Core/core_riscv.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/system_ch32v30x.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/ch32v30x_conf.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_adc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_bkp.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_can.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_crc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dac.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dbgmcu.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_dma.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_exti.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_flash.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_fsmc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_gpio.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_i2c.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_iwdg.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_pwr.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_rcc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_rtc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_sdio.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_spi.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_tim.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_usart.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_wwdg.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\User/ch32v30x_it.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Debug/debug.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Peripheral\inc/ch32v30x_misc.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtthread.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread/rtconfig.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtdebug.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtdef.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtservice.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rtm.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\finsh/finsh_api.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rthw.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/rtdevice.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/ringbuffer.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/completion.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/dataqueue.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/workqueue.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/waitqueue.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/pipe.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/poll.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/serial.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h:
|
|
Binary file not shown.
|
@ -7,38 +7,17 @@
|
||||||
C_SRCS += \
|
C_SRCS += \
|
||||||
../Hardware/src/Android.c \
|
../Hardware/src/Android.c \
|
||||||
../Hardware/src/Flash.c \
|
../Hardware/src/Flash.c \
|
||||||
../Hardware/src/J1_UART6.c \
|
../Hardware/src/UART.c
|
||||||
../Hardware/src/J2_UART7.c \
|
|
||||||
../Hardware/src/J3_USART2.c \
|
|
||||||
../Hardware/src/J4_UART8.c \
|
|
||||||
../Hardware/src/J5-0_USART3.c \
|
|
||||||
../Hardware/src/LORA_UART.c \
|
|
||||||
../Hardware/src/UART.c \
|
|
||||||
../Hardware/src/Upward_UART5.c
|
|
||||||
|
|
||||||
OBJS += \
|
OBJS += \
|
||||||
./Hardware/src/Android.o \
|
./Hardware/src/Android.o \
|
||||||
./Hardware/src/Flash.o \
|
./Hardware/src/Flash.o \
|
||||||
./Hardware/src/J1_UART6.o \
|
./Hardware/src/UART.o
|
||||||
./Hardware/src/J2_UART7.o \
|
|
||||||
./Hardware/src/J3_USART2.o \
|
|
||||||
./Hardware/src/J4_UART8.o \
|
|
||||||
./Hardware/src/J5-0_USART3.o \
|
|
||||||
./Hardware/src/LORA_UART.o \
|
|
||||||
./Hardware/src/UART.o \
|
|
||||||
./Hardware/src/Upward_UART5.o
|
|
||||||
|
|
||||||
C_DEPS += \
|
C_DEPS += \
|
||||||
./Hardware/src/Android.d \
|
./Hardware/src/Android.d \
|
||||||
./Hardware/src/Flash.d \
|
./Hardware/src/Flash.d \
|
||||||
./Hardware/src/J1_UART6.d \
|
./Hardware/src/UART.d
|
||||||
./Hardware/src/J2_UART7.d \
|
|
||||||
./Hardware/src/J3_USART2.d \
|
|
||||||
./Hardware/src/J4_UART8.d \
|
|
||||||
./Hardware/src/J5-0_USART3.d \
|
|
||||||
./Hardware/src/LORA_UART.d \
|
|
||||||
./Hardware/src/UART.d \
|
|
||||||
./Hardware/src/Upward_UART5.d
|
|
||||||
|
|
||||||
|
|
||||||
# Each subdirectory must supply rules for building sources it contributes
|
# Each subdirectory must supply rules for building sources it contributes
|
||||||
|
|
Binary file not shown.
|
@ -38,7 +38,6 @@ Software/src/uart_dev.o: ../Software/src/uart_dev.c \
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\finsh/finsh_api.h \
|
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\finsh/finsh_api.h \
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rthw.h \
|
D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rthw.h \
|
||||||
D:\psx\su806\git\CH32V303_V0.1\drivers/RingQueue/ring_queue.h \
|
D:\psx\su806\git\CH32V303_V0.1\drivers/RingQueue/ring_queue.h \
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/J1_UART6.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/UART.h \
|
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/UART.h \
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h \
|
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h \
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/rtdevice.h \
|
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/rtdevice.h \
|
||||||
|
@ -50,11 +49,7 @@ Software/src/uart_dev.o: ../Software/src/uart_dev.c \
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/pipe.h \
|
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/pipe.h \
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/poll.h \
|
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/poll.h \
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/serial.h \
|
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/serial.h \
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h \
|
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/J2_UART7.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/J3_USART2.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/J4_UART8.h \
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/J5-0_USART3.h
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Software\inc/uart_dev.h:
|
D:\psx\su806\git\CH32V303_V0.1\Software\inc/uart_dev.h:
|
||||||
|
|
||||||
|
@ -134,8 +129,6 @@ D:\psx\su806\git\CH32V303_V0.1\rtthread\include/rthw.h:
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\drivers/RingQueue/ring_queue.h:
|
D:\psx\su806\git\CH32V303_V0.1\drivers/RingQueue/ring_queue.h:
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/J1_UART6.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/UART.h:
|
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/UART.h:
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h:
|
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h:
|
||||||
|
@ -159,11 +152,3 @@ D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/ipc/poll.h:
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/serial.h:
|
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/serial.h:
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h:
|
D:\psx\su806\git\CH32V303_V0.1\rtthread\components\drivers\include/drivers/pin.h:
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/J2_UART7.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/J3_USART2.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/J4_UART8.h:
|
|
||||||
|
|
||||||
D:\psx\su806\git\CH32V303_V0.1\Hardware\inc/J5-0_USART3.h:
|
|
||||||
|
|
Binary file not shown.
BIN
obj/User/start.o
BIN
obj/User/start.o
Binary file not shown.
Binary file not shown.
1411
obj/rt-thread.hex
1411
obj/rt-thread.hex
File diff suppressed because it is too large
Load Diff
7418
obj/rt-thread.lst
7418
obj/rt-thread.lst
File diff suppressed because it is too large
Load Diff
3532
obj/rt-thread.map
3532
obj/rt-thread.map
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Loading…
Reference in New Issue