Hi Abhishek
I am not sure if you are asking for the SCI configuration. If this is the case you can use
void main(void)
{
// Following a reset, BUSCLK = 4MHz
SCIBD = 26; // SCI baud rate = 4MHz/(16*26)=9615 bps
SCIC1 = 0; //default settings
//enable transmitter and receiver pins, enables receiver interrupt
SCIC2 = SCIC2_TE_MASK | SCIC2_RE_MASK | SCIC2_RIE_MASK;
EnableInterrupts;
for (;;)
{
__RESET_WATCHDOG();
}
}
/***************************************************************************************/
interrupt VectorNumber_Vscirx void SCIRX_ISR(void)
{
(void) SCIS1; // read SCIS1 register for clear RDRE flag
u8receiver = SCID;
SCID = u8receiver;
}
I hope this will help you