ads1115 only
Fork of mbed by
TARGET_MAX32625MBED/TARGET_Maxim/mbed_rtx.h@135:fce8a9387ed1, 2017-01-17 (annotated)
- Committer:
- kaoshen
- Date:
- Tue Jan 17 23:27:32 2017 +0000
- Revision:
- 135:fce8a9387ed1
- Parent:
- 129:0ab6a29f35bf
333 ADS1115 ADC1
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
<> | 129:0ab6a29f35bf | 1 | /* mbed Microcontroller Library |
<> | 129:0ab6a29f35bf | 2 | * Copyright (c) 2016 ARM Limited |
<> | 129:0ab6a29f35bf | 3 | * |
<> | 129:0ab6a29f35bf | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
<> | 129:0ab6a29f35bf | 5 | * you may not use this file except in compliance with the License. |
<> | 129:0ab6a29f35bf | 6 | * You may obtain a copy of the License at |
<> | 129:0ab6a29f35bf | 7 | * |
<> | 129:0ab6a29f35bf | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
<> | 129:0ab6a29f35bf | 9 | * |
<> | 129:0ab6a29f35bf | 10 | * Unless required by applicable law or agreed to in writing, software |
<> | 129:0ab6a29f35bf | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
<> | 129:0ab6a29f35bf | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
<> | 129:0ab6a29f35bf | 13 | * See the License for the specific language governing permissions and |
<> | 129:0ab6a29f35bf | 14 | * limitations under the License. |
<> | 129:0ab6a29f35bf | 15 | */ |
<> | 129:0ab6a29f35bf | 16 | |
<> | 129:0ab6a29f35bf | 17 | #ifndef MBED_MBED_RTX_H |
<> | 129:0ab6a29f35bf | 18 | #define MBED_MBED_RTX_H |
<> | 129:0ab6a29f35bf | 19 | |
<> | 129:0ab6a29f35bf | 20 | #if defined(TARGET_MAX32600) |
<> | 129:0ab6a29f35bf | 21 | |
<> | 129:0ab6a29f35bf | 22 | #ifndef INITIAL_SP |
<> | 129:0ab6a29f35bf | 23 | #define INITIAL_SP (0x20008000UL) |
<> | 129:0ab6a29f35bf | 24 | #endif |
<> | 129:0ab6a29f35bf | 25 | #ifndef OS_TASKCNT |
<> | 129:0ab6a29f35bf | 26 | #define OS_TASKCNT 14 |
<> | 129:0ab6a29f35bf | 27 | #endif |
<> | 129:0ab6a29f35bf | 28 | #ifndef OS_MAINSTKSIZE |
<> | 129:0ab6a29f35bf | 29 | #define OS_MAINSTKSIZE 256 |
<> | 129:0ab6a29f35bf | 30 | #endif |
<> | 129:0ab6a29f35bf | 31 | #ifndef OS_CLOCK |
<> | 129:0ab6a29f35bf | 32 | #define OS_CLOCK 24000000 |
<> | 129:0ab6a29f35bf | 33 | #endif |
<> | 129:0ab6a29f35bf | 34 | |
<> | 129:0ab6a29f35bf | 35 | #elif defined(TARGET_MAX32610) |
<> | 129:0ab6a29f35bf | 36 | |
<> | 129:0ab6a29f35bf | 37 | #ifndef INITIAL_SP |
<> | 129:0ab6a29f35bf | 38 | #define INITIAL_SP (0x20008000UL) |
<> | 129:0ab6a29f35bf | 39 | #endif |
<> | 129:0ab6a29f35bf | 40 | #ifndef OS_TASKCNT |
<> | 129:0ab6a29f35bf | 41 | #define OS_TASKCNT 14 |
<> | 129:0ab6a29f35bf | 42 | #endif |
<> | 129:0ab6a29f35bf | 43 | #ifndef OS_MAINSTKSIZE |
<> | 129:0ab6a29f35bf | 44 | #define OS_MAINSTKSIZE 256 |
<> | 129:0ab6a29f35bf | 45 | #endif |
<> | 129:0ab6a29f35bf | 46 | #ifndef OS_CLOCK |
<> | 129:0ab6a29f35bf | 47 | #define OS_CLOCK 24000000 |
<> | 129:0ab6a29f35bf | 48 | #endif |
<> | 129:0ab6a29f35bf | 49 | |
<> | 129:0ab6a29f35bf | 50 | #elif defined(TARGET_MAX32620) |
<> | 129:0ab6a29f35bf | 51 | |
<> | 129:0ab6a29f35bf | 52 | #ifndef INITIAL_SP |
<> | 129:0ab6a29f35bf | 53 | #define INITIAL_SP (0x20040000UL) |
<> | 129:0ab6a29f35bf | 54 | #endif |
<> | 129:0ab6a29f35bf | 55 | #ifndef OS_TASKCNT |
<> | 129:0ab6a29f35bf | 56 | #define OS_TASKCNT 14 |
<> | 129:0ab6a29f35bf | 57 | #endif |
<> | 129:0ab6a29f35bf | 58 | #ifndef OS_MAINSTKSIZE |
<> | 129:0ab6a29f35bf | 59 | #define OS_MAINSTKSIZE 256 |
<> | 129:0ab6a29f35bf | 60 | #endif |
<> | 129:0ab6a29f35bf | 61 | #ifndef OS_CLOCK |
<> | 129:0ab6a29f35bf | 62 | #define OS_CLOCK 48000000 |
<> | 129:0ab6a29f35bf | 63 | #endif |
<> | 129:0ab6a29f35bf | 64 | |
<> | 129:0ab6a29f35bf | 65 | #elif defined(TARGET_MAX32625) |
<> | 129:0ab6a29f35bf | 66 | |
<> | 129:0ab6a29f35bf | 67 | #ifndef INITIAL_SP |
<> | 129:0ab6a29f35bf | 68 | #define INITIAL_SP (0x20028000UL) |
<> | 129:0ab6a29f35bf | 69 | #endif |
<> | 129:0ab6a29f35bf | 70 | #ifndef OS_TASKCNT |
<> | 129:0ab6a29f35bf | 71 | #define OS_TASKCNT 14 |
<> | 129:0ab6a29f35bf | 72 | #endif |
<> | 129:0ab6a29f35bf | 73 | #ifndef OS_MAINSTKSIZE |
<> | 129:0ab6a29f35bf | 74 | #define OS_MAINSTKSIZE 256 |
<> | 129:0ab6a29f35bf | 75 | #endif |
<> | 129:0ab6a29f35bf | 76 | #ifndef OS_CLOCK |
<> | 129:0ab6a29f35bf | 77 | #define OS_CLOCK 96000000 |
<> | 129:0ab6a29f35bf | 78 | #endif |
<> | 129:0ab6a29f35bf | 79 | |
<> | 129:0ab6a29f35bf | 80 | #endif |
<> | 129:0ab6a29f35bf | 81 | |
<> | 129:0ab6a29f35bf | 82 | #endif // MBED_MBED_RTX_H |