transceiver.h 700 B

123456789101112131415161718192021222324252627282930
  1. #ifndef __TRANSCEIVER__
  2. #define __TRANSCEIVER__
  3. /****************************************************************************************************
  4. * The following I/O-Pins are used in the transceiver app:
  5. *
  6. * 19 Output ENABLE
  7. * 18 Output TX_ENABLE
  8. * 17 Output TX_DATA
  9. * 16 Input RX_DATA
  10. ****************************************************************************************************/
  11. #define GPIO_ENABLE 19
  12. #define GPIO_TX_ENABLE 18
  13. #define GPIO_TX_DATA 17
  14. #define GPIO_RX_DATA 16
  15. extern bool disableRx;
  16. void initTransceiver();
  17. void trcvSwitch2transmit();
  18. void trcvSwitch2receive();
  19. void trcvSendHighLowPulse(uint32_t high, uint32_t low);
  20. #endif