mbed official / mbed

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

Committer:
<>
Date:
Tue Nov 08 17:28:34 2016 +0000
Revision:
129:0ab6a29f35bf
Parent:
128:9bcdf88f62b0
Release 129 of the mbed library

Ports for Upcoming Targets

3011: Add u-blox Sara-N target. https://github.com/ARMmbed/mbed-os/pull/3011
3099: MAX32625 https://github.com/ARMmbed/mbed-os/pull/3099
3151: Add support for FRDM-K82F https://github.com/ARMmbed/mbed-os/pull/3151
3177: New mcu k22512 fixing pr 3136 https://github.com/ARMmbed/mbed-os/pull/3177

Fixes and Changes

3008: NUCLEO_F072RB: Fix wrong timer channel number on pwm PB_5 pin https://github.com/ARMmbed/mbed-os/pull/3008
3013: STM32xx - Change how the ADC internal pins are checked before pinmap_ https://github.com/ARMmbed/mbed-os/pull/3013
3041: [nRF5] - added implementation of API of serial port flow control configuration. https://github.com/ARMmbed/mbed-os/pull/3041
3084: [nrf5] fix in Digital I/O : a gpioe pin was uninitialized badly https://github.com/ARMmbed/mbed-os/pull/3084
3009: TRNG enabled. TRNG APIs implemented. REV A/B/C/D flags removed. Warnings removed https://github.com/ARMmbed/mbed-os/pull/3009
3074: Target stm init gcc alignement https://github.com/ARMmbed/mbed-os/pull/3074
2988: Update of can_api.c fixing #2987 https://github.com/ARMmbed/mbed-os/pull/2988
3173: [Exporters] Add a device_name to microbit entry in targets.json https://github.com/ARMmbed/mbed-os/pull/3173
2969: [nRF52] - switch irq priorities of driver handlers to the lowest level https://github.com/ARMmbed/mbed-os/pull/2969
3184: #3183 Compiler warning in trng_api.c with K64F https://github.com/ARMmbed/mbed-os/pull/3184
3104: [NuMaker] Support CAN and fix PWM CLK error https://github.com/ARMmbed/mbed-os/pull/3104
3186: MultiTech mDot - add back SPI3 pins https://github.com/ARMmbed/mbed-os/pull/3186
3075: nsapi - Add standardized return types for size and errors https://github.com/ARMmbed/mbed-os/pull/3075
3221: u-blox odin w2 drivers update https://github.com/ARMmbed/mbed-os/pull/3221

Who changed what in which revision?

UserRevisionLine numberNew contents of line
<> 128:9bcdf88f62b0 1 /*******************************************************************************
<> 128:9bcdf88f62b0 2 * Copyright (C) 2015 Maxim Integrated Products, Inc., All Rights Reserved.
<> 128:9bcdf88f62b0 3 *
<> 128:9bcdf88f62b0 4 * Permission is hereby granted, free of charge, to any person obtaining a
<> 128:9bcdf88f62b0 5 * copy of this software and associated documentation files (the "Software"),
<> 128:9bcdf88f62b0 6 * to deal in the Software without restriction, including without limitation
<> 128:9bcdf88f62b0 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
<> 128:9bcdf88f62b0 8 * and/or sell copies of the Software, and to permit persons to whom the
<> 128:9bcdf88f62b0 9 * Software is furnished to do so, subject to the following conditions:
<> 128:9bcdf88f62b0 10 *
<> 128:9bcdf88f62b0 11 * The above copyright notice and this permission notice shall be included
<> 128:9bcdf88f62b0 12 * in all copies or substantial portions of the Software.
<> 128:9bcdf88f62b0 13 *
<> 128:9bcdf88f62b0 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
<> 128:9bcdf88f62b0 15 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
<> 128:9bcdf88f62b0 16 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
<> 128:9bcdf88f62b0 17 * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES
<> 128:9bcdf88f62b0 18 * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
<> 128:9bcdf88f62b0 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
<> 128:9bcdf88f62b0 20 * OTHER DEALINGS IN THE SOFTWARE.
<> 128:9bcdf88f62b0 21 *
<> 128:9bcdf88f62b0 22 * Except as contained in this notice, the name of Maxim Integrated
<> 128:9bcdf88f62b0 23 * Products, Inc. shall not be used except as stated in the Maxim Integrated
<> 128:9bcdf88f62b0 24 * Products, Inc. Branding Policy.
<> 128:9bcdf88f62b0 25 *
<> 128:9bcdf88f62b0 26 * The mere transfer of this software does not imply any licenses
<> 128:9bcdf88f62b0 27 * of trade secrets, proprietary technology, copyrights, patents,
<> 128:9bcdf88f62b0 28 * trademarks, maskwork rights, or any other form of intellectual
<> 128:9bcdf88f62b0 29 * property whatsoever. Maxim Integrated Products, Inc. retains all
<> 128:9bcdf88f62b0 30 * ownership rights.
<> 128:9bcdf88f62b0 31 *******************************************************************************
<> 128:9bcdf88f62b0 32 */
<> 128:9bcdf88f62b0 33
<> 128:9bcdf88f62b0 34 #ifndef _MXC_CRC_REGS_H_
<> 128:9bcdf88f62b0 35 #define _MXC_CRC_REGS_H_
<> 128:9bcdf88f62b0 36
<> 128:9bcdf88f62b0 37 #ifdef __cplusplus
<> 128:9bcdf88f62b0 38 extern "C" {
<> 128:9bcdf88f62b0 39 #endif
<> 128:9bcdf88f62b0 40
<> 128:9bcdf88f62b0 41 #include <stdint.h>
<> 128:9bcdf88f62b0 42
<> 128:9bcdf88f62b0 43 /**
<> 128:9bcdf88f62b0 44 * @file crc_regs.h
<> 128:9bcdf88f62b0 45 * @addtogroup crc CRC
<> 128:9bcdf88f62b0 46 * @{
<> 128:9bcdf88f62b0 47 */
<> 128:9bcdf88f62b0 48
<> 128:9bcdf88f62b0 49 /* Offset Register Description
<> 128:9bcdf88f62b0 50 ====== ======================================================= */
<> 128:9bcdf88f62b0 51 typedef struct {
<> 128:9bcdf88f62b0 52 __IO uint32_t reseed; /* 0x0000 CRC-16/CRC-32 Reseed Controls */
<> 128:9bcdf88f62b0 53 __IO uint32_t seed16; /* 0x0004 Reseed Value for CRC-16 Calculations */
<> 128:9bcdf88f62b0 54 __IO uint32_t seed32; /* 0x0008 Reseed Value for CRC-32 Calculations */
<> 128:9bcdf88f62b0 55 } mxc_crc_regs_t;
<> 128:9bcdf88f62b0 56
<> 128:9bcdf88f62b0 57 /* Offset Register Description
<> 128:9bcdf88f62b0 58 ====== ======================================================= */
<> 128:9bcdf88f62b0 59 typedef struct {
<> 128:9bcdf88f62b0 60 __IO uint32_t value16[512]; /* 0x0000 Write Next CRC-16 Data Value / Read CRC-16 Result Value */
<> 128:9bcdf88f62b0 61 __IO uint32_t value32[512]; /* 0x0800 Write Next CRC-32 Data Value / Read CRC-32 Result Value */
<> 128:9bcdf88f62b0 62 } mxc_crc_data_regs_t;
<> 128:9bcdf88f62b0 63
<> 128:9bcdf88f62b0 64 /*
<> 128:9bcdf88f62b0 65 Register offsets for module CRC.
<> 128:9bcdf88f62b0 66 */
<> 128:9bcdf88f62b0 67 #define MXC_R_CRC_OFFS_RESEED ((uint32_t)0x00000000UL)
<> 128:9bcdf88f62b0 68 #define MXC_R_CRC_OFFS_SEED16 ((uint32_t)0x00000004UL)
<> 128:9bcdf88f62b0 69 #define MXC_R_CRC_OFFS_SEED32 ((uint32_t)0x00000008UL)
<> 128:9bcdf88f62b0 70 #define MXC_R_CRC_DATA_OFFS_VALUE16 ((uint32_t)0x00000000UL)
<> 128:9bcdf88f62b0 71 #define MXC_R_CRC_DATA_OFFS_VALUE32 ((uint32_t)0x00000800UL)
<> 128:9bcdf88f62b0 72
<> 128:9bcdf88f62b0 73 /*
<> 128:9bcdf88f62b0 74 Field positions and masks for module CRC.
<> 128:9bcdf88f62b0 75 */
<> 128:9bcdf88f62b0 76 #define MXC_F_CRC_RESEED_CRC16_POS 0
<> 128:9bcdf88f62b0 77 #define MXC_F_CRC_RESEED_CRC16 ((uint32_t)(0x00000001UL << MXC_F_CRC_RESEED_CRC16_POS))
<> 128:9bcdf88f62b0 78 #define MXC_F_CRC_RESEED_CRC32_POS 1
<> 128:9bcdf88f62b0 79 #define MXC_F_CRC_RESEED_CRC32 ((uint32_t)(0x00000001UL << MXC_F_CRC_RESEED_CRC32_POS))
<> 128:9bcdf88f62b0 80
<> 128:9bcdf88f62b0 81 #ifdef __cplusplus
<> 128:9bcdf88f62b0 82 }
<> 128:9bcdf88f62b0 83 #endif
<> 128:9bcdf88f62b0 84
<> 128:9bcdf88f62b0 85 /**
<> 128:9bcdf88f62b0 86 * @}
<> 128:9bcdf88f62b0 87 */
<> 128:9bcdf88f62b0 88
<> 128:9bcdf88f62b0 89 #endif /* _MXC_CRC_REGS_H_ */