RZ/A1H CMSIS-RTOS RTX BSP for GR-PEACH.

Dependents:   GR-PEACH_Azure_Speech ImageZoomInout_Sample ImageRotaion_Sample ImageScroll_Sample ... more

Fork of R_BSP by Daiki Kato

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers scux_int.h Source File

scux_int.h

Go to the documentation of this file.
00001 /*******************************************************************************
00002 * DISCLAIMER
00003 * This software is supplied by Renesas Electronics Corporation and is only
00004 * intended for use with Renesas products. No other uses are authorized. This
00005 * software is owned by Renesas Electronics Corporation and is protected under
00006 * all applicable laws, including copyright laws.
00007 * THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING
00008 * THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT
00009 * LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
00010 * AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED.
00011 * TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS
00012 * ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE
00013 * FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR
00014 * ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE
00015 * BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
00016 * Renesas reserves the right, without notice, to make changes to this software
00017 * and to discontinue the availability of this software. By using this software,
00018 * you agree to the additional terms and conditions found by accessing the
00019 * following link:
00020 * http://www.renesas.com/disclaimer
00021 * Copyright (C) 2013-2014 Renesas Electronics Corporation. All rights reserved.
00022 *******************************************************************************/
00023 /**************************************************************************//**
00024 * @file          scux_int.h
00025 * $Rev: 891 $
00026 * $Date:: 2014-06-27 10:40:52 +0900#$
00027 * @brief         SCUX driver interrupt header
00028 ******************************************************************************/
00029 
00030 #ifndef SCUX_INT_H
00031 #define SCUX_INT_H
00032 
00033 /******************************************************************************
00034 Includes <System Includes>, "Project Includes"
00035 ******************************************************************************/
00036 
00037 #include "scux.h" 
00038 #include "Renesas_RZ_A1.h"
00039 
00040 /******************************************************************************
00041 Macro definitions
00042 ******************************************************************************/
00043 
00044 /*************************************************************************
00045  Enumerated Types
00046 *************************************************************************/
00047 
00048 /* Interrupt types */
00049 typedef enum
00050 {
00051     SCUX_INT_FDI  = 0,   /* FDI interrupt */
00052     SCUX_INT_FUI  = 1,   /* FUI interrupt */
00053     SCUX_INT_DVI  = 2,   /* DVI interrupt */
00054     SCUX_INT_AI   = 3,   /* AI interrupt */
00055     SCUX_INT_MAX  = 4
00056 } scux_int_type_t;
00057 
00058 /* Interrupt level */
00059 typedef enum
00060 {
00061     SCUX_INT_LEVEL = 0,   /* Level interrupt */
00062     SCUX_INT_EDGE  = 1    /* Edge interrupt */
00063 } scux_int_leve_t;
00064 
00065 /*************************************************************************
00066  Structures
00067 *************************************************************************/
00068 /* Table Information of Interrupt */
00069 typedef struct
00070 {
00071     IRQHandler       int_handler;          /* Interrupt handler */
00072     IRQn_Type        int_num;              /* Interrupt number */
00073     scux_int_leve_t  info_level;           /* Edge or level  */
00074 } scux_info_int_t;
00075 
00076 /***********************************************************************************
00077  Function Prototypes
00078 ***********************************************************************************/
00079 
00080 void SCUX_InterruptInit(const int_t channel);
00081 void SCUX_InterruptUninit(const int_t channel);
00082 
00083 #endif /* SCUX_INT_H */