24 lines
1.3 KiB
C
24 lines
1.3 KiB
C
#include "debug_tools.h"
|
||
|
||
|
||
// Инклюды для доступа к переменным
|
||
#include "bender.h"
|
||
|
||
// Экстерны для доступа к переменным
|
||
extern int ADC0finishAddr;
|
||
|
||
|
||
// Определение массива с указателями на переменные для отладки
|
||
int DebugVar_Qnt = 5;
|
||
#pragma DATA_SECTION(dbg_vars,".dbgvar_info")
|
||
// pointer_type iq_type return_iq_type short_name
|
||
DebugVar_t dbg_vars[] = {\
|
||
{(uint8_t *)&freqTerm, pt_float, t_iq_none, t_iq10, "freqT" }, \
|
||
{(uint8_t *)&ADC_sf[0][0], pt_int16, t_iq_none, t_iq_none, "ADC_sf00" }, \
|
||
{(uint8_t *)&ADC_sf[0][1], pt_int16, t_iq_none, t_iq_none, "ADC_sf01" }, \
|
||
{(uint8_t *)&ADC_sf[0][2], pt_int16, t_iq_none, t_iq_none, "ADC_sf02" }, \
|
||
{(uint8_t *)&ADC_sf[0][3], pt_int16, t_iq_none, t_iq_none, "ADC_sf03" }, \
|
||
{(uint8_t *)&Bender[0].KOhms, pt_uint16, t_iq, t_iq10, "Bend0.KOhm" }, \
|
||
{(uint8_t *)&Bender[0].Times, pt_uint16, t_iq_none, t_iq_none, "Bend0.Time" }, \
|
||
};
|