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

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 : ieb_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 IEB_IODEFINE_H
bogdanm 92:4fc01daae5a5 30 #define IEB_IODEFINE_H
bogdanm 92:4fc01daae5a5 31 /* ->SEC M1.10.1 : Not magic number */
bogdanm 92:4fc01daae5a5 32
bogdanm 92:4fc01daae5a5 33 struct st_ieb
bogdanm 92:4fc01daae5a5 34 { /* IEB */
bogdanm 92:4fc01daae5a5 35 volatile uint8_t B0BCR; /* B0BCR */
bogdanm 92:4fc01daae5a5 36 volatile uint8_t dummy495[3]; /* */
bogdanm 92:4fc01daae5a5 37 volatile uint8_t B0PSR; /* B0PSR */
bogdanm 92:4fc01daae5a5 38 volatile uint8_t dummy496[3]; /* */
bogdanm 92:4fc01daae5a5 39 volatile uint16_t B0UAR; /* B0UAR */
bogdanm 92:4fc01daae5a5 40 volatile uint8_t dummy497[2]; /* */
bogdanm 92:4fc01daae5a5 41 volatile uint16_t B0SAR; /* B0SAR */
bogdanm 92:4fc01daae5a5 42 volatile uint8_t dummy498[2]; /* */
bogdanm 92:4fc01daae5a5 43 volatile uint16_t B0PAR; /* B0PAR */
bogdanm 92:4fc01daae5a5 44 volatile uint8_t dummy499[2]; /* */
bogdanm 92:4fc01daae5a5 45 volatile uint16_t B0RSA; /* B0RSA */
bogdanm 92:4fc01daae5a5 46 volatile uint8_t dummy500[2]; /* */
bogdanm 92:4fc01daae5a5 47 volatile uint8_t B0CDR; /* B0CDR */
bogdanm 92:4fc01daae5a5 48 volatile uint8_t dummy501[3]; /* */
bogdanm 92:4fc01daae5a5 49 volatile uint8_t B0TCD; /* B0TCD */
bogdanm 92:4fc01daae5a5 50 volatile uint8_t dummy502[3]; /* */
bogdanm 92:4fc01daae5a5 51 volatile uint8_t B0RCD; /* B0RCD */
bogdanm 92:4fc01daae5a5 52 volatile uint8_t dummy503[3]; /* */
bogdanm 92:4fc01daae5a5 53 volatile uint8_t B0DLR; /* B0DLR */
bogdanm 92:4fc01daae5a5 54 volatile uint8_t dummy504[3]; /* */
bogdanm 92:4fc01daae5a5 55 volatile uint8_t B0TDL; /* B0TDL */
bogdanm 92:4fc01daae5a5 56 volatile uint8_t dummy505[3]; /* */
bogdanm 92:4fc01daae5a5 57 volatile uint8_t B0RDL; /* B0RDL */
bogdanm 92:4fc01daae5a5 58 volatile uint8_t dummy506[3]; /* */
bogdanm 92:4fc01daae5a5 59 volatile uint8_t B0CKS; /* B0CKS */
bogdanm 92:4fc01daae5a5 60 volatile uint8_t dummy507[3]; /* */
bogdanm 92:4fc01daae5a5 61 volatile uint8_t B0TMS; /* B0TMS */
bogdanm 92:4fc01daae5a5 62 volatile uint8_t dummy508[3]; /* */
bogdanm 92:4fc01daae5a5 63 volatile uint8_t B0PCR; /* B0PCR */
bogdanm 92:4fc01daae5a5 64 volatile uint8_t dummy509[3]; /* */
bogdanm 92:4fc01daae5a5 65 volatile uint16_t B0BSR; /* B0BSR */
bogdanm 92:4fc01daae5a5 66 volatile uint8_t dummy510[2]; /* */
bogdanm 92:4fc01daae5a5 67 volatile uint8_t B0SSR; /* B0SSR */
bogdanm 92:4fc01daae5a5 68 volatile uint8_t dummy511[3]; /* */
bogdanm 92:4fc01daae5a5 69 volatile uint8_t B0USR; /* B0USR */
bogdanm 92:4fc01daae5a5 70 volatile uint8_t dummy512[3]; /* */
bogdanm 92:4fc01daae5a5 71 volatile uint8_t B0ISR; /* B0ISR */
bogdanm 92:4fc01daae5a5 72 volatile uint8_t dummy513[3]; /* */
bogdanm 92:4fc01daae5a5 73 volatile uint8_t B0ESR; /* B0ESR */
bogdanm 92:4fc01daae5a5 74 volatile uint8_t dummy514[3]; /* */
bogdanm 92:4fc01daae5a5 75 volatile uint8_t B0FSR; /* B0FSR */
bogdanm 92:4fc01daae5a5 76 volatile uint8_t dummy515[3]; /* */
bogdanm 92:4fc01daae5a5 77 volatile uint8_t B0SCR; /* B0SCR */
bogdanm 92:4fc01daae5a5 78 volatile uint8_t dummy516[3]; /* */
bogdanm 92:4fc01daae5a5 79 volatile uint8_t B0CCR; /* B0CCR */
bogdanm 92:4fc01daae5a5 80 volatile uint8_t dummy517[3]; /* */
bogdanm 92:4fc01daae5a5 81 volatile uint8_t B0STC0; /* B0STC0 */
bogdanm 92:4fc01daae5a5 82 volatile uint8_t dummy518[3]; /* */
bogdanm 92:4fc01daae5a5 83 volatile uint8_t B0STC1; /* B0STC1 */
bogdanm 92:4fc01daae5a5 84 volatile uint8_t dummy519[3]; /* */
bogdanm 92:4fc01daae5a5 85 volatile uint8_t B0DR; /* B0DR */
bogdanm 92:4fc01daae5a5 86 };
bogdanm 92:4fc01daae5a5 87
bogdanm 92:4fc01daae5a5 88
bogdanm 92:4fc01daae5a5 89 #define IEB (*(struct st_ieb *)0xFCFEF000uL) /* IEB */
bogdanm 92:4fc01daae5a5 90
bogdanm 92:4fc01daae5a5 91
bogdanm 92:4fc01daae5a5 92 #define IEBB0BCR IEB.B0BCR
bogdanm 92:4fc01daae5a5 93 #define IEBB0PSR IEB.B0PSR
bogdanm 92:4fc01daae5a5 94 #define IEBB0UAR IEB.B0UAR
bogdanm 92:4fc01daae5a5 95 #define IEBB0SAR IEB.B0SAR
bogdanm 92:4fc01daae5a5 96 #define IEBB0PAR IEB.B0PAR
bogdanm 92:4fc01daae5a5 97 #define IEBB0RSA IEB.B0RSA
bogdanm 92:4fc01daae5a5 98 #define IEBB0CDR IEB.B0CDR
bogdanm 92:4fc01daae5a5 99 #define IEBB0TCD IEB.B0TCD
bogdanm 92:4fc01daae5a5 100 #define IEBB0RCD IEB.B0RCD
bogdanm 92:4fc01daae5a5 101 #define IEBB0DLR IEB.B0DLR
bogdanm 92:4fc01daae5a5 102 #define IEBB0TDL IEB.B0TDL
bogdanm 92:4fc01daae5a5 103 #define IEBB0RDL IEB.B0RDL
bogdanm 92:4fc01daae5a5 104 #define IEBB0CKS IEB.B0CKS
bogdanm 92:4fc01daae5a5 105 #define IEBB0TMS IEB.B0TMS
bogdanm 92:4fc01daae5a5 106 #define IEBB0PCR IEB.B0PCR
bogdanm 92:4fc01daae5a5 107 #define IEBB0BSR IEB.B0BSR
bogdanm 92:4fc01daae5a5 108 #define IEBB0SSR IEB.B0SSR
bogdanm 92:4fc01daae5a5 109 #define IEBB0USR IEB.B0USR
bogdanm 92:4fc01daae5a5 110 #define IEBB0ISR IEB.B0ISR
bogdanm 92:4fc01daae5a5 111 #define IEBB0ESR IEB.B0ESR
bogdanm 92:4fc01daae5a5 112 #define IEBB0FSR IEB.B0FSR
bogdanm 92:4fc01daae5a5 113 #define IEBB0SCR IEB.B0SCR
bogdanm 92:4fc01daae5a5 114 #define IEBB0CCR IEB.B0CCR
bogdanm 92:4fc01daae5a5 115 #define IEBB0STC0 IEB.B0STC0
bogdanm 92:4fc01daae5a5 116 #define IEBB0STC1 IEB.B0STC1
bogdanm 92:4fc01daae5a5 117 #define IEBB0DR IEB.B0DR
bogdanm 92:4fc01daae5a5 118 /* <-SEC M1.10.1 */
bogdanm 92:4fc01daae5a5 119 #endif