/************************************************************************************************
* File Name: - UART.c
* COPYRIGHT NOTICE: (C) 2011 <Company Name>
* All Rights reserved
************************************************************************************************/
/*****************************************************************************************
* File Name: - UART.c
* Date Created: - 25.July.2011
* Created By: -
*
* Dependencies: - The RxBuf of MCU is mapped with the char buffer which is declared
* global in other .c file
* While porting this file in other projects, care should be taken that
* RxBuf of MCU should be mapped as per project requirement.
*
* Description: - 1. This file implements the driver for UART communication.
* 2. It has routines for Initialisation of UART, sending single byte on
* UART port by polling and receiving single byte through interrupt.
*
* Compiler Used: - CCS4.0
* MCU used: - MSP430F5418A
* Date Modified: -
* Modifications: -
* Modified By: -
*****************************************************************************************/
/////////////////////////////////////////////////////////////////////////////////////////
// INCLUDE FILES
/////////////////////////////////////////////////////////////////////////////////////////
#include "Config.h"
#include "StdTypes.h"
#include "Display.h"
#include "Slave.h"
#include "UART.h"
/////////////////////////////////////////////////////////////////////////////////////////
// GLOBAL VARIABLES
/////////////////////////////////////////////////////////////////////////////////////////
/* The following buffer is used to store data received.*/
UINT8_T u8Buf[];
/////////////////////////////////////////////////////////////////////////////////////////
// FUNCTION DEFINITIONS
/////////////////////////////////////////////////////////////////////////////////////////
/****************************************************************************************
* Function Name- UART_CallFunc
* Return Type- void
* Argument List- UINT8_T u8FunctionNo
* Calling Functions-
* Called Functions-
*
* Global Variables Affected- none
*
* Description-
* Note -
****************************************************************************************/
...
//.c file ends here