![](/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:
- 58:15aa7a785b9f
- Parent:
- 57:bdac7dd17af2
- Child:
- 59:485545afc4dc
--- a/xDotBridge/inc/BaseboardIO.h Tue Feb 28 09:26:27 2017 -0700 +++ b/xDotBridge/inc/BaseboardIO.h Wed Mar 01 17:28:32 2017 -0700 @@ -55,6 +55,13 @@ class BaseboardIO { public: + static const PinName OneWireMasterPinName = I2C_SDA; + static const PinName CCInPinName = WAKE; // Interrupt pin PA_0 + static const PinName TamperPinName = GPIO1; // Interrupt pin PA_5 + static const PinName PairBtnPinName = UART_CTS; // Interrupt pin PA_11 + static const PinName LedPinName = GPIO0; + static const PinName SwitchedIOCtrlPinName = I2C_SCL; + /** * @brief BaseboardIO constructor * @@ -357,6 +364,9 @@ */ CmdResult serialTx(bool enable); + CmdResult prepareSleep(); + CmdResult exitSleep(); + private: // Initialized during constructor NvmBBIOObj mNvmObj;