/*******************************************************************************
* File Name: TC_ISR_1.h
* Version 1.70
*
*  Description:
*   Provides the function definitions for the Interrupt Controller.
*
*
********************************************************************************
* 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_ISR_TC_ISR_1_H)
#define CY_ISR_TC_ISR_1_H


#include <cytypes.h>
#include <cyfitter.h>

/* Interrupt Controller API. */
void TC_ISR_1_Start(void);
void TC_ISR_1_StartEx(cyisraddress address);
void TC_ISR_1_Stop(void);

CY_ISR_PROTO(TC_ISR_1_Interrupt);

void TC_ISR_1_SetVector(cyisraddress address);
cyisraddress TC_ISR_1_GetVector(void);

void TC_ISR_1_SetPriority(uint8 priority);
uint8 TC_ISR_1_GetPriority(void);

void TC_ISR_1_Enable(void);
uint8 TC_ISR_1_GetState(void);
void TC_ISR_1_Disable(void);

void TC_ISR_1_SetPending(void);
void TC_ISR_1_ClearPending(void);


/* Interrupt Controller Constants */

/* Address of the INTC.VECT[x] register that contains the Address of the TC_ISR_1 ISR. */
#define TC_ISR_1_INTC_VECTOR            ((reg32 *) TC_ISR_1__INTC_VECT)

/* Address of the TC_ISR_1 ISR priority. */
#define TC_ISR_1_INTC_PRIOR             ((reg32 *) TC_ISR_1__INTC_PRIOR_REG)

/* Priority of the TC_ISR_1 interrupt. */
#define TC_ISR_1_INTC_PRIOR_NUMBER      TC_ISR_1__INTC_PRIOR_NUM

/* Address of the INTC.SET_EN[x] byte to bit enable TC_ISR_1 interrupt. */
#define TC_ISR_1_INTC_SET_EN            ((reg32 *) TC_ISR_1__INTC_SET_EN_REG)

/* Address of the INTC.CLR_EN[x] register to bit clear the TC_ISR_1 interrupt. */
#define TC_ISR_1_INTC_CLR_EN            ((reg32 *) TC_ISR_1__INTC_CLR_EN_REG)

/* Address of the INTC.SET_PD[x] register to set the TC_ISR_1 interrupt state to pending. */
#define TC_ISR_1_INTC_SET_PD            ((reg32 *) TC_ISR_1__INTC_SET_PD_REG)

/* Address of the INTC.CLR_PD[x] register to clear the TC_ISR_1 interrupt. */
#define TC_ISR_1_INTC_CLR_PD            ((reg32 *) TC_ISR_1__INTC_CLR_PD_REG)



#endif /* CY_ISR_TC_ISR_1_H */


/* [] END OF FILE */
