Statistics
| Branch: | Tag: | Revision:

amiro-os / include / amiro / FileSystemInputOutput / FSIOLightRing.hpp @ 10687985

History | View | Annotate | Download (838 Bytes)

1 58fe0e0b Thomas Schöpping
#ifndef AMIRO_FSIOLIGHTRING_H_
2
#define AMIRO_FSIOLIGHTRING_H_
3
4
/*! \brief memory layout for the eeproms
5
 *
6
 * This header defines the memory layout of the
7
 * at24c01 on the LightRing board.
8
 */
9
10
#include <amiro/eeprom/at24.hpp>
11
#include <amiro/FileSystemInputOutput/FileSystemInputOutputBase.hpp>
12
13
namespace amiro {
14
namespace fileSystemIo {
15
16
class FSIOLightRing : public FileSystemIoBase {
17
  private:
18
19
    /** \brief Layout for FSIOLightRing with BSMV 1 and bsmv 1*/
20
    struct LightRing_1_1 {
21
      uint8_t  reserved_0x00_0x14[20];
22
      uint8_t  generalPurpose[104];      // 15x_7Cx
23
      uint8_t  reserved_0x7D_0x80[4];
24
    };
25
26
  public:
27
    FSIOLightRing(AT24 &at24c01, uint8_t BSMV, uint8_t bsmv, uint8_t HMV, uint8_t hmv)
28
      : FileSystemIoBase(at24c01, BSMV, bsmv, HMV, hmv) {
29
30
    }
31
};
32
33
}
34
}
35
36
#endif /* AMIRO_FSIOLIGHTRING_H_ */