temp

Dependencies:   mbed SDFileSystem MS5607 ADXL345_I2C FATFileSystem

Committer:
IKobayashi
Date:
Mon Mar 16 23:37:42 2020 +0900
Revision:
0:c88c3b616c00
copy

Who changed what in which revision?

UserRevisionLine numberNew contents of line
IKobayashi 0:c88c3b616c00 1
IKobayashi 0:c88c3b616c00 2 /** \addtogroup hal */
IKobayashi 0:c88c3b616c00 3 /** @{*/
IKobayashi 0:c88c3b616c00 4 /* mbed Microcontroller Library
IKobayashi 0:c88c3b616c00 5 * Copyright (c) 2014-2015 ARM Limited
IKobayashi 0:c88c3b616c00 6 *
IKobayashi 0:c88c3b616c00 7 * Licensed under the Apache License, Version 2.0 (the "License");
IKobayashi 0:c88c3b616c00 8 * you may not use this file except in compliance with the License.
IKobayashi 0:c88c3b616c00 9 * You may obtain a copy of the License at
IKobayashi 0:c88c3b616c00 10 *
IKobayashi 0:c88c3b616c00 11 * http://www.apache.org/licenses/LICENSE-2.0
IKobayashi 0:c88c3b616c00 12 *
IKobayashi 0:c88c3b616c00 13 * Unless required by applicable law or agreed to in writing, software
IKobayashi 0:c88c3b616c00 14 * distributed under the License is distributed on an "AS IS" BASIS,
IKobayashi 0:c88c3b616c00 15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
IKobayashi 0:c88c3b616c00 16 * See the License for the specific language governing permissions and
IKobayashi 0:c88c3b616c00 17 * limitations under the License.
IKobayashi 0:c88c3b616c00 18 */
IKobayashi 0:c88c3b616c00 19 #ifndef MBED_BUFFER_H
IKobayashi 0:c88c3b616c00 20 #define MBED_BUFFER_H
IKobayashi 0:c88c3b616c00 21
IKobayashi 0:c88c3b616c00 22 #include <stddef.h>
IKobayashi 0:c88c3b616c00 23
IKobayashi 0:c88c3b616c00 24 /** Generic buffer structure
IKobayashi 0:c88c3b616c00 25 */
IKobayashi 0:c88c3b616c00 26 typedef struct buffer_s {
IKobayashi 0:c88c3b616c00 27 void *buffer; /**< the pointer to a buffer */
IKobayashi 0:c88c3b616c00 28 size_t length; /**< the buffer length */
IKobayashi 0:c88c3b616c00 29 size_t pos; /**< actual buffer position */
IKobayashi 0:c88c3b616c00 30 uint8_t width; /**< The buffer unit width (8, 16, 32, 64), used for proper *buffer casting */
IKobayashi 0:c88c3b616c00 31 } buffer_t;
IKobayashi 0:c88c3b616c00 32
IKobayashi 0:c88c3b616c00 33 #endif
IKobayashi 0:c88c3b616c00 34
IKobayashi 0:c88c3b616c00 35 /** @}*/