Jordan Brack / SmartWheelsPublic

Dependencies:   TSI USBDevice mbed-dev

Fork of SmartWheels by haofan Zheng

Revision:
12:256c303ad09d
Child:
13:7dcb1642ef99
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Hardwares/OV7725RegBuf.h	Wed Feb 08 18:00:33 2017 +0000
@@ -0,0 +1,22 @@
+#pragma once
+#ifndef OV7725_REG_BUF_H
+#define OV7725_REG_BUF_H
+
+#include <mbed.h>
+#include "OV7725RegAddr.h"
+
+class OV7725RegBuf
+{
+public:
+    OV7725RegBuf();
+    ~OV7725RegBuf();
+    
+    uint8_t * GetData();
+    
+    bool IsAddressReserved(const uint8_t addr) const;
+    
+private:
+    uint8_t m_data[OV7725_LAST_ADDR + 1];
+};
+
+#endif //OV7725_REG_BUF_H
\ No newline at end of file