2022-05-15 22:42:00 +02:00
|
|
|
/******************************************************************************
|
|
|
|
* File Name : at1_defines.h
|
|
|
|
* Description : constants and defines for the project f0x.at1
|
|
|
|
******************************************************************************
|
|
|
|
* @author: Thomas Kuschel KW4NZ
|
|
|
|
******************************************************************************
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Define to prevent recursive inclusion -------------------------------------*/
|
|
|
|
#ifndef AT1_DEFINES_H
|
|
|
|
#define AT1_DEFINES_H
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Includes ------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/* Private includes ----------------------------------------------------------*/
|
|
|
|
|
|
|
|
/* Exported types ------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/* Exported constants --------------------------------------------------------*/
|
|
|
|
#ifndef STR_HELPER
|
|
|
|
#define STR_HELPER(x) #x
|
|
|
|
#define STR(x) STR_HELPER(x)
|
|
|
|
#endif
|
|
|
|
#define VERSION_MAJOR 0
|
2022-07-15 12:42:42 +02:00
|
|
|
#define VERSION_MINOR 2
|
2022-05-15 22:42:00 +02:00
|
|
|
#define PROGRAM_ID "f0x.at1 Version " STR(VERSION_MAJOR) "." STR(VERSION_MINOR)
|
|
|
|
#define VERSION_STRING STR(VERSION_MAJOR) "." STR(VERION_MINOR)
|
|
|
|
//#define DATE __DATE__
|
|
|
|
#define AUTHOR_STRING "Tom Kuschel KW4NZ"
|
|
|
|
// From SI5351 datasheet:
|
|
|
|
#define SI5351_I2C_ADDR (0x60 << 1)
|
|
|
|
|
|
|
|
/* Exported variables --------------------------------------------------------*/
|
|
|
|
|
|
|
|
/* Exported macros -----------------------------------------------------------*/
|
|
|
|
|
|
|
|
/* Exported functions --------------------------------------------------------*/
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern "C" */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* AT1_DEFINES_H */
|