mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-04-20 22:05:08 +00:00
Using CMSIS FIR interpolator for all modulators
This commit is contained in:
parent
9bcaba0419
commit
a49871cd8b
10 changed files with 148 additions and 145 deletions
14
DStarTX.h
14
DStarTX.h
|
|
@ -38,13 +38,13 @@ public:
|
|||
uint8_t getSpace() const;
|
||||
|
||||
private:
|
||||
CSerialRB m_buffer;
|
||||
arm_fir_instance_q15 m_modFilter;
|
||||
q15_t m_modState[60U]; // NoTaps + BlockSize - 1, 12 + 40 - 1 plus some spare
|
||||
uint8_t m_poBuffer[600U];
|
||||
uint16_t m_poLen;
|
||||
uint16_t m_poPtr;
|
||||
uint16_t m_txDelay; // In bytes
|
||||
CSerialRB m_buffer;
|
||||
arm_fir_interpolate_instance_q15 m_modFilter;
|
||||
q15_t m_modState[20U]; // blockSize + phaseLength - 1, 8 + 9 - 1 plus some spare
|
||||
uint8_t m_poBuffer[600U];
|
||||
uint16_t m_poLen;
|
||||
uint16_t m_poPtr;
|
||||
uint16_t m_txDelay; // In bytes
|
||||
|
||||
void txHeader(const uint8_t* in, uint8_t* out) const;
|
||||
void writeByte(uint8_t c);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue