X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Fmsp430%2Fusci%2FHplMsp430UsciInt.nc;h=d0021cd64720ce9c009070e2bdfbd6282bf4ac82;hb=a04046a3331f1baba1e6a568613fec5db58bbe7b;hp=19e1e6df91305747414b51b30543b5acae598262;hpb=76eb4bee32f633c7046716c39fe046f5174aa859;p=tinyos-2.x.git diff --git a/tos/chips/msp430/usci/HplMsp430UsciInt.nc b/tos/chips/msp430/usci/HplMsp430UsciInt.nc index 19e1e6df..d0021cd6 100644 --- a/tos/chips/msp430/usci/HplMsp430UsciInt.nc +++ b/tos/chips/msp430/usci/HplMsp430UsciInt.nc @@ -26,18 +26,18 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ - + /** * Interrupt interface for USCI peripherals. Although A and B devices have * different interrupt sets since B only support I2C, we use a single set for * both so that upper layers need not deal with the different sets. This is * critical in the case of SPI communications, which is supported by both A * and B devices. - * + * * @author R. Steve McKown */ - -#include "msp430usci.h" + +#include "Msp430Usci.h" interface HplMsp430UsciInt { /** @@ -51,9 +51,9 @@ interface HplMsp430UsciInt { * Signals a character received for any USCI mode. The provider must reset * UCxIFG.UCxxRXIFG before signalling the event to the user. * - * @params c The character received. + * @params byte The character received. */ - async event void rx(char c); + async event void rx(uint8_t byte); /** * Signals that the device's transmit buffer is empty and can accept @@ -74,7 +74,7 @@ interface HplMsp430UsciInt { * I2C mode only. Indicates the device was expecting an ACK and it was not * received. */ - async event void i2cNak(); + async event void i2cNack(); /** * I2C mode only. Indicates the device has detected a start condition