STM32F030 USARTx_CR2寄存器的15位:
Bit 15 SWAP: Swap TX/RX pins
This bit is set and cleared by software.
0: TX/RX pins are used as defined in standard pinout
1: The TX and RX pins functions are swapped. This allows to work in the case of a cross-wired
connection to another UART.
This bit field can only be written when the USART is disabled (UE=0).
STM32F030 USARTx_CR2寄存器的15位:
Bit 15 SWAP: Swap TX/RX pins
This bit is set and cleared by software.
0: TX/RX pins are used as defined in standard pinout
1: The TX and RX pins functions are swapped. This allows to work in the case of a cross-wired
connection to another UART.
This bit field can only be written when the USART is disabled (UE=0).
STM32F103 USARTx_CR2寄存器的15位没有定义,不过按照ARM的特点,可以设置下15位试试,说不定有惊喜呢?
一周热门 更多>