mirror of
https://github.com/fhgwright/SCSI2SD.git
synced 2024-06-02 06:41:36 +00:00
71 lines
2.8 KiB
C
Executable File
71 lines
2.8 KiB
C
Executable File
/*******************************************************************************
|
|
* File Name: Debug_Timer_Interrupt.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_Debug_Timer_Interrupt_H)
|
|
#define CY_ISR_Debug_Timer_Interrupt_H
|
|
|
|
|
|
#include <cytypes.h>
|
|
#include <cyfitter.h>
|
|
|
|
/* Interrupt Controller API. */
|
|
void Debug_Timer_Interrupt_Start(void);
|
|
void Debug_Timer_Interrupt_StartEx(cyisraddress address);
|
|
void Debug_Timer_Interrupt_Stop(void);
|
|
|
|
CY_ISR_PROTO(Debug_Timer_Interrupt_Interrupt);
|
|
|
|
void Debug_Timer_Interrupt_SetVector(cyisraddress address);
|
|
cyisraddress Debug_Timer_Interrupt_GetVector(void);
|
|
|
|
void Debug_Timer_Interrupt_SetPriority(uint8 priority);
|
|
uint8 Debug_Timer_Interrupt_GetPriority(void);
|
|
|
|
void Debug_Timer_Interrupt_Enable(void);
|
|
uint8 Debug_Timer_Interrupt_GetState(void);
|
|
void Debug_Timer_Interrupt_Disable(void);
|
|
|
|
void Debug_Timer_Interrupt_SetPending(void);
|
|
void Debug_Timer_Interrupt_ClearPending(void);
|
|
|
|
|
|
/* Interrupt Controller Constants */
|
|
|
|
/* Address of the INTC.VECT[x] register that contains the Address of the Debug_Timer_Interrupt ISR. */
|
|
#define Debug_Timer_Interrupt_INTC_VECTOR ((reg32 *) Debug_Timer_Interrupt__INTC_VECT)
|
|
|
|
/* Address of the Debug_Timer_Interrupt ISR priority. */
|
|
#define Debug_Timer_Interrupt_INTC_PRIOR ((reg8 *) Debug_Timer_Interrupt__INTC_PRIOR_REG)
|
|
|
|
/* Priority of the Debug_Timer_Interrupt interrupt. */
|
|
#define Debug_Timer_Interrupt_INTC_PRIOR_NUMBER Debug_Timer_Interrupt__INTC_PRIOR_NUM
|
|
|
|
/* Address of the INTC.SET_EN[x] byte to bit enable Debug_Timer_Interrupt interrupt. */
|
|
#define Debug_Timer_Interrupt_INTC_SET_EN ((reg32 *) Debug_Timer_Interrupt__INTC_SET_EN_REG)
|
|
|
|
/* Address of the INTC.CLR_EN[x] register to bit clear the Debug_Timer_Interrupt interrupt. */
|
|
#define Debug_Timer_Interrupt_INTC_CLR_EN ((reg32 *) Debug_Timer_Interrupt__INTC_CLR_EN_REG)
|
|
|
|
/* Address of the INTC.SET_PD[x] register to set the Debug_Timer_Interrupt interrupt state to pending. */
|
|
#define Debug_Timer_Interrupt_INTC_SET_PD ((reg32 *) Debug_Timer_Interrupt__INTC_SET_PD_REG)
|
|
|
|
/* Address of the INTC.CLR_PD[x] register to clear the Debug_Timer_Interrupt interrupt. */
|
|
#define Debug_Timer_Interrupt_INTC_CLR_PD ((reg32 *) Debug_Timer_Interrupt__INTC_CLR_PD_REG)
|
|
|
|
|
|
#endif /* CY_ISR_Debug_Timer_Interrupt_H */
|
|
|
|
|
|
/* [] END OF FILE */
|