mirror of
https://github.com/g4klx/MMDVM_HS.git
synced 2026-04-21 06:13:38 +00:00
Adding Standard TX/RX Data interface support for ADF7021 (without CLKOUT signal)
This commit is contained in:
parent
7e36722b23
commit
d1976f1049
6 changed files with 162 additions and 23 deletions
7
IO.h
7
IO.h
|
|
@ -46,6 +46,9 @@ public:
|
|||
void SDATA_pin(bool on);
|
||||
void SLE_pin(bool on);
|
||||
bool RXD_pin();
|
||||
#if defined(BIDIR_DATA_PIN)
|
||||
void RXD_pin_write(bool on);
|
||||
#endif
|
||||
void TXD_pin(bool on);
|
||||
void PTT_pin(bool on);
|
||||
void LED_pin(bool on);
|
||||
|
|
@ -57,6 +60,10 @@ public:
|
|||
void COS_pin(bool on);
|
||||
void interrupt(void);
|
||||
|
||||
#if defined(BIDIR_DATA_PIN)
|
||||
void Data_dir_out(bool dir);
|
||||
#endif
|
||||
|
||||
// IO API
|
||||
void write(uint8_t* data, uint16_t length);
|
||||
uint16_t getSpace() const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue