fix interfaccia
This commit is contained in:
@@ -4,12 +4,15 @@
|
||||
#include <stdint.h>
|
||||
#include <arm_math.h>
|
||||
|
||||
#define CW_TONE_INCREMENT 0.15
|
||||
#define CW_TONE_VOLUME 2
|
||||
|
||||
#define TX_TYPE_NONE 0
|
||||
#define TX_TYPE_DAC 1
|
||||
#define TX_TYPE_PWM 2
|
||||
#define TX_TYPE_SI5351 3
|
||||
// #define TX_TYPE TX_TYPE_SI5351
|
||||
#define TX_TYPE TX_TYPE_NONE
|
||||
#define TX_TYPE TX_TYPE_SI5351
|
||||
// #define TX_TYPE TX_TYPE_NONE
|
||||
|
||||
#define TX_AUDIO_FILTER_INTERPOLATION_FACTOR (16)
|
||||
#define TX_AUDIO_FILTER_BLOCK_SIZE (1024)
|
||||
@@ -43,4 +46,7 @@ void ssb_modulator(q31_t *in_I, q31_t *in_Q, uint16_t size, q31_t *out, q31_t nc
|
||||
void dc_modulator(q31_t *in, uint16_t size, q31_t *out);
|
||||
void am_modulator(q31_t *in_I, q31_t *in_Q, uint16_t size, q31_t *out);
|
||||
|
||||
uint16_t u12_sine(void);
|
||||
void generate_tone(q31_t *buffer, uint16_t buffer_size);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user