The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

mbed 2

This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.

Committer:
AnnaBridge
Date:
Wed Feb 20 20:53:29 2019 +0000
Revision:
172:65be27845400
Parent:
171:3a7713b1edbc
mbed library release version 165

Who changed what in which revision?

UserRevisionLine numberNew contents of line
AnnaBridge 170:e95d10626187 1 /*
AnnaBridge 170:e95d10626187 2 * The Clear BSD License
AnnaBridge 170:e95d10626187 3 * Copyright 2017 NXP
AnnaBridge 170:e95d10626187 4 * All rights reserved.
AnnaBridge 170:e95d10626187 5 *
AnnaBridge 170:e95d10626187 6 * Redistribution and use in source and binary forms, with or without modification,
AnnaBridge 170:e95d10626187 7 * are permitted (subject to the limitations in the disclaimer below) provided
AnnaBridge 170:e95d10626187 8 * that the following conditions are met:
AnnaBridge 170:e95d10626187 9 *
AnnaBridge 170:e95d10626187 10 * o Redistributions of source code must retain the above copyright notice, this list
AnnaBridge 170:e95d10626187 11 * of conditions and the following disclaimer.
AnnaBridge 170:e95d10626187 12 *
AnnaBridge 170:e95d10626187 13 * o Redistributions in binary form must reproduce the above copyright notice, this
AnnaBridge 170:e95d10626187 14 * list of conditions and the following disclaimer in the documentation and/or
AnnaBridge 170:e95d10626187 15 * other materials provided with the distribution.
AnnaBridge 170:e95d10626187 16 *
AnnaBridge 170:e95d10626187 17 * o Neither the name of the copyright holder nor the names of its
AnnaBridge 170:e95d10626187 18 * contributors may be used to endorse or promote products derived from this
AnnaBridge 170:e95d10626187 19 * software without specific prior written permission.
AnnaBridge 170:e95d10626187 20 *
AnnaBridge 170:e95d10626187 21 * NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS LICENSE.
AnnaBridge 170:e95d10626187 22 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
AnnaBridge 170:e95d10626187 23 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
AnnaBridge 170:e95d10626187 24 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
AnnaBridge 170:e95d10626187 25 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
AnnaBridge 170:e95d10626187 26 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
AnnaBridge 170:e95d10626187 27 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
AnnaBridge 170:e95d10626187 28 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
AnnaBridge 170:e95d10626187 29 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
AnnaBridge 170:e95d10626187 30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
AnnaBridge 170:e95d10626187 31 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
AnnaBridge 170:e95d10626187 32 */
AnnaBridge 170:e95d10626187 33
AnnaBridge 170:e95d10626187 34 #ifndef __EVKBIMXRT1050_DCD_SDRAM_INIT__
AnnaBridge 170:e95d10626187 35 #define __EVKBIMXRT1050_DCD_SDRAM_INIT__
AnnaBridge 170:e95d10626187 36
AnnaBridge 170:e95d10626187 37 #include <stdint.h>
AnnaBridge 170:e95d10626187 38
AnnaBridge 170:e95d10626187 39 /*************************************
AnnaBridge 170:e95d10626187 40 * DCD Data
AnnaBridge 170:e95d10626187 41 *************************************/
AnnaBridge 170:e95d10626187 42 #define DCD_TAG_HEADER (0xD2)
AnnaBridge 170:e95d10626187 43 #define DCD_TAG_HEADER_SHIFT (24)
AnnaBridge 170:e95d10626187 44 #define DCD_VERSION (0x40)
AnnaBridge 170:e95d10626187 45 #define DCD_ARRAY_SIZE 1
AnnaBridge 170:e95d10626187 46
AnnaBridge 170:e95d10626187 47 #endif /* __EVKBIMXRT1050_DCD_SDRAM_INIT__ */