![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Fork to see if I can get working
Dependencies: BufferedSerial OneWire WinbondSPIFlash libxDot-dev-mbed5-deprecated
Fork of xDotBridge_update_test20180823 by
Diff: xDotBridge/inc/BaseboardIO.h
- Revision:
- 50:e89647e77fd5
- Parent:
- 49:18f1354f9e51
- Child:
- 55:79ab0bbc5008
--- a/xDotBridge/inc/BaseboardIO.h Fri Feb 17 08:06:37 2017 -0700 +++ b/xDotBridge/inc/BaseboardIO.h Fri Feb 17 11:58:40 2017 -0700 @@ -220,6 +220,22 @@ bool isLoRaWANMode(); /** + * @brief Returns the current state of the serial switch + * + * @details This just simply uses the last sample of the IO to return a bool. + * If enabled then the serial chip will be listening for traffic at least in + * the case of a TX. + * + * On Entry: + * IO should be sampled recently + * + * On Exit: + * + * @return bool + */ + bool isSerialEnabled(); + + /** * @brief Returns value of a rotary switch (TODO give board location) * * On Entry: