2020-10-25 23:29:08 +08:00
|
|
|
|
#ifndef __OSC_H
|
|
|
|
|
#define __OSC_H
|
|
|
|
|
|
2020-10-26 21:55:53 +08:00
|
|
|
|
#include "rtthread.h"
|
2020-10-25 23:29:08 +08:00
|
|
|
|
#include "stm32f10x_it.h"
|
|
|
|
|
|
2020-10-26 21:55:53 +08:00
|
|
|
|
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 */
|
|
|
|
|
|