blob: 0142e530915428c29c7c69464189fc6836340d66 [file] [log] [blame]
/*******************************************************************************
* DISCLAIMER
* This software is supplied by Renesas Electronics Corporation and is only
* intended for use with Renesas products. No other uses are authorized. This
* software is owned by Renesas Electronics Corporation and is protected under
* all applicable laws, including copyright laws.
* THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING
* THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT
* LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
* AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED.
* TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS
* ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE
* FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR
* ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE
* BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
* Renesas reserves the right, without notice, to make changes to this software
* and to discontinue the availability of this software. By using this software,
* you agree to the additional terms and conditions found by accessing the
* following link:
* http://www.renesas.com/disclaimer
*
* Copyright (C) 2014 Renesas Electronics Corporation. All rights reserved.
*******************************************************************************/
/*******************************************************************************
* System Name : RZ/T1 Init program
* File Name : r_port.h
* Version : 0.1
* Device : R7S9100xx
* Abstract : API for PORT function
* Tool-Chain : IAR Embedded Workbench Ver.7.20
* OS : not use
* H/W Platform : Renesas Starter Kit for RZ/T1(Preliminary)
* Description : PORT setting API of RZ/T1
* Limitation : none
*******************************************************************************/
/*******************************************************************************
* History : DD.MM.YYYY Version Description
* : First Release
*******************************************************************************/
#ifndef _R_PORT_HEADER_
#define _R_PORT_HEADER_
/*******************************************************************************
Includes <System Includes> , "Project Includes"
*******************************************************************************/
/*******************************************************************************
Macro definitions
*******************************************************************************/
#define PORT_DIRECTION_HIZ (0)
#define PORT_DIRECTION_INPUT (2)
#define PORT_DIRECTION_OUTPUT (3)
#define PORT_OUTPUT_LOW (0)
#define PORT_OUTPUT_HIGH (1)
#define PORT_MODE_GENERAL (0)
#define PORT_MODE_PERIPHERAL (1)
#define PORT_PULL_UPDOWN_DISABLE (0)
#define PORT_PULL_DOWN (1)
#define PORT_PULL_UP (2)
#define PORT_P10_NORMAL_DRIVE (0)
#define PORT_P10_HIGH_DRIVE (1)
/*******************************************************************************
Exported global variables and functions (to be accessed by other files)
*******************************************************************************/
#endif
/* End of File */