help :(

Dependencies:   FFT

Committer:
annieluo2
Date:
Wed Dec 02 18:02:03 2020 +0000
Revision:
0:d6c9b09b4042
boo

Who changed what in which revision?

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