![](/media/cache/group/logo.png.50x50_q85.jpg)
A board support package for the LPC4088 Display Module.
Dependencies: DM_HttpServer DM_USBHost
Dependents: lpc4088_displaymodule_emwin lpc4088_displaymodule_demo_sphere sampleGUI sampleEmptyGUI ... more
Fork of DMSupport by
BiosEEPROM.h
00001 /* 00002 * Copyright 2014 Embedded Artists AB 00003 * 00004 * Licensed under the Apache License, Version 2.0 (the "License"); 00005 * you may not use this file except in compliance with the License. 00006 * You may obtain a copy of the License at 00007 * 00008 * http://www.apache.org/licenses/LICENSE-2.0 00009 * 00010 * Unless required by applicable law or agreed to in writing, software 00011 * distributed under the License is distributed on an "AS IS" BASIS, 00012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 * See the License for the specific language governing permissions and 00014 * limitations under the License. 00015 */ 00016 00017 #ifndef BIOS_EEPROM_H 00018 #define BIOS_EEPROM_H 00019 00020 #include "mbed.h" 00021 00022 /** 00023 * Bios EEPROM Driver 00024 */ 00025 class BiosEEPROM { 00026 public: 00027 00028 BiosEEPROM(); 00029 00030 /** Reads 00031 * 00032 * @param address the address to read from 00033 * @param data buffer to store read data in 00034 * @param size number of bytes to read 00035 * 00036 * @returns 00037 * True on success 00038 * False on failure 00039 */ 00040 bool read(uint32_t address, char* data, uint32_t size); 00041 00042 private: 00043 I2C _i2c; 00044 }; 00045 00046 #endif
Generated on Tue Jul 12 2022 14:18:31 by
![doxygen](doxygen.png)