uartdayin
代码说明:
msp430f5529串口打印程序,实现字符串的发送,用于gsm等。(//****************************************************************************** // MSP430F552x Demo- USCI_A0, 9600 UART, SMCLK, LPM0, Echo with over-sampling // // Description: Echo a received character, RX ISR used. Normal mode is LPM0. // USCI_A0 RX interrupt triggers TX Echo. // If UCOS16=1, UCBRx=Fbrclk/(16*Baudrate) // Baud rate divider with UCBRx = 1MHz/(16*9600) = ~6.8 // ACLK = REFO = ~32768Hz, MCLK = SMCLK = default DCO = 32 x ACLK = 1048576Hz // See User Guide for baud rate divider table // // MSP430F552x // ----------------- // /|| | // | | | // --|RST | // | | // | P3.3/UCA0TXD|------------> // | | 9600- 8N1 // | P3.4/UCA0RXD|
下载说明:请别用迅雷下载,失败请重下,重下不扣分!