#ifndef _LEPTO_LLTOOLS_H_
#define _LEPTO_LLTOOLS_H_
//-----------------------------------------------------------------------------
///
/// \brief  Low level tool functions
///
///         See implementation for further information.
///
/// \date   20121107
/// \author Maximilian Seesslen <development.seesslen.net>
///
//-----------------------------------------------------------------------------


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


#include <stdbool.h>

//#include <stm/stm32_gpio.h>


//---Defines-------------------------------------------------------------------


//---Declarations--------------------------------------------------------------


extern "C"
{
   /*
   struct USART_TypeDef_s;
   typedef struct USART_TypeDef_s USART_TypeDef;
   struct ADC_TypeDef;
   typedef struct ADC_TypeDef_s ADC_TypeDef;
   typedef struct GPIO_TypeDef_s GPIO_TypeDef;
   */

    //void setRcc(EPeripheral ePeripheral, uint32_t rccPeriph, bool doEnable=true );
    //void setNVInterrupt(unsigned int irqChannel, bool enabled=true
    //                    , int preemptionPriority=NVI_DEFAULT_PRIORITY);
    /*
    void setExti( int line, bool enabled=true
                , EXTITrigger_TypeDef  trigger=EXTI_Trigger_Rising_Falling );
    */

   /*
   void setUsart(USART_TypeDef* USARTx);
   void setAdc(ADC_TypeDef* ADCx);

   int peripherialToPortSource(GPIO_TypeDef* peripheral);
   */
}


//---fin-----------------------------------------------------------------------
#endif // ? ! _LEPTO_LLTOOLS_H
