takashi kadono / Mbed OS Nucleo_446

Dependencies:   ssd1331

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ProfilingBlockDevice_stub.cpp Source File

ProfilingBlockDevice_stub.cpp

00001 /*
00002  * Copyright (c) 2017, Arm Limited and affiliates.
00003  * SPDX-License-Identifier: Apache-2.0
00004  *
00005  * Licensed under the Apache License, Version 2.0 (the "License");
00006  * you may not use this file except in compliance with the License.
00007  * You may obtain a copy of the License at
00008  *
00009  *     http://www.apache.org/licenses/LICENSE-2.0
00010  *
00011  * Unless required by applicable law or agreed to in writing, software
00012  * distributed under the License is distributed on an "AS IS" BASIS,
00013  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  * See the License for the specific language governing permissions and
00015  * limitations under the License.
00016  */
00017 
00018 #include "ProfilingBlockDevice.h"
00019 
00020 
00021 ProfilingBlockDevice::ProfilingBlockDevice(BlockDevice *bd)
00022 {
00023 }
00024 
00025 int ProfilingBlockDevice::init()
00026 {
00027     return 0;
00028 }
00029 
00030 int ProfilingBlockDevice::deinit()
00031 {
00032     return 0;
00033 }
00034 
00035 int ProfilingBlockDevice::sync()
00036 {
00037     return 0;
00038 }
00039 
00040 int ProfilingBlockDevice::read(void *b, bd_addr_t addr, bd_size_t size)
00041 {
00042     return 0;
00043 }
00044 
00045 int ProfilingBlockDevice::program(const void *b, bd_addr_t addr, bd_size_t size)
00046 {
00047     return 0;
00048 }
00049 
00050 int ProfilingBlockDevice::erase(bd_addr_t addr, bd_size_t size)
00051 {
00052     return 0;
00053 }
00054 
00055 bd_size_t ProfilingBlockDevice::get_read_size() const
00056 {
00057     return 0;
00058 }
00059 
00060 bd_size_t ProfilingBlockDevice::get_program_size() const
00061 {
00062     return 0;
00063 }
00064 
00065 bd_size_t ProfilingBlockDevice::get_erase_size() const
00066 {
00067     return 0;
00068 }
00069 
00070 bd_size_t ProfilingBlockDevice::get_erase_size(bd_addr_t addr) const
00071 {
00072     return 0;
00073 }
00074 
00075 int ProfilingBlockDevice::get_erase_value() const
00076 {
00077     return 0;
00078 }
00079 
00080 bd_size_t ProfilingBlockDevice::size() const
00081 {
00082     return 0;
00083 }
00084 
00085 void ProfilingBlockDevice::reset()
00086 {
00087 }
00088 
00089 bd_size_t ProfilingBlockDevice::get_read_count() const
00090 {
00091     return 0;
00092 }
00093 
00094 bd_size_t ProfilingBlockDevice::get_program_count() const
00095 {
00096     return 0;
00097 }
00098 
00099 bd_size_t ProfilingBlockDevice::get_erase_count() const
00100 {
00101     return 0;
00102 }