You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
349 B
24 lines
349 B
///#include "bsp_485.h"
|
|
#include "tpc_debug.h"
|
|
////#include "tpc_x.h"
|
|
#include "c_lib.h"
|
|
|
|
#if 10
|
|
void L2_485_init(void)
|
|
{}
|
|
#else
|
|
|
|
void L2_485_init(void)
|
|
{
|
|
//485配置强推挽输出 P33 P32
|
|
//BITN_0(P3M1,BITN3);BITN_1(P3M0,BITN3);
|
|
///BITN_0(P5M1,BITN5);BITN_1(P5M0,BITN5);
|
|
D_UART0_485_INIT();
|
|
///while(9)
|
|
{
|
|
|
|
D_UART0_485_TX();
|
|
}
|
|
}
|
|
|
|
#endif
|