1
0
forked from me/IronOS

Mimimum Buildable

This commit is contained in:
Ben V. Brown
2020-08-18 19:14:15 +10:00
parent 2becaa5eab
commit 275708ee25
8 changed files with 590 additions and 128 deletions

View File

@@ -48,6 +48,10 @@ public:
static void I2C_RegisterWrite(uint8_t address, uint8_t reg, uint8_t data);
static uint8_t I2C_RegisterRead(uint8_t address, uint8_t reg);
//These are public locks that let code lock the bus for back-to-back operations
static bool lock2();
static void unlock2();
private:
static bool lock();
static void unlock();