Mistake on this page?
Report an issue in GitHub or email us
pal_cfg.h
Go to the documentation of this file.
1  /*************************************************************************************************/
2 /*!
3  * \file
4  *
5  * \brief System configuration definition.
6  *
7  * Copyright (c) 2018-2019 Arm Ltd. All Rights Reserved.
8  *
9  * Copyright (c) 2019 Packetcraft, Inc.
10  *
11  * Licensed under the Apache License, Version 2.0 (the "License");
12  * you may not use this file except in compliance with the License.
13  * You may obtain a copy of the License at
14  *
15  * http://www.apache.org/licenses/LICENSE-2.0
16  *
17  * Unless required by applicable law or agreed to in writing, software
18  * distributed under the License is distributed on an "AS IS" BASIS,
19  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20  * See the License for the specific language governing permissions and
21  * limitations under the License.
22  */
23 /*************************************************************************************************/
24 
25 #ifndef PAL_CFG_H
26 #define PAL_CFG_H
27 
28 #include "pal_types.h"
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
34 /*! \addtogroup PAL_CFG
35  * \{ */
36 
37 /**************************************************************************************************
38  Data Types
39 **************************************************************************************************/
40 
41 /*! \brief Configuration ID. */
42 typedef enum
43 {
44  PAL_CFG_ID_BD_ADDR, /*!< BD address. */
45  PAL_CFG_ID_BLE_PHY, /*!< Ble PHY. */
46  PAL_CFG_ID_LL_PARAM, /*!< LL parameters. */
47  PAL_CFG_ID_MAC_ADDR, /*!< MAC address. */
48  PAL_CFG_ID_UUID, /*!< UUID. */
49 } PalCfgId_t;
50 
51 /**************************************************************************************************
52  Function Declarations
53 **************************************************************************************************/
54 void PalCfgLoadData(uint8_t cfgId, void *pBuf, uint32_t len);
55 void PalCfgSetDeviceUuid(uint8_t *pBuf);
56 
57 /*! \} */ /* PAL_CFG */
58 
59 #ifdef __cplusplus
60 };
61 #endif
62 
63 #endif /* PAL_CFG_H */
Platform-independent data types.
PalCfgId_t
Configuration ID.
Definition: pal_cfg.h:42
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.