@ -16,7 +16,15 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*/
# ifndef _hardwareDescription_H_
# define _hardwareDescription_H_
# ifdef __cplusplus
extern " C " {
# endif
# include "stm32f042x6.h"
# include <stdint.h>
# define PACKAGE_LQFP32 1
@ -154,11 +162,12 @@ typedef enum {
/*!
* Enum for awailable clok sources RM Page : 95
* */
typedef enum {
HSI, /*!< High speed internal */
HSE, /*!< High speed external */
LSI, /*!< Low speed internal */
LSE /*!< Low speed External */
CLK_ HSI, /*!< High speed internal */
CLK_ HSE, /*!< High speed external */
CLK_ LSI, /*!< Low speed internal */
CLK_ LSE /*!< Low speed External */
} clkSources_t ;
/*!
@ -193,3 +202,9 @@ static const uint8_t timerBus_No[MAX_TIMER_CHANNEL_COUNT] = {
2 ,
2
} ;
# ifdef __cplusplus
}
# endif
# endif // _hardwareDescription_H_