Smart Remote 3 nRF52 v1.2
Introduction
API Reference
Modules
Data Structures
All
Data Structures
Functions
Variables
Typedefs
Enumerations
Enumerator
Groups
Pages
sbc_types.h
1
/******************************************************************************
2
*
3
* Copyright (C) 1999-2012 Broadcom Corporation
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at:
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*
17
******************************************************************************/
18
19
/******************************************************************************
20
*
21
* Data type declarations.
22
*
23
******************************************************************************/
24
25
#ifndef SBC_TYPES_H
26
#define SBC_TYPES_H
27
28
#ifdef BUILDCFG
29
#include "bt_target.h"
30
#endif
31
32
33
/* BK4BTSTACK_CHANGE START */
34
#if 0
35
// #include "data_types.h"
36
37
typedef
short
SINT16;
38
typedef
long
SINT32;
39
40
#if (SBC_IPAQ_OPT == TRUE)
41
42
#if (SBC_FOR_EMBEDDED_LINUX == TRUE)
43
typedef
long
long
SINT64;
44
#else
45
typedef
__int64 SINT64;
46
#endif
47
48
#elif (SBC_IS_64_MULT_IN_WINDOW_ACCU == TRUE) || (SBC_IS_64_MULT_IN_IDCT == TRUE)
49
50
#if (SBC_FOR_EMBEDDED_LINUX == TRUE)
51
typedef
long
long
SINT64;
52
#else
53
typedef
__int64 SINT64;
54
#endif
55
56
#endif
57
#else
58
59
#include <stdint.h>
60
typedef
int8_t SINT8;
61
typedef
int16_t SINT16;
62
typedef
int32_t SINT32;
63
typedef
int64_t SINT64;
64
typedef
uint8_t UINT8;
65
typedef
uint16_t UINT16;
66
typedef
uint32_t UINT32;
67
typedef
uint64_t UINT64;
68
69
#endif
70
/* BK4BTSTACK_CHANGE STOP */
71
72
#define SBC_API
73
#define abs32(x) ( (x >= 0) ? x : (-x) )
74
75
#endif
Documentation feedback
|
Developer Zone
|
Subscribe
| Updated