#define RXIFG P2IFG_bit.P2IFG_6 // Flag for receiver interrupts
#define TXIFG P2IFG_bit.P2IFG_7 // Flag for transmit interrupts
#define RXIE P2IE_bit.P2IE_6 // Enable receiver interrupts
#define TXIE P2IE_bit.P2IE_7 // Enable transmit interrupts
void UARTSetUp (void); // Function to initialize UART
void WriteTXBUF (const uint8_t TXData); // Write byte for UART to send
uint8_t ReadRXBUF (void); // Read received byte from UART