#define Uart_TX 5
#define Uart_RX 6
void Uart_IO_Init(void)
{
PC_DDR = (~(1<>8) 0xf0); //
USART1_BRR2 |= ((unsigned char)(2000000/9600) 0x0f);
USART1_BRR1 = ((unsigned char)(2000000/9600)>>4);
USART1_CR2 |= (1<<2) | (1<<3) ; //使能接收发送
}
以上是我串口配置,发送数据时,TX脚上用示波器观察没有输出,是配置上还有问题吗?