]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/CORTEX_A9_RZ_R7S72100_IAR_DS-5/Source/RenesasFiles/include/devdrv_scif_uart.h
Add missing +TCP code.
[freertos] / FreeRTOS / Demo / CORTEX_A9_RZ_R7S72100_IAR_DS-5 / Source / RenesasFiles / include / devdrv_scif_uart.h
1 /*******************************************************************************\r
2 * DISCLAIMER\r
3 * This software is supplied by Renesas Electronics Corporation and is only\r
4 * intended for use with Renesas products. No other uses are authorized. This\r
5 * software is owned by Renesas Electronics Corporation and is protected under\r
6 * all applicable laws, including copyright laws.\r
7 * THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING\r
8 * THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT\r
9 * LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE\r
10 * AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED.\r
11 * TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS\r
12 * ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE\r
13 * FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR\r
14 * ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE\r
15 * BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\r
16 * Renesas reserves the right, without notice, to make changes to this software\r
17 * and to discontinue the availability of this software. By using this software,\r
18 * you agree to the additional terms and conditions found by accessing the\r
19 * following link:\r
20 * http://www.renesas.com/disclaimer\r
21 *\r
22 * Copyright (C) 2012 Renesas Electronics Corporation. All rights reserved.\r
23 *******************************************************************************/\r
24 /******************************************************************************\r
25 * File Name    : scif_uart.h\r
26 * $Rev: $\r
27 * $Date::                           $\r
28 * Description  : Aragon Sample Program - SCIF UART device driver header\r
29 ******************************************************************************/\r
30 #ifndef _DEVDRV_SCIF_UART_H_\r
31 #define _DEVDRV_SCIF_UART_H_\r
32 \r
33 /******************************************************************************\r
34 Includes   <System Includes> , "Project Includes"\r
35 ******************************************************************************/\r
36 #include "iodefine.h"\r
37 \r
38 /******************************************************************************\r
39 Typedef definitions\r
40 ******************************************************************************/\r
41 \r
42 /******************************************************************************\r
43 Macro definitions\r
44 ******************************************************************************/\r
45 #define SCIF_UART_MODE_W        (1)\r
46 #define SCIF_UART_MODE_R        (2)\r
47 #define SCIF_UART_MODE_RW       (3)\r
48 \r
49 typedef enum scif_cks_division\r
50 {\r
51     SCIF_CKS_DIVISION_1,\r
52     SCIF_CKS_DIVISION_4,\r
53     SCIF_CKS_DIVISION_16,\r
54     SCIF_CKS_DIVISION_64\r
55 } scif_cks_division_t;\r
56 \r
57 /******************************************************************************\r
58 Variable Externs\r
59 ******************************************************************************/\r
60 \r
61 /******************************************************************************\r
62 Functions Prototypes\r
63 ******************************************************************************/\r
64 int32_t R_SCIF_UART_Init(uint32_t channel, uint32_t mode, uint16_t cks, uint8_t scbrr);\r
65 \r
66 void Userdef_SCIF2_UART_Init(uint8_t mode, uint16_t cks, uint8_t scbrr);\r
67 \r
68 #endif  /* _DEVDRV_SCIF_UART_H_ */\r
69 \r
70 /* End of File */\r