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.
 
 
 

12 regels
379 B

  1. #ifndef _PIN_INIT_H_
  2. #define _PIN_INIT_H_
  3. /*****************宏定义*************************/
  4. #define SOPT5_UART1RXSRC_UART_RX 0x00u //选择UART1_RX pin模式接收数据
  5. #define SOPT5_UART1TXSRC_UART_TX 0x00u //选择UART1_RT pin模式发送数据
  6. /*****************函数声明*************************/
  7. void pin_Init(); //PTA15引脚初始化
  8. void UART2_InitPins(void); //UART2引脚初始化
  9. #endif