64 lines
2.1 KiB
C
64 lines
2.1 KiB
C
/*******************************************************************************
|
|
* File Name: SCSI_Parity_Error.h
|
|
* Version 1.80
|
|
*
|
|
* Description:
|
|
* This file containts Status Register function prototypes and register defines
|
|
*
|
|
* Note:
|
|
*
|
|
********************************************************************************
|
|
* Copyright 2008-2012, 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_STATUS_REG_SCSI_Parity_Error_H) /* CY_STATUS_REG_SCSI_Parity_Error_H */
|
|
#define CY_STATUS_REG_SCSI_Parity_Error_H
|
|
|
|
#include "cytypes.h"
|
|
#include "CyLib.h"
|
|
|
|
|
|
/***************************************
|
|
* Function Prototypes
|
|
***************************************/
|
|
|
|
uint8 SCSI_Parity_Error_Read(void) ;
|
|
void SCSI_Parity_Error_InterruptEnable(void) ;
|
|
void SCSI_Parity_Error_InterruptDisable(void) ;
|
|
void SCSI_Parity_Error_WriteMask(uint8 mask) ;
|
|
uint8 SCSI_Parity_Error_ReadMask(void) ;
|
|
|
|
|
|
/***************************************
|
|
* API Constants
|
|
***************************************/
|
|
|
|
#define SCSI_Parity_Error_STATUS_INTR_ENBL 0x10u
|
|
|
|
|
|
/***************************************
|
|
* Parameter Constants
|
|
***************************************/
|
|
|
|
/* Status Register Inputs */
|
|
#define SCSI_Parity_Error_INPUTS 1
|
|
|
|
|
|
/***************************************
|
|
* Registers
|
|
***************************************/
|
|
|
|
/* Status Register */
|
|
#define SCSI_Parity_Error_Status (* (reg8 *) SCSI_Parity_Error_sts_sts_reg__STATUS_REG )
|
|
#define SCSI_Parity_Error_Status_PTR ( (reg8 *) SCSI_Parity_Error_sts_sts_reg__STATUS_REG )
|
|
#define SCSI_Parity_Error_Status_Mask (* (reg8 *) SCSI_Parity_Error_sts_sts_reg__MASK_REG )
|
|
#define SCSI_Parity_Error_Status_Aux_Ctrl (* (reg8 *) SCSI_Parity_Error_sts_sts_reg__STATUS_AUX_CTL_REG )
|
|
|
|
#endif /* End CY_STATUS_REG_SCSI_Parity_Error_H */
|
|
|
|
|
|
/* [] END OF FILE */
|