* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-
+
/**
* This configuration provides the interface for using USCI_A1 in its UART
* mode.
*
- * @author R. Steve McKown <smckown@gmail.com>
+ * @author R. Steve McKown <rsmckown@gmail.com>
*/
-
+
#if !defined(__MSP430_HAS_USCI_AB0__)
#error "Target does not have a USCI_A1 peripheral (UART)"
#endif
interface UartByte;
interface ArbiterInfo; /* ??? */
}
- uses interface AsyncConfigure<const msp430_usci_config_t*> as
- Msp430UsciConfigure;
+ uses interface AsyncConfigure<const msp430_usci_uart_t*> as Configure;
}
implementation {
enum {
components new Msp430UartP() as UartP;
UartStream = UartP;
UartByte = UartP;
- Msp430UsciConfigure = UartP;
+ Configure = UartP;
components Msp430UsciA1C as UsciC;
Resource = UsciC.Resource[CLIENT_ID];