mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-04-06 23:15:14 +00:00
Detect DAC overflows.
This commit is contained in:
parent
961d1000f5
commit
0d07dd78eb
3 changed files with 29 additions and 19 deletions
6
IO.h
6
IO.h
|
|
@ -43,7 +43,7 @@ public:
|
|||
|
||||
void setParameters(bool rxInvert, bool txInvert, bool pttInvert, uint8_t rxLevel, uint8_t txLevel);
|
||||
|
||||
bool hasADCOverflow();
|
||||
void getOverflow(bool& adcOverflow, bool& dacOverflow);
|
||||
|
||||
bool hasTXOverflow();
|
||||
bool hasRXOverflow();
|
||||
|
|
@ -85,8 +85,8 @@ private:
|
|||
bool m_dcd;
|
||||
bool m_detect;
|
||||
|
||||
uint16_t m_overflow;
|
||||
uint16_t m_overcount;
|
||||
uint16_t m_adcOverflow;
|
||||
uint16_t m_dacOverflow;
|
||||
|
||||
uint32_t m_count;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue