]> git.donarmstrong.com Git - qmk_firmware.git/blob - tool/mbed/mbed-sdk/libraries/mbed/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/dev_drv.h
Squashed 'tmk_core/' changes from 7967731..b9e0ea0
[qmk_firmware.git] / tool / mbed / mbed-sdk / libraries / mbed / targets / cmsis / TARGET_RENESAS / TARGET_RZ_A1H / dev_drv.h
1 /*******************************************************************************
2 * DISCLAIMER
3 * This software is supplied by Renesas Electronics Corporation and is only
4 * intended for use with Renesas products. No other uses are authorized. This
5 * software is owned by Renesas Electronics Corporation and is protected under
6 * all applicable laws, including copyright laws.
7 * THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING
8 * THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT
9 * LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
10 * AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED.
11 * TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS
12 * ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE
13 * FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR
14 * ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE
15 * BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
16 * Renesas reserves the right, without notice, to make changes to this software
17 * and to discontinue the availability of this software. By using this software,
18 * you agree to the additional terms and conditions found by accessing the
19 * following link:
20 * http://www.renesas.com/disclaimer
21 * Copyright (C) 2012 - 2014 Renesas Electronics Corporation. All rights reserved.
22 *******************************************************************************/
23 /******************************************************************************
24 * File Name    : dev_drv.h
25 * $Rev: 809 $
26 * $Date:: 2014-04-09 15:06:36 +0900#$
27 * Description  : Device driver header
28 ******************************************************************************/
29 #ifndef DEV_DRV_H
30 #define DEV_DRV_H
31
32 /******************************************************************************
33 Includes   <System Includes> , "Project Includes"
34 ******************************************************************************/
35
36
37 /******************************************************************************
38 Typedef definitions
39 ******************************************************************************/
40
41
42 /******************************************************************************
43 Macro definitions
44 ******************************************************************************/
45 /* ==== Arguments, Return values ==== */
46 #define DEVDRV_SUCCESS      (0)     /* Success */
47 #define DEVDRV_ERROR        (-1)    /* Failure */
48
49 /* ==== Flags ==== */
50 #define DEVDRV_FLAG_OFF     (0)     /* Flag OFF */
51 #define DEVDRV_FLAG_ON      (1)     /* Flag ON  */
52
53 /* ==== Channels ==== */
54 typedef enum devdrv_ch
55 {
56     DEVDRV_CH_0,            /* Channel 0  */
57     DEVDRV_CH_1,            /* Channel 1  */
58     DEVDRV_CH_2,            /* Channel 2  */
59     DEVDRV_CH_3,            /* Channel 3  */
60     DEVDRV_CH_4,            /* Channel 4  */
61     DEVDRV_CH_5,            /* Channel 5  */
62     DEVDRV_CH_6,            /* Channel 6  */
63     DEVDRV_CH_7,            /* Channel 7  */
64     DEVDRV_CH_8,            /* Channel 8  */
65     DEVDRV_CH_9,            /* Channel 9  */
66     DEVDRV_CH_10,           /* Channel 10 */
67     DEVDRV_CH_11,           /* Channel 11 */
68     DEVDRV_CH_12,           /* Channel 12 */
69     DEVDRV_CH_13,           /* Channel 13 */
70     DEVDRV_CH_14,           /* Channel 14 */
71     DEVDRV_CH_15            /* Channel 15 */
72 } devdrv_ch_t;
73
74 /******************************************************************************
75 Variable Externs
76 ******************************************************************************/
77
78
79 /******************************************************************************
80 Functions Prototypes
81 ******************************************************************************/
82
83 #endif  /* DEV_DRV_H */
84
85 /* End of File */