]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/msp430/usci/Msp430UartA0C.nc
More USCI work.
[tinyos-2.x.git] / tos / chips / msp430 / usci / Msp430UartA0C.nc
index 4c07faa688d9007d44a4d42077fa54adf2743e2b..b9e6073c27a922b74dafac71fbac72518c581ffb 100644 (file)
@@ -38,6 +38,8 @@
 #error "Target does not have a USCI_A0 peripheral (UART)"
 #endif
 
+#include "Msp430Usci.h"
+
 configuration Msp430UartA0C {
   provides {
     interface Resource;
@@ -66,4 +68,8 @@ implementation {
   UartP -> UsciC.Interrupts[CLIENT_ID];
   UartP -> UsciC.ArbiterInfo;
   UsciC.ResourceConfigure[CLIENT_ID] -> UartP;
+
+  components HplMsp430GeneralIOC as IOC;
+  UartP.RXD -> IOC.UCA0RXD;
+  UartP.TXD -> IOC.UCA0TXD;
 }