/**
 ******************************************************************************
 * @file    w25q64jw_Driver.h
 * @author  HESA Application Team
 * @version V1.1
 * @date    10-August-2016
 * @brief   W25Q64JW driver header file
 ******************************************************************************
 * @attention
 *
 * <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
 *
 * Redistribution and use in source and binary forms, with or without modification,
 * are permitted provided that the following conditions are met:
 *   1. Redistributions of source code must retain the above copyright notice,
 *      this list of conditions and the following disclaimer.
 *   2. Redistributions in binary form must reproduce the above copyright notice,
 *      this list of conditions and the following disclaimer in the documentation
 *      and/or other materials provided with the distribution.
 *   3. Neither the name of STMicroelectronics nor the names of its contributors
 *      may be used to endorse or promote products derived from this software
 *      without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 *
 ******************************************************************************
 */

#include "jfet_files/jfet_common.h"
//* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __W25Q64JW_DRIVER__H
#define __W25Q64JW_DRIVER__H
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif

///* Uncomment the line below to expanse the "assert_param" macro in the drivers code */
//#define USE_FULL_ASSERT_W25Q64JW
//
///* Exported macro ------------------------------------------------------------*/
//#ifdef  USE_FULL_ASSERT_W25Q64JW
//
///**
//* @brief  The assert_param macro is used for function's parameters check.
//* @param  expr: If expr is false, it calls assert_failed function which reports
//*         the name of the source file and the source line number of the call
//*         that failed. If expr is true, it returns no value.
//* @retval None
//*/
//#define W25Q64JW_assert_param(expr) ((expr) ? (void)0 : W25Q64JW_assert_failed((uint8_t *)__FILE__, __LINE__))
///* Exported functions ------------------------------------------------------- */
//void W25Q64JW_assert_failed(uint8_t* file, uint32_t line);
//#else
//#define W25Q64JW_assert_param(expr) ((void)0)
//#endif /* USE_FULL_ASSERT_W25Q64JW */
//
//
///** @addtogroup BSP BSP
// * @{
// */
//
///** @addtogroup PERIPHERALS PERIPHERALS
// * @{
// */
//
///*! 
// * \brief W25Q64JW64 64 Mb Flash Memory (I2C)
// *
// * \sa
// *  <a href="https://www.adestotech.com/wp-content/uploads/DS-45DB641E-027.pdf">W25Q64JW Datasheet</a>
// *
// */
//
///** @addtogroup W25Q64JW W25Q64JW 64Mb Memory (SPI)
// * @{
// */
//
///** @addtogroup W25Q64JW_public_constants Public Constants
// * @{
// */

#define W25Q64JW_WHO_AM_I_REG0 0xEF
#define W25Q64JW_WHO_AM_I_REG1 0x40
#define W25Q64JW_WHO_AM_I_REG2 0x17

///**
//* @}
//*/
//
///**
//* @}
//*/
//
//
///** @addtogroup W25Q64JW W25Q64JW 64Mb Memory (SPI)
// * @{
// */
//
///** @addtogroup W25Q64JW_public_types Public Types
// * @{
// */
//
///**
//* @}
//*/
//
///**
//* @}
//*/
//
///** @addtogroup W25Q64JW W25Q64JW 64Mb Memory (SPI)
// * @{
// */
//
///** @addtogroup W25Q64JW_public_variables Public Variables
// * @{
// */
//
///**
//* @}
//*/
//
///**
//* @}
//*/
//
///** @addtogroup W25Q64JW W25Q64JW 64Mb Memory (SPI)
// * @{
// */
//
///** @addtogroup W25Q64JW_exported_functions Public Functions
// * @{
// */
//DrvStatusTypeDef BSP_W25Q64JW_init(void);
//
///**
//* @}
//*/
//
///**
//* @}
//*/
//
//
///**
//* @}
//*/
//
//
///**
//* @}
//*/


#ifdef __cplusplus
}
#endif

#endif /* __W25Q64JW_DRIVER__H */

/******************* (C) COPYRIGHT 2013 STMicroelectronics *****END OF FILE****/
