/*******************************************************************************
* File Name: SENSOR.h  
* Version 2.20
*
* Description:
*  This file contains the Alias definitions for Per-Pin APIs in cypins.h. 
*  Information on using these APIs can be found in the System Reference Guide.
*
* Note:
*
********************************************************************************
* Copyright 2008-2015, Cypress Semiconductor Corporation.  All rights reserved.
* You may use this file only in accordance with the license, terms, conditions, 
* disclaimers, and limitations in the end user license agreement accompanying 
* the software package with which this file was provided.
*******************************************************************************/

#if !defined(CY_PINS_SENSOR_ALIASES_H) /* Pins SENSOR_ALIASES_H */
#define CY_PINS_SENSOR_ALIASES_H

#include "cytypes.h"
#include "cyfitter.h"
#include "cypins.h"


/***************************************
*              Constants        
***************************************/
#define SENSOR_0			(SENSOR__0__PC)
#define SENSOR_0_PS		(SENSOR__0__PS)
#define SENSOR_0_PC		(SENSOR__0__PC)
#define SENSOR_0_DR		(SENSOR__0__DR)
#define SENSOR_0_SHIFT	(SENSOR__0__SHIFT)
#define SENSOR_0_INTR	((uint16)((uint16)0x0003u << (SENSOR__0__SHIFT*2u)))

#define SENSOR_1			(SENSOR__1__PC)
#define SENSOR_1_PS		(SENSOR__1__PS)
#define SENSOR_1_PC		(SENSOR__1__PC)
#define SENSOR_1_DR		(SENSOR__1__DR)
#define SENSOR_1_SHIFT	(SENSOR__1__SHIFT)
#define SENSOR_1_INTR	((uint16)((uint16)0x0003u << (SENSOR__1__SHIFT*2u)))

#define SENSOR_2			(SENSOR__2__PC)
#define SENSOR_2_PS		(SENSOR__2__PS)
#define SENSOR_2_PC		(SENSOR__2__PC)
#define SENSOR_2_DR		(SENSOR__2__DR)
#define SENSOR_2_SHIFT	(SENSOR__2__SHIFT)
#define SENSOR_2_INTR	((uint16)((uint16)0x0003u << (SENSOR__2__SHIFT*2u)))

#define SENSOR_3			(SENSOR__3__PC)
#define SENSOR_3_PS		(SENSOR__3__PS)
#define SENSOR_3_PC		(SENSOR__3__PC)
#define SENSOR_3_DR		(SENSOR__3__DR)
#define SENSOR_3_SHIFT	(SENSOR__3__SHIFT)
#define SENSOR_3_INTR	((uint16)((uint16)0x0003u << (SENSOR__3__SHIFT*2u)))

#define SENSOR_4			(SENSOR__4__PC)
#define SENSOR_4_PS		(SENSOR__4__PS)
#define SENSOR_4_PC		(SENSOR__4__PC)
#define SENSOR_4_DR		(SENSOR__4__DR)
#define SENSOR_4_SHIFT	(SENSOR__4__SHIFT)
#define SENSOR_4_INTR	((uint16)((uint16)0x0003u << (SENSOR__4__SHIFT*2u)))

#define SENSOR_5			(SENSOR__5__PC)
#define SENSOR_5_PS		(SENSOR__5__PS)
#define SENSOR_5_PC		(SENSOR__5__PC)
#define SENSOR_5_DR		(SENSOR__5__DR)
#define SENSOR_5_SHIFT	(SENSOR__5__SHIFT)
#define SENSOR_5_INTR	((uint16)((uint16)0x0003u << (SENSOR__5__SHIFT*2u)))

#define SENSOR_6			(SENSOR__6__PC)
#define SENSOR_6_PS		(SENSOR__6__PS)
#define SENSOR_6_PC		(SENSOR__6__PC)
#define SENSOR_6_DR		(SENSOR__6__DR)
#define SENSOR_6_SHIFT	(SENSOR__6__SHIFT)
#define SENSOR_6_INTR	((uint16)((uint16)0x0003u << (SENSOR__6__SHIFT*2u)))

#define SENSOR_7			(SENSOR__7__PC)
#define SENSOR_7_PS		(SENSOR__7__PS)
#define SENSOR_7_PC		(SENSOR__7__PC)
#define SENSOR_7_DR		(SENSOR__7__DR)
#define SENSOR_7_SHIFT	(SENSOR__7__SHIFT)
#define SENSOR_7_INTR	((uint16)((uint16)0x0003u << (SENSOR__7__SHIFT*2u)))

#define SENSOR_8			(SENSOR__8__PC)
#define SENSOR_8_PS		(SENSOR__8__PS)
#define SENSOR_8_PC		(SENSOR__8__PC)
#define SENSOR_8_DR		(SENSOR__8__DR)
#define SENSOR_8_SHIFT	(SENSOR__8__SHIFT)
#define SENSOR_8_INTR	((uint16)((uint16)0x0003u << (SENSOR__8__SHIFT*2u)))

#define SENSOR_INTR_ALL	 ((uint16)(SENSOR_0_INTR| SENSOR_1_INTR| SENSOR_2_INTR| SENSOR_3_INTR| SENSOR_4_INTR| SENSOR_5_INTR| SENSOR_6_INTR| SENSOR_7_INTR| SENSOR_8_INTR))


#endif /* End Pins SENSOR_ALIASES_H */


/* [] END OF FILE */
