PsiSwarm Library
0.8
eprom.h
1
/* University of York Robotics Laboratory PsiSwarm Library: Eprom Functions Header File
2
*
3
* Copyright 2016 University of York
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
7
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS
8
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
* See the License for the specific language governing permissions and limitations under the License.
10
*
11
* File: eprom.h
12
*
13
* (C) Dept. Electronics & Computer Science, University of York
14
* James Hilder, Alan Millard, Alexander Horsfield, Homero Elizondo, Jon Timmis
15
*
16
* PsiSwarm Library Version: 0.8
17
*
18
* October 2016
19
*
20
*/
21
22
23
#ifndef EPROM_H
24
#define EPROM_H
25
41
class
Eprom
42
{
43
44
public
:
45
51
void
write_eeprom_byte
(
int
address,
char
data );
52
58
char
read_eeprom_byte
(
int
address );
59
64
char
read_next_eeprom_byte
(
void
);
65
70
char
read_firmware
(
void
);
71
72
};
73
74
#endif
Eprom::write_eeprom_byte
void write_eeprom_byte(int address, char data)
Definition:
eprom.cpp:42
Eprom::read_firmware
char read_firmware(void)
Definition:
eprom.cpp:88
Eprom::read_eeprom_byte
char read_eeprom_byte(int address)
Definition:
eprom.cpp:62
Eprom::read_next_eeprom_byte
char read_next_eeprom_byte(void)
Definition:
eprom.cpp:77
Eprom
Definition:
eprom.h:41
D:
GoogleDrive
PsiSwarm
Code
MBED Code
PsiSwarmV8_CPP
eprom.h
Generated by
1.8.12