Jordan Brack / SmartWheelsPublic

Dependencies:   TSI USBDevice mbed-dev

Fork of SmartWheels by haofan Zheng

Hardwares/OV7725RegBuf.h

Committer:
hazheng
Date:
2017-02-08
Revision:
13:7dcb1642ef99
Parent:
12:256c303ad09d
Child:
25:6f63053cee81

File content as of revision 13:7dcb1642ef99:

#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();
    
    static bool IsAddressReserved(const uint8_t addr);
    
private:
    uint8_t m_data[OV7725_LAST_ADDR + 1];
};

#endif //OV7725_REG_BUF_H