Example

Dependencies:   FXAS21002 FXOS8700Q

Committer:
maygup01
Date:
Tue Nov 19 09:49:38 2019 +0000
Revision:
0:11cc2b7889af
Example

Who changed what in which revision?

UserRevisionLine numberNew contents of line
maygup01 0:11cc2b7889af 1 /*
maygup01 0:11cc2b7889af 2 * mbed Microcontroller Library
maygup01 0:11cc2b7889af 3 * Copyright (c) 2006-2018 ARM Limited
maygup01 0:11cc2b7889af 4 *
maygup01 0:11cc2b7889af 5 * SPDX-License-Identifier: Apache-2.0
maygup01 0:11cc2b7889af 6 *
maygup01 0:11cc2b7889af 7 * Licensed under the Apache License, Version 2.0 (the "License");
maygup01 0:11cc2b7889af 8 * you may not use this file except in compliance with the License.
maygup01 0:11cc2b7889af 9 * You may obtain a copy of the License at
maygup01 0:11cc2b7889af 10 *
maygup01 0:11cc2b7889af 11 * http://www.apache.org/licenses/LICENSE-2.0
maygup01 0:11cc2b7889af 12 *
maygup01 0:11cc2b7889af 13 * Unless required by applicable law or agreed to in writing, software
maygup01 0:11cc2b7889af 14 * distributed under the License is distributed on an "AS IS" BASIS,
maygup01 0:11cc2b7889af 15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
maygup01 0:11cc2b7889af 16 * See the License for the specific language governing permissions and
maygup01 0:11cc2b7889af 17 * limitations under the License.
maygup01 0:11cc2b7889af 18 */
maygup01 0:11cc2b7889af 19
maygup01 0:11cc2b7889af 20 /*
maygup01 0:11cc2b7889af 21 * Based on mbed-stress-test by Marcus Chang @ Arm Mbed - http://github.com/ARMmbed/mbed-stress-test
maygup01 0:11cc2b7889af 22 */
maygup01 0:11cc2b7889af 23
maygup01 0:11cc2b7889af 24 void file_test_write(const char* file, size_t offset, const unsigned char* data, size_t data_length, size_t block_size);
maygup01 0:11cc2b7889af 25
maygup01 0:11cc2b7889af 26 void file_test_read(const char* file, size_t offset, const unsigned char* data, size_t data_length, size_t block_size);