oscilloscope/User/OSC/OSC.h

26 lines
588 B
C
Raw Normal View History

2020-10-25 23:29:08 +08:00
#ifndef __OSC_H
#define __OSC_H
#include "rtthread.h"
2020-10-25 23:29:08 +08:00
#include "stm32f10x_it.h"
extern rt_mq_t setting_data_queue;
2020-10-25 23:29:08 +08:00
extern uint16_t TimePerDiv_Group[];
extern uint8_t TimePerDiv_Nbr;
extern uint8_t TimePerDiv_Oder;
extern volatile uint16_t TimePerDiv;
extern uint8_t TriggerMode;//<2F><><EFBFBD><EFBFBD>ģʽ
extern uint32_t TriggerValue;//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƽ
extern __IO uint16_t ADC_ConvertedValue[];
void PlotWave(void* parameter);
void Init(void);
void Run(void);
#endif /* __OSC_H */