X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Fmsp430%2Fusart%2FMsp430Uart0P.nc;h=bce4f7fbfe531d254010de9cc9728694b39e015d;hb=27a4057b502642e6d503124114d7047a6576d751;hp=b61f800426253763e9dd09ede913193f241540a6;hpb=bef408170ad6af964a2a8950ea57c5d8fda75678;p=tinyos-2.x.git diff --git a/tos/chips/msp430/usart/Msp430Uart0P.nc b/tos/chips/msp430/usart/Msp430Uart0P.nc index b61f8004..bce4f7fb 100644 --- a/tos/chips/msp430/usart/Msp430Uart0P.nc +++ b/tos/chips/msp430/usart/Msp430Uart0P.nc @@ -32,24 +32,23 @@ /** * @author Jonathan Hui * @author Vlado Handziski + * @author Eric B. Decker * @version $Revision$ $Date$ */ configuration Msp430Uart0P { provides interface Resource[ uint8_t id ]; - provides interface ResourceConfigure[uint8_t id ]; - provides interface UartStream; - provides interface UartByte; + provides interface ResourceConfigure[ uint8_t id ]; + provides interface UartStream[ uint8_t id ]; + provides interface UartByte[ uint8_t id ]; uses interface Resource as UsartResource[ uint8_t id ]; uses interface Msp430UartConfigure[ uint8_t id ]; - uses interface HplMsp430UsartInterrupts as UsartInterrupts; - + uses interface HplMsp430UsartInterrupts as UsartInterrupts[ uint8_t id ]; } implementation { - components new Msp430UartP() as UartP; Resource = UartP.Resource; ResourceConfigure = UartP.ResourceConfigure;