1    /* --COPYRIGHT--,EPL
     2     *  Copyright (c) 2008 Texas Instruments and others.
     3     *  All rights reserved. This program and the accompanying materials
     4     *  are made available under the terms of the Eclipse Public License v1.0
     5     *  which accompanies this distribution, and is available at
     6     *  http://www.eclipse.org/legal/epl-v10.html
     7     * 
     8     *  Contributors:
     9     *      Texas Instruments - initial implementation
    10     * 
    11     * --/COPYRIGHT--*/
    12    import ti.catalog.msp430.peripherals.clock.IClock;
    13    
    14    /*!
    15     * Universal Serial Communication Interface A0 UART 2xx
    16     */
    17    metaonly module USCI_A0_UART_2xx inherits IUSCI_A0_UART {
    18        /* Add 2xx-specific stuff here */
    19        
    20        /*
    21         *  ======== create ========
    22         */
    23        create(IClock.Instance clock);
    24    
    25    instance:
    26        /*! @_nodoc */
    27        config IClock.Instance clock;
    28    
    29        /*! Determine if each Register needs to be forced set or not */
    30        readonly config ForceSetDefaultRegister_t forceSetDefaultRegister[] =
    31        [
    32            { register : "UCA0CTL0"   , regForceSet : false },
    33            { register : "UCA0CTL1"   , regForceSet : false },
    34            { register : "UCA0BR0"    , regForceSet : false },
    35            { register : "UCA0BR1"    , regForceSet : false },
    36            { register : "UCA0MCTL"   , regForceSet : false },
    37            { register : "UCA0STAT"   , regForceSet : false },
    38            { register : "UCA0RXBUF"  , regForceSet : false },
    39            { register : "UCA0TXBUF"  , regForceSet : false },
    40            { register : "UCA0ABCTL"  , regForceSet : false },
    41            { register : "UCA0IRTCTL" , regForceSet : false },
    42            { register : "UCA0IRRCTL" , regForceSet : false }
    43        ];
    44    }