TI team:
请教430的串口可以实现边发边收数据么?是否有相对应的例程。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
我觉得您可以使用我们得driverlib
C:\ti\msp\MSP430Ware_3_80_07_00\driverlib\examples\MSP430F5xx_6xx\eusci_a_uart
void EUSCI_A_UART_transmitData ( uint16_t baseAddress, uint8_t transmitData ) { //If interrupts are not used, poll for flags if (!(HWREG16(baseAddress + OFS_UCAxIE) & UCTXIE)){ //Poll for transmit interrupt flag while (!(HWREG16(baseAddress + OFS_UCAxIFG) & UCTXIFG)); } HWREG16(baseAddress + OFS_UCAxTXBUF) = transmitData; }