mirror of
https://github.com/DualTachyon/uv-k5-firmware.git
synced 2024-12-09 09:30:36 +08:00
Added 2 new BK4819 features.
This commit is contained in:
parent
55512be8f3
commit
53432231e7
@ -804,3 +804,13 @@ void BK4819_StopScan(void)
|
||||
BK4819_Disable();
|
||||
}
|
||||
|
||||
uint8_t BK4819_GetDTMF_5TONE_Code(void)
|
||||
{
|
||||
return (BK4819_GetRegister(BK4819_REG_0B) >> 8) & 0x0F;
|
||||
}
|
||||
|
||||
uint8_t BK4819_CheckCDCSSCodeReceived(void)
|
||||
{
|
||||
return (BK4819_GetRegister(BK4819_REG_0C) >> 14) & 3;
|
||||
}
|
||||
|
||||
|
@ -120,5 +120,9 @@ void BK4819_Disable(void);
|
||||
|
||||
void BK4819_StopScan(void);
|
||||
|
||||
uint8_t BK4819_GetDTMF_5TONE_Code(void);
|
||||
|
||||
uint8_t BK4819_CheckCDCSSCodeReceived(void);
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user