-#if 0
-/* FIXME
- * There are different meanings to these fields based upon the mode
- * (uart/spi/etc) and the device (USCI_x0 or USCI_x1).
- */
-
-/* Packed bitfields are lsb first */
-
-typedef struct {
- unsigned int ucsync: 1; /* Synchronous mode enable. 0=async, 1=sync */
- unsigned int ucmodex: 2; /* USCI mode. 00=uart, 01=idle-line, 10=addr-bit, 11=autobaud */
- unsigned int ucspb: 1; /* Stop bit select. 0=one bit, 1=two bits */
- unsigned int uc7bit: 1; /* Character length. 0=8 bits, 1=7 bits */
- unsigned int ucmsb: 1; /* MSB first select. 0=LSB(it) first, 1=MSB(it) first */
- unsigned int ucpar: 1; /* Parity select. 0=odd parity, 1=even parity */
- unsigned int ucpen: 1; /* Parity enable. 0=parity disabled, 1=parity enabled */
-} __attribute__ ((packed)) msp430_usci_uart_ctl0_t ;
-
-typedef struct {
- unsigned int ucswrst: 1; // Software resent enable. 0=disabled (operational), 1=enabled (reset) */
- unsigned int uctxbrk:1; // Next frame is a break or break/sync: 0=no, 1=yes */
- unsigned int uctxaddr:1; // Next transmit frame is an address. 0=no, 1=yes */
- unsigned int ucdorm: 1; // Dormant; USCI in sleep. 0=!dormant, 1=dormant */
- unsigned int ucbrkie: 1; // Receive break sets UCAxRXIFG interrupt. 0=no, 1=yes */
- unsigned int ucrxeie: 1; // Receive erroneous char sets UCAxRXIFG interrupt. 0=no, 1=yes */
- unsigned int uccsselx: 2; // USCI clock source (BRCLK). 00=UCLK, 01=ACLK, 10=SMCLK, 11=SMCLK */
-} __attribute__ ((packed)) msp430_usci_uart_ctl1_t;