HW layer for the Nucleo board, it only work with old BLE_API
Dependents: Hello_BLE F446RE-BLE
Fork of X_NUCLEO_IDB0XA1 by
utils/inc/Utils.h@12:a5d7db4a1e49, 2014-08-05 (annotated)
- Committer:
- hemddabral
- Date:
- Tue Aug 05 06:33:39 2014 +0000
- Revision:
- 12:a5d7db4a1e49
- Child:
- 16:8aeb0c44869b
support for setting tx power level
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
hemddabral | 12:a5d7db4a1e49 | 1 | /* mbed Microcontroller Library |
hemddabral | 12:a5d7db4a1e49 | 2 | * Copyright (c) 2006-2013 ARM Limited |
hemddabral | 12:a5d7db4a1e49 | 3 | * |
hemddabral | 12:a5d7db4a1e49 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
hemddabral | 12:a5d7db4a1e49 | 5 | * you may not use this file except in compliance with the License. |
hemddabral | 12:a5d7db4a1e49 | 6 | * You may obtain a copy of the License at |
hemddabral | 12:a5d7db4a1e49 | 7 | * |
hemddabral | 12:a5d7db4a1e49 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
hemddabral | 12:a5d7db4a1e49 | 9 | * |
hemddabral | 12:a5d7db4a1e49 | 10 | * Unless required by applicable law or agreed to in writing, software |
hemddabral | 12:a5d7db4a1e49 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
hemddabral | 12:a5d7db4a1e49 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
hemddabral | 12:a5d7db4a1e49 | 13 | * See the License for the specific language governing permissions and |
hemddabral | 12:a5d7db4a1e49 | 14 | * limitations under the License. |
hemddabral | 12:a5d7db4a1e49 | 15 | */ |
hemddabral | 12:a5d7db4a1e49 | 16 | |
hemddabral | 12:a5d7db4a1e49 | 17 | #include "hal_types.h" |
hemddabral | 12:a5d7db4a1e49 | 18 | |
hemddabral | 12:a5d7db4a1e49 | 19 | // utility functions |
hemddabral | 12:a5d7db4a1e49 | 20 | |
hemddabral | 12:a5d7db4a1e49 | 21 | #ifndef __UTIL_H__ |
hemddabral | 12:a5d7db4a1e49 | 22 | #define __UTIL_H__ |
hemddabral | 12:a5d7db4a1e49 | 23 | |
hemddabral | 12:a5d7db4a1e49 | 24 | |
hemddabral | 12:a5d7db4a1e49 | 25 | double getHighPowerAndPALevelValue(int8_t dBMLevel, int8_t& EN_HIGH_POWER, int8_t& PA_LEVEL); |
hemddabral | 12:a5d7db4a1e49 | 26 | |
hemddabral | 12:a5d7db4a1e49 | 27 | #endif // __UTIL_H__ |