Adding Standard TX/RX Data interface support for ADF7021 (without CLKOUT signal)

This commit is contained in:
Andy CA6JAU 2017-02-08 22:36:33 -03:00
parent 7e36722b23
commit d1976f1049
6 changed files with 162 additions and 23 deletions

7
IO.h
View file

@ -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;