mbed os with nrf51 internal bandgap enabled to read battery level

Dependents:   BLE_file_test BLE_Blink ExternalEncoder

Committer:
elessair
Date:
Sun Oct 23 15:10:02 2016 +0000
Revision:
0:f269e3021894
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
elessair 0:f269e3021894 1 /* ----------------------------------------------------------------------
elessair 0:f269e3021894 2 * Copyright (C) 2010-2014 ARM Limited. All rights reserved.
elessair 0:f269e3021894 3 *
elessair 0:f269e3021894 4 * $Date: 19. March 2015
elessair 0:f269e3021894 5 * $Revision: V.1.4.5
elessair 0:f269e3021894 6 *
elessair 0:f269e3021894 7 * Project: CMSIS DSP Library
elessair 0:f269e3021894 8 * Title: arm_const_structs.h
elessair 0:f269e3021894 9 *
elessair 0:f269e3021894 10 * Description: This file has constant structs that are initialized for
elessair 0:f269e3021894 11 * user convenience. For example, some can be given as
elessair 0:f269e3021894 12 * arguments to the arm_cfft_f32() function.
elessair 0:f269e3021894 13 *
elessair 0:f269e3021894 14 * Target Processor: Cortex-M4/Cortex-M3
elessair 0:f269e3021894 15 *
elessair 0:f269e3021894 16 * Redistribution and use in source and binary forms, with or without
elessair 0:f269e3021894 17 * modification, are permitted provided that the following conditions
elessair 0:f269e3021894 18 * are met:
elessair 0:f269e3021894 19 * - Redistributions of source code must retain the above copyright
elessair 0:f269e3021894 20 * notice, this list of conditions and the following disclaimer.
elessair 0:f269e3021894 21 * - Redistributions in binary form must reproduce the above copyright
elessair 0:f269e3021894 22 * notice, this list of conditions and the following disclaimer in
elessair 0:f269e3021894 23 * the documentation and/or other materials provided with the
elessair 0:f269e3021894 24 * distribution.
elessair 0:f269e3021894 25 * - Neither the name of ARM LIMITED nor the names of its contributors
elessair 0:f269e3021894 26 * may be used to endorse or promote products derived from this
elessair 0:f269e3021894 27 * software without specific prior written permission.
elessair 0:f269e3021894 28 *
elessair 0:f269e3021894 29 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
elessair 0:f269e3021894 30 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
elessair 0:f269e3021894 31 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
elessair 0:f269e3021894 32 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
elessair 0:f269e3021894 33 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
elessair 0:f269e3021894 34 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
elessair 0:f269e3021894 35 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
elessair 0:f269e3021894 36 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
elessair 0:f269e3021894 37 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
elessair 0:f269e3021894 38 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
elessair 0:f269e3021894 39 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
elessair 0:f269e3021894 40 * POSSIBILITY OF SUCH DAMAGE.
elessair 0:f269e3021894 41 * -------------------------------------------------------------------- */
elessair 0:f269e3021894 42
elessair 0:f269e3021894 43 #ifndef _ARM_CONST_STRUCTS_H
elessair 0:f269e3021894 44 #define _ARM_CONST_STRUCTS_H
elessair 0:f269e3021894 45
elessair 0:f269e3021894 46 #include "arm_math.h"
elessair 0:f269e3021894 47 #include "arm_common_tables.h"
elessair 0:f269e3021894 48
elessair 0:f269e3021894 49 extern const arm_cfft_instance_f32 arm_cfft_sR_f32_len16;
elessair 0:f269e3021894 50 extern const arm_cfft_instance_f32 arm_cfft_sR_f32_len32;
elessair 0:f269e3021894 51 extern const arm_cfft_instance_f32 arm_cfft_sR_f32_len64;
elessair 0:f269e3021894 52 extern const arm_cfft_instance_f32 arm_cfft_sR_f32_len128;
elessair 0:f269e3021894 53 extern const arm_cfft_instance_f32 arm_cfft_sR_f32_len256;
elessair 0:f269e3021894 54 extern const arm_cfft_instance_f32 arm_cfft_sR_f32_len512;
elessair 0:f269e3021894 55 extern const arm_cfft_instance_f32 arm_cfft_sR_f32_len1024;
elessair 0:f269e3021894 56 extern const arm_cfft_instance_f32 arm_cfft_sR_f32_len2048;
elessair 0:f269e3021894 57 extern const arm_cfft_instance_f32 arm_cfft_sR_f32_len4096;
elessair 0:f269e3021894 58
elessair 0:f269e3021894 59 extern const arm_cfft_instance_q31 arm_cfft_sR_q31_len16;
elessair 0:f269e3021894 60 extern const arm_cfft_instance_q31 arm_cfft_sR_q31_len32;
elessair 0:f269e3021894 61 extern const arm_cfft_instance_q31 arm_cfft_sR_q31_len64;
elessair 0:f269e3021894 62 extern const arm_cfft_instance_q31 arm_cfft_sR_q31_len128;
elessair 0:f269e3021894 63 extern const arm_cfft_instance_q31 arm_cfft_sR_q31_len256;
elessair 0:f269e3021894 64 extern const arm_cfft_instance_q31 arm_cfft_sR_q31_len512;
elessair 0:f269e3021894 65 extern const arm_cfft_instance_q31 arm_cfft_sR_q31_len1024;
elessair 0:f269e3021894 66 extern const arm_cfft_instance_q31 arm_cfft_sR_q31_len2048;
elessair 0:f269e3021894 67 extern const arm_cfft_instance_q31 arm_cfft_sR_q31_len4096;
elessair 0:f269e3021894 68
elessair 0:f269e3021894 69 extern const arm_cfft_instance_q15 arm_cfft_sR_q15_len16;
elessair 0:f269e3021894 70 extern const arm_cfft_instance_q15 arm_cfft_sR_q15_len32;
elessair 0:f269e3021894 71 extern const arm_cfft_instance_q15 arm_cfft_sR_q15_len64;
elessair 0:f269e3021894 72 extern const arm_cfft_instance_q15 arm_cfft_sR_q15_len128;
elessair 0:f269e3021894 73 extern const arm_cfft_instance_q15 arm_cfft_sR_q15_len256;
elessair 0:f269e3021894 74 extern const arm_cfft_instance_q15 arm_cfft_sR_q15_len512;
elessair 0:f269e3021894 75 extern const arm_cfft_instance_q15 arm_cfft_sR_q15_len1024;
elessair 0:f269e3021894 76 extern const arm_cfft_instance_q15 arm_cfft_sR_q15_len2048;
elessair 0:f269e3021894 77 extern const arm_cfft_instance_q15 arm_cfft_sR_q15_len4096;
elessair 0:f269e3021894 78
elessair 0:f269e3021894 79 #endif