/*
 * Copyright (c) 2018 Renesas Electronics Corporation. All rights reserved.
 */

#ifndef __SCIF_H__
#define __SCIF_H__


//SCIF0
#define	SCIF0_SCSMR						0xE6E60000	// R/W	16	Serial mode register
#define	SCIF0_SCBRR						0xE6E60004	// R/W	8	Bit rate register
#define	SCIF0_SCSCR						0xE6E60008	// R/W	16	Serial control register
#define	SCIF0_SCFTDR					0xE6E6000C	// W	8	Transmit FIFO data register
#define	SCIF0_SCFSR						0xE6E60010	// R/W	16	Serial status register
#define	SCIF0_SCFRDR					0xE6E60014	// R	8	Receive FIFO data register
#define	SCIF0_SCFCR						0xE6E60018	// R/W	16	FIFO control register
#define	SCIF0_SCFDR						0xE6E6001C	// R	16	FIFO data count register
#define	SCIF0_SCSPTR					0xE6E60020	// R/W	16	Serial port register
#define	SCIF0_SCLSR						0xE6E60024	// R/W	16	Line status register
#define	SCIF0_DL						0xE6E60030	// R/W	16	Frequency division register
#define	SCIF0_CKS						0xE6E60034	// R/W	16	Clock Select register

#define CR_CODE			(0x0DU)
#define LF_CODE			(0x0AU)

void PutStr(const char *str,char rtn);
void PutChar(char outChar);


#endif	/* __SCIF_H__ */
