EasyManua.ls Logo

Texas Instruments MSP430 - Page 375

Texas Instruments MSP430
413 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
375
/* Disable USCI */
UCA0CTL1 |= UCSWRST;
/*
* Control Register 0
*
* ~UCPEN -- Parity Disabled
* UCPAR -- Even parity
* ~UCMSB -- LSB first
* ~UC7BIT -- 8-bit
* ~UCSPB -- One stop bit
* UCMODE_0 -- UART Mode
* ~UCSYNC -- Asynchronous mode
*
* Note: ~<BIT> indicates that <BIT> has value zero
*/
UCA0CTL0 = UCPAR | UCMODE_0;
/*
* Control Register 1
*
* UCSSEL_2 -- SMCLK
* ~UCRXEIE -- Erroneous characters rejected and UCAxRXIFG is not set
* ~UCBRKIE -- Received break characters do not set UCAxRXIFG
* ~UCDORM -- Not dormant. All received characters will set UCAxRXIFG
* ~UCTXADDR -- Next frame transmitted is data
* ~UCTXBRK -- Next frame transmitted is not a break

Table of Contents

Other manuals for Texas Instruments MSP430

Related product manuals