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
28
DMRTX.h
28
DMRTX.h
|
|
@ -55,20 +55,20 @@ public:
|
|||
void setColorCode(uint8_t colorCode);
|
||||
|
||||
private:
|
||||
CSerialRB m_fifo[2U];
|
||||
arm_fir_instance_q15 m_modFilter;
|
||||
q15_t m_modState[70U]; // NoTaps + BlockSize - 1, 42 + 20 - 1 plus some spare
|
||||
DMRTXSTATE m_state;
|
||||
uint8_t m_idle[DMR_FRAME_LENGTH_BYTES];
|
||||
uint8_t m_cachPtr;
|
||||
uint8_t m_shortLC[12U];
|
||||
uint8_t m_newShortLC[12U];
|
||||
uint8_t m_markBuffer[40U];
|
||||
uint8_t m_poBuffer[40U];
|
||||
uint16_t m_poLen;
|
||||
uint16_t m_poPtr;
|
||||
uint32_t m_frameCount;
|
||||
bool m_abort[2U];
|
||||
CSerialRB m_fifo[2U];
|
||||
arm_fir_interpolate_instance_q15 m_modFilter;
|
||||
q15_t m_modState[16U]; // blockSize + phaseLength - 1, 4 + 9 - 1 plus some spare
|
||||
DMRTXSTATE m_state;
|
||||
uint8_t m_idle[DMR_FRAME_LENGTH_BYTES];
|
||||
uint8_t m_cachPtr;
|
||||
uint8_t m_shortLC[12U];
|
||||
uint8_t m_newShortLC[12U];
|
||||
uint8_t m_markBuffer[40U];
|
||||
uint8_t m_poBuffer[40U];
|
||||
uint16_t m_poLen;
|
||||
uint16_t m_poPtr;
|
||||
uint32_t m_frameCount;
|
||||
bool m_abort[2U];
|
||||
|
||||
void createData(uint8_t slotIndex);
|
||||
void createCACH(uint8_t txSlotIndex, uint8_t rxSlotIndex);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue