#ifndef BIWAK_QSPI_STM32_H_
#define BIWAK_QSPI_STM32_H_
//----------------------------------------------------------------------------
///
/// \brief  QSPI-interface
///
///         See implementation files for further information.
//
/// \date   20220707
/// \author Maximilian Seesslen <mes@seesslen.net>
///
//----------------------------------------------------------------------------


//---Includes-----------------------------------------------------------------


//---Own------------------------------

#include <biwak/qspi.hpp>


//---Declaration--------------------------------------------------------------


struct SQSpiConfig{
   //SPI_HandleTypeDef handler;
   QUADSPI_TypeDef *instance;
   IRQn_Type irqn;
   //EAltFunc _eAltFunc;
   int altFunc;
   EGpioPeripheral   eGpioPeripheralClk;
   EGpioPin          eGpioPinClk;
   EGpioPeripheral   eGpioPeripheralCs;
   EGpioPin          eGpioPinCs;
   EGpioPeripheral   eGpioPeripheralIO0;
   EGpioPin          eGpioPinIO0;
   EGpioPeripheral   eGpioPeripheralIO1;
   EGpioPin          eGpioPinIO1;
   EGpioPeripheral   eGpioPeripheralIO2;
   EGpioPin          eGpioPinIO2;
   EGpioPeripheral   eGpioPeripheralIO3;
   EGpioPin          eGpioPinIO3;
};


//---fin----------------------------------------------------------------------
#endif // ? ! BIWAK_QSPI_STM32_H_
