Jordan Brack / SmartWheelsPublic

Dependencies:   TSI USBDevice mbed-dev

Fork of SmartWheels by haofan Zheng

Hardwares/OV7725RegBuf.h

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

File content as of revision 12:256c303ad09d:

#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