![](/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:
- 49:18f1354f9e51
- Parent:
- 48:bab9f747d9ed
- Child:
- 50:e89647e77fd5
--- a/xDotBridge/inc/BaseboardIO.h Mon Feb 13 17:10:59 2017 -0700 +++ b/xDotBridge/inc/BaseboardIO.h Fri Feb 17 08:06:37 2017 -0700 @@ -167,7 +167,7 @@ * * @return bool */ - bool isCCNC() {return isCCNO();} + bool isCCNC() {return !isCCNO();} /** * @brief Returns the current state of the Rx/Tx switch @@ -322,6 +322,14 @@ DS2408 *mPortEx0; DS2408 *mPortEx1; + void enableSwitchedIO () { + mSwitchedIOCtrl = 0; // assert since PMOS + } + void disableSwitchedIO () { + mSwitchedIOCtrl = 1; // deassertted since PMOS +// mSwitchedIOCtrl = 0; // FIXME + } + /** * @brief Reads baseboard information from non-volatile memory (NVM) *