meh

Fork of mbed by mbed official

Committer:
bogdanm
Date:
Thu Nov 27 13:33:22 2014 +0000
Revision:
92:4fc01daae5a5
Release 92 of the mbed libray

Main changes:

- nRF51822: fixed pin assignment issues
- ST targets moving to the STM32Cube driver
- LPC1439: fixed serial interrupt issue
- first Cortex-A platform supported in mbed (RZ_A1H)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bogdanm 92:4fc01daae5a5 1 /*******************************************************************************
bogdanm 92:4fc01daae5a5 2 * DISCLAIMER
bogdanm 92:4fc01daae5a5 3 * This software is supplied by Renesas Electronics Corporation and is only
bogdanm 92:4fc01daae5a5 4 * intended for use with Renesas products. No other uses are authorized. This
bogdanm 92:4fc01daae5a5 5 * software is owned by Renesas Electronics Corporation and is protected under
bogdanm 92:4fc01daae5a5 6 * all applicable laws, including copyright laws.
bogdanm 92:4fc01daae5a5 7 * THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING
bogdanm 92:4fc01daae5a5 8 * THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT
bogdanm 92:4fc01daae5a5 9 * LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
bogdanm 92:4fc01daae5a5 10 * AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED.
bogdanm 92:4fc01daae5a5 11 * TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS
bogdanm 92:4fc01daae5a5 12 * ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE
bogdanm 92:4fc01daae5a5 13 * FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR
bogdanm 92:4fc01daae5a5 14 * ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE
bogdanm 92:4fc01daae5a5 15 * BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
bogdanm 92:4fc01daae5a5 16 * Renesas reserves the right, without notice, to make changes to this software
bogdanm 92:4fc01daae5a5 17 * and to discontinue the availability of this software. By using this software,
bogdanm 92:4fc01daae5a5 18 * you agree to the additional terms and conditions found by accessing the
bogdanm 92:4fc01daae5a5 19 * following link:
bogdanm 92:4fc01daae5a5 20 * http://www.renesas.com/disclaimer*
bogdanm 92:4fc01daae5a5 21 * Copyright (C) 2013-2014 Renesas Electronics Corporation. All rights reserved.
bogdanm 92:4fc01daae5a5 22 *******************************************************************************/
bogdanm 92:4fc01daae5a5 23 /*******************************************************************************
bogdanm 92:4fc01daae5a5 24 * File Name : adc_iodefine.h
bogdanm 92:4fc01daae5a5 25 * $Rev: $
bogdanm 92:4fc01daae5a5 26 * $Date:: $
bogdanm 92:4fc01daae5a5 27 * Description : Definition of I/O Register (V1.00a)
bogdanm 92:4fc01daae5a5 28 ******************************************************************************/
bogdanm 92:4fc01daae5a5 29 #ifndef ADC_IODEFINE_H
bogdanm 92:4fc01daae5a5 30 #define ADC_IODEFINE_H
bogdanm 92:4fc01daae5a5 31 /* ->SEC M1.10.1 : Not magic number */
bogdanm 92:4fc01daae5a5 32
bogdanm 92:4fc01daae5a5 33 struct st_adc
bogdanm 92:4fc01daae5a5 34 { /* ADC */
bogdanm 92:4fc01daae5a5 35 volatile uint16_t ADDRA; /* ADDRA */
bogdanm 92:4fc01daae5a5 36 volatile uint16_t ADDRB; /* ADDRB */
bogdanm 92:4fc01daae5a5 37 volatile uint16_t ADDRC; /* ADDRC */
bogdanm 92:4fc01daae5a5 38 volatile uint16_t ADDRD; /* ADDRD */
bogdanm 92:4fc01daae5a5 39 volatile uint16_t ADDRE; /* ADDRE */
bogdanm 92:4fc01daae5a5 40 volatile uint16_t ADDRF; /* ADDRF */
bogdanm 92:4fc01daae5a5 41 volatile uint16_t ADDRG; /* ADDRG */
bogdanm 92:4fc01daae5a5 42 volatile uint16_t ADDRH; /* ADDRH */
bogdanm 92:4fc01daae5a5 43 volatile uint8_t dummy32[16]; /* */
bogdanm 92:4fc01daae5a5 44 volatile uint16_t ADCMPHA; /* ADCMPHA */
bogdanm 92:4fc01daae5a5 45 volatile uint16_t ADCMPLA; /* ADCMPLA */
bogdanm 92:4fc01daae5a5 46 volatile uint16_t ADCMPHB; /* ADCMPHB */
bogdanm 92:4fc01daae5a5 47 volatile uint16_t ADCMPLB; /* ADCMPLB */
bogdanm 92:4fc01daae5a5 48 volatile uint16_t ADCMPHC; /* ADCMPHC */
bogdanm 92:4fc01daae5a5 49 volatile uint16_t ADCMPLC; /* ADCMPLC */
bogdanm 92:4fc01daae5a5 50 volatile uint16_t ADCMPHD; /* ADCMPHD */
bogdanm 92:4fc01daae5a5 51 volatile uint16_t ADCMPLD; /* ADCMPLD */
bogdanm 92:4fc01daae5a5 52 volatile uint16_t ADCMPHE; /* ADCMPHE */
bogdanm 92:4fc01daae5a5 53 volatile uint16_t ADCMPLE; /* ADCMPLE */
bogdanm 92:4fc01daae5a5 54 volatile uint16_t ADCMPHF; /* ADCMPHF */
bogdanm 92:4fc01daae5a5 55 volatile uint16_t ADCMPLF; /* ADCMPLF */
bogdanm 92:4fc01daae5a5 56 volatile uint16_t ADCMPHG; /* ADCMPHG */
bogdanm 92:4fc01daae5a5 57 volatile uint16_t ADCMPLG; /* ADCMPLG */
bogdanm 92:4fc01daae5a5 58 volatile uint16_t ADCMPHH; /* ADCMPHH */
bogdanm 92:4fc01daae5a5 59 volatile uint16_t ADCMPLH; /* ADCMPLH */
bogdanm 92:4fc01daae5a5 60 volatile uint8_t dummy33[32]; /* */
bogdanm 92:4fc01daae5a5 61 volatile uint16_t ADCSR; /* ADCSR */
bogdanm 92:4fc01daae5a5 62 volatile uint16_t ADCMPER; /* ADCMPER */
bogdanm 92:4fc01daae5a5 63 volatile uint16_t ADCMPSR; /* ADCMPSR */
bogdanm 92:4fc01daae5a5 64 };
bogdanm 92:4fc01daae5a5 65
bogdanm 92:4fc01daae5a5 66
bogdanm 92:4fc01daae5a5 67 #define ADC (*(struct st_adc *)0xE8005800uL) /* ADC */
bogdanm 92:4fc01daae5a5 68
bogdanm 92:4fc01daae5a5 69
bogdanm 92:4fc01daae5a5 70 #define ADCADDRA ADC.ADDRA
bogdanm 92:4fc01daae5a5 71 #define ADCADDRB ADC.ADDRB
bogdanm 92:4fc01daae5a5 72 #define ADCADDRC ADC.ADDRC
bogdanm 92:4fc01daae5a5 73 #define ADCADDRD ADC.ADDRD
bogdanm 92:4fc01daae5a5 74 #define ADCADDRE ADC.ADDRE
bogdanm 92:4fc01daae5a5 75 #define ADCADDRF ADC.ADDRF
bogdanm 92:4fc01daae5a5 76 #define ADCADDRG ADC.ADDRG
bogdanm 92:4fc01daae5a5 77 #define ADCADDRH ADC.ADDRH
bogdanm 92:4fc01daae5a5 78 #define ADCADCMPHA ADC.ADCMPHA
bogdanm 92:4fc01daae5a5 79 #define ADCADCMPLA ADC.ADCMPLA
bogdanm 92:4fc01daae5a5 80 #define ADCADCMPHB ADC.ADCMPHB
bogdanm 92:4fc01daae5a5 81 #define ADCADCMPLB ADC.ADCMPLB
bogdanm 92:4fc01daae5a5 82 #define ADCADCMPHC ADC.ADCMPHC
bogdanm 92:4fc01daae5a5 83 #define ADCADCMPLC ADC.ADCMPLC
bogdanm 92:4fc01daae5a5 84 #define ADCADCMPHD ADC.ADCMPHD
bogdanm 92:4fc01daae5a5 85 #define ADCADCMPLD ADC.ADCMPLD
bogdanm 92:4fc01daae5a5 86 #define ADCADCMPHE ADC.ADCMPHE
bogdanm 92:4fc01daae5a5 87 #define ADCADCMPLE ADC.ADCMPLE
bogdanm 92:4fc01daae5a5 88 #define ADCADCMPHF ADC.ADCMPHF
bogdanm 92:4fc01daae5a5 89 #define ADCADCMPLF ADC.ADCMPLF
bogdanm 92:4fc01daae5a5 90 #define ADCADCMPHG ADC.ADCMPHG
bogdanm 92:4fc01daae5a5 91 #define ADCADCMPLG ADC.ADCMPLG
bogdanm 92:4fc01daae5a5 92 #define ADCADCMPHH ADC.ADCMPHH
bogdanm 92:4fc01daae5a5 93 #define ADCADCMPLH ADC.ADCMPLH
bogdanm 92:4fc01daae5a5 94 #define ADCADCSR ADC.ADCSR
bogdanm 92:4fc01daae5a5 95 #define ADCADCMPER ADC.ADCMPER
bogdanm 92:4fc01daae5a5 96 #define ADCADCMPSR ADC.ADCMPSR
bogdanm 92:4fc01daae5a5 97 /* <-SEC M1.10.1 */
bogdanm 92:4fc01daae5a5 98 #endif