/***************************************************************************//**
* \file CDC_msc.h
* \version 3.20
*
* \brief
*  This file provides function prototypes and constants for the USBFS component 
*  MSC class support.
*
* Related Document:
*  Device Class Definition for Mass Storage (MSC) Version TDB
*
********************************************************************************
* \copyright
* Copyright 2008-2016, 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_USBFS_CDC_msc_H)
#define CY_USBFS_CDC_msc_H

#include "CDC.h"

/***************************************
*    Initial Parameter Constants
***************************************/

#define CDC_HANDLE_MSC_REQUESTS    (0u != (1u))
#define CDC_MSC_LUN_NUMBER         (1u - 1u)


/***************************************
*        Function Prototypes
***************************************/
/**
* \addtogroup group_msc
* @{
*/
#if (CDC_HANDLE_MSC_REQUESTS)
    void  CDC_MSC_SetLunCount(uint8 lunCount) ;
    uint8 CDC_MSC_GetLunCount(void)           ;
#endif /* (CDC_HANDLE_MSC_REQUESTS) */
/** @} msc */

/***************************************
*              Constants
***************************************/

/* MSC Class-Specific requests */
#define CDC_MSC_RESET          (0xFFu)
#define CDC_MSC_GET_MAX_LUN    (0xFEu)

/* MSC Class-Specific requests constant fields. */
#define CDC_MSC_RESET_WVALUE           (0u)
#define CDC_MSC_RESET_WLENGTH          (0u)

#define CDC_MSC_GET_MAX_LUN_WVALUE     (0u)
#define CDC_MSC_GET_MAX_LUN_WLENGTH    (1u)

#endif /*  CY_USBFS_CDC_msc_H */


/* [] END OF FILE */
