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 : romdec_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 ROMDEC_IODEFINE_H
bogdanm 92:4fc01daae5a5 30 #define ROMDEC_IODEFINE_H
bogdanm 92:4fc01daae5a5 31 /* ->SEC M1.10.1 : Not magic number */
bogdanm 92:4fc01daae5a5 32
bogdanm 92:4fc01daae5a5 33 struct st_romdec
bogdanm 92:4fc01daae5a5 34 { /* ROMDEC */
bogdanm 92:4fc01daae5a5 35 volatile uint8_t CROMEN; /* CROMEN */
bogdanm 92:4fc01daae5a5 36 volatile uint8_t CROMSY0; /* CROMSY0 */
bogdanm 92:4fc01daae5a5 37 #define ROMDEC_CROMCTL0_COUNT 2
bogdanm 92:4fc01daae5a5 38 volatile uint8_t CROMCTL0; /* CROMCTL0 */
bogdanm 92:4fc01daae5a5 39 volatile uint8_t CROMCTL1; /* CROMCTL1 */
bogdanm 92:4fc01daae5a5 40 volatile uint8_t dummy23[1]; /* */
bogdanm 92:4fc01daae5a5 41 volatile uint8_t CROMCTL3; /* CROMCTL3 */
bogdanm 92:4fc01daae5a5 42 volatile uint8_t CROMCTL4; /* CROMCTL4 */
bogdanm 92:4fc01daae5a5 43 volatile uint8_t CROMCTL5; /* CROMCTL5 */
bogdanm 92:4fc01daae5a5 44 #define ROMDEC_CROMST0_COUNT 2
bogdanm 92:4fc01daae5a5 45 volatile uint8_t CROMST0; /* CROMST0 */
bogdanm 92:4fc01daae5a5 46 volatile uint8_t CROMST1; /* CROMST1 */
bogdanm 92:4fc01daae5a5 47 volatile uint8_t dummy24[1]; /* */
bogdanm 92:4fc01daae5a5 48 volatile uint8_t CROMST3; /* CROMST3 */
bogdanm 92:4fc01daae5a5 49 volatile uint8_t CROMST4; /* CROMST4 */
bogdanm 92:4fc01daae5a5 50 volatile uint8_t CROMST5; /* CROMST5 */
bogdanm 92:4fc01daae5a5 51 volatile uint8_t CROMST6; /* CROMST6 */
bogdanm 92:4fc01daae5a5 52 volatile uint8_t dummy25[5]; /* */
bogdanm 92:4fc01daae5a5 53 #define ROMDEC_CBUFST0_COUNT 3
bogdanm 92:4fc01daae5a5 54 volatile uint8_t CBUFST0; /* CBUFST0 */
bogdanm 92:4fc01daae5a5 55 volatile uint8_t CBUFST1; /* CBUFST1 */
bogdanm 92:4fc01daae5a5 56 volatile uint8_t CBUFST2; /* CBUFST2 */
bogdanm 92:4fc01daae5a5 57 volatile uint8_t dummy26[1]; /* */
bogdanm 92:4fc01daae5a5 58 #define ROMDEC_HEAD00_COUNT 4
bogdanm 92:4fc01daae5a5 59 volatile uint8_t HEAD00; /* HEAD00 */
bogdanm 92:4fc01daae5a5 60 volatile uint8_t HEAD01; /* HEAD01 */
bogdanm 92:4fc01daae5a5 61 volatile uint8_t HEAD02; /* HEAD02 */
bogdanm 92:4fc01daae5a5 62 volatile uint8_t HEAD03; /* HEAD03 */
bogdanm 92:4fc01daae5a5 63 #define ROMDEC_SHEAD00_COUNT 8
bogdanm 92:4fc01daae5a5 64 volatile uint8_t SHEAD00; /* SHEAD00 */
bogdanm 92:4fc01daae5a5 65 volatile uint8_t SHEAD01; /* SHEAD01 */
bogdanm 92:4fc01daae5a5 66 volatile uint8_t SHEAD02; /* SHEAD02 */
bogdanm 92:4fc01daae5a5 67 volatile uint8_t SHEAD03; /* SHEAD03 */
bogdanm 92:4fc01daae5a5 68 volatile uint8_t SHEAD04; /* SHEAD04 */
bogdanm 92:4fc01daae5a5 69 volatile uint8_t SHEAD05; /* SHEAD05 */
bogdanm 92:4fc01daae5a5 70 volatile uint8_t SHEAD06; /* SHEAD06 */
bogdanm 92:4fc01daae5a5 71 volatile uint8_t SHEAD07; /* SHEAD07 */
bogdanm 92:4fc01daae5a5 72 #define ROMDEC_HEAD20_COUNT 4
bogdanm 92:4fc01daae5a5 73 volatile uint8_t HEAD20; /* HEAD20 */
bogdanm 92:4fc01daae5a5 74 volatile uint8_t HEAD21; /* HEAD21 */
bogdanm 92:4fc01daae5a5 75 volatile uint8_t HEAD22; /* HEAD22 */
bogdanm 92:4fc01daae5a5 76 volatile uint8_t HEAD23; /* HEAD23 */
bogdanm 92:4fc01daae5a5 77 #define ROMDEC_SHEAD20_COUNT 8
bogdanm 92:4fc01daae5a5 78 volatile uint8_t SHEAD20; /* SHEAD20 */
bogdanm 92:4fc01daae5a5 79 volatile uint8_t SHEAD21; /* SHEAD21 */
bogdanm 92:4fc01daae5a5 80 volatile uint8_t SHEAD22; /* SHEAD22 */
bogdanm 92:4fc01daae5a5 81 volatile uint8_t SHEAD23; /* SHEAD23 */
bogdanm 92:4fc01daae5a5 82 volatile uint8_t SHEAD24; /* SHEAD24 */
bogdanm 92:4fc01daae5a5 83 volatile uint8_t SHEAD25; /* SHEAD25 */
bogdanm 92:4fc01daae5a5 84 volatile uint8_t SHEAD26; /* SHEAD26 */
bogdanm 92:4fc01daae5a5 85 volatile uint8_t SHEAD27; /* SHEAD27 */
bogdanm 92:4fc01daae5a5 86 volatile uint8_t dummy27[16]; /* */
bogdanm 92:4fc01daae5a5 87 #define ROMDEC_CBUFCTL0_COUNT 4
bogdanm 92:4fc01daae5a5 88 volatile uint8_t CBUFCTL0; /* CBUFCTL0 */
bogdanm 92:4fc01daae5a5 89 volatile uint8_t CBUFCTL1; /* CBUFCTL1 */
bogdanm 92:4fc01daae5a5 90 volatile uint8_t CBUFCTL2; /* CBUFCTL2 */
bogdanm 92:4fc01daae5a5 91 volatile uint8_t CBUFCTL3; /* CBUFCTL3 */
bogdanm 92:4fc01daae5a5 92 volatile uint8_t dummy28[1]; /* */
bogdanm 92:4fc01daae5a5 93 volatile uint8_t CROMST0M; /* CROMST0M */
bogdanm 92:4fc01daae5a5 94 volatile uint8_t dummy29[186]; /* */
bogdanm 92:4fc01daae5a5 95 volatile uint8_t ROMDECRST; /* ROMDECRST */
bogdanm 92:4fc01daae5a5 96 volatile uint8_t RSTSTAT; /* RSTSTAT */
bogdanm 92:4fc01daae5a5 97 volatile uint8_t SSI; /* SSI */
bogdanm 92:4fc01daae5a5 98 volatile uint8_t dummy30[5]; /* */
bogdanm 92:4fc01daae5a5 99 volatile uint8_t INTHOLD; /* INTHOLD */
bogdanm 92:4fc01daae5a5 100 volatile uint8_t INHINT; /* INHINT */
bogdanm 92:4fc01daae5a5 101 volatile uint8_t dummy31[246]; /* */
bogdanm 92:4fc01daae5a5 102 #define ROMDEC_STRMDIN0_COUNT 2
bogdanm 92:4fc01daae5a5 103 volatile uint16_t STRMDIN0; /* STRMDIN0 */
bogdanm 92:4fc01daae5a5 104 volatile uint16_t STRMDIN2; /* STRMDIN2 */
bogdanm 92:4fc01daae5a5 105 volatile uint16_t STRMDOUT0; /* STRMDOUT0 */
bogdanm 92:4fc01daae5a5 106 };
bogdanm 92:4fc01daae5a5 107
bogdanm 92:4fc01daae5a5 108
bogdanm 92:4fc01daae5a5 109 #define ROMDEC (*(struct st_romdec *)0xE8005000uL) /* ROMDEC */
bogdanm 92:4fc01daae5a5 110
bogdanm 92:4fc01daae5a5 111
bogdanm 92:4fc01daae5a5 112 #define ROMDECCROMEN ROMDEC.CROMEN
bogdanm 92:4fc01daae5a5 113 #define ROMDECCROMSY0 ROMDEC.CROMSY0
bogdanm 92:4fc01daae5a5 114 #define ROMDECCROMCTL0 ROMDEC.CROMCTL0
bogdanm 92:4fc01daae5a5 115 #define ROMDECCROMCTL1 ROMDEC.CROMCTL1
bogdanm 92:4fc01daae5a5 116 #define ROMDECCROMCTL3 ROMDEC.CROMCTL3
bogdanm 92:4fc01daae5a5 117 #define ROMDECCROMCTL4 ROMDEC.CROMCTL4
bogdanm 92:4fc01daae5a5 118 #define ROMDECCROMCTL5 ROMDEC.CROMCTL5
bogdanm 92:4fc01daae5a5 119 #define ROMDECCROMST0 ROMDEC.CROMST0
bogdanm 92:4fc01daae5a5 120 #define ROMDECCROMST1 ROMDEC.CROMST1
bogdanm 92:4fc01daae5a5 121 #define ROMDECCROMST3 ROMDEC.CROMST3
bogdanm 92:4fc01daae5a5 122 #define ROMDECCROMST4 ROMDEC.CROMST4
bogdanm 92:4fc01daae5a5 123 #define ROMDECCROMST5 ROMDEC.CROMST5
bogdanm 92:4fc01daae5a5 124 #define ROMDECCROMST6 ROMDEC.CROMST6
bogdanm 92:4fc01daae5a5 125 #define ROMDECCBUFST0 ROMDEC.CBUFST0
bogdanm 92:4fc01daae5a5 126 #define ROMDECCBUFST1 ROMDEC.CBUFST1
bogdanm 92:4fc01daae5a5 127 #define ROMDECCBUFST2 ROMDEC.CBUFST2
bogdanm 92:4fc01daae5a5 128 #define ROMDECHEAD00 ROMDEC.HEAD00
bogdanm 92:4fc01daae5a5 129 #define ROMDECHEAD01 ROMDEC.HEAD01
bogdanm 92:4fc01daae5a5 130 #define ROMDECHEAD02 ROMDEC.HEAD02
bogdanm 92:4fc01daae5a5 131 #define ROMDECHEAD03 ROMDEC.HEAD03
bogdanm 92:4fc01daae5a5 132 #define ROMDECSHEAD00 ROMDEC.SHEAD00
bogdanm 92:4fc01daae5a5 133 #define ROMDECSHEAD01 ROMDEC.SHEAD01
bogdanm 92:4fc01daae5a5 134 #define ROMDECSHEAD02 ROMDEC.SHEAD02
bogdanm 92:4fc01daae5a5 135 #define ROMDECSHEAD03 ROMDEC.SHEAD03
bogdanm 92:4fc01daae5a5 136 #define ROMDECSHEAD04 ROMDEC.SHEAD04
bogdanm 92:4fc01daae5a5 137 #define ROMDECSHEAD05 ROMDEC.SHEAD05
bogdanm 92:4fc01daae5a5 138 #define ROMDECSHEAD06 ROMDEC.SHEAD06
bogdanm 92:4fc01daae5a5 139 #define ROMDECSHEAD07 ROMDEC.SHEAD07
bogdanm 92:4fc01daae5a5 140 #define ROMDECHEAD20 ROMDEC.HEAD20
bogdanm 92:4fc01daae5a5 141 #define ROMDECHEAD21 ROMDEC.HEAD21
bogdanm 92:4fc01daae5a5 142 #define ROMDECHEAD22 ROMDEC.HEAD22
bogdanm 92:4fc01daae5a5 143 #define ROMDECHEAD23 ROMDEC.HEAD23
bogdanm 92:4fc01daae5a5 144 #define ROMDECSHEAD20 ROMDEC.SHEAD20
bogdanm 92:4fc01daae5a5 145 #define ROMDECSHEAD21 ROMDEC.SHEAD21
bogdanm 92:4fc01daae5a5 146 #define ROMDECSHEAD22 ROMDEC.SHEAD22
bogdanm 92:4fc01daae5a5 147 #define ROMDECSHEAD23 ROMDEC.SHEAD23
bogdanm 92:4fc01daae5a5 148 #define ROMDECSHEAD24 ROMDEC.SHEAD24
bogdanm 92:4fc01daae5a5 149 #define ROMDECSHEAD25 ROMDEC.SHEAD25
bogdanm 92:4fc01daae5a5 150 #define ROMDECSHEAD26 ROMDEC.SHEAD26
bogdanm 92:4fc01daae5a5 151 #define ROMDECSHEAD27 ROMDEC.SHEAD27
bogdanm 92:4fc01daae5a5 152 #define ROMDECCBUFCTL0 ROMDEC.CBUFCTL0
bogdanm 92:4fc01daae5a5 153 #define ROMDECCBUFCTL1 ROMDEC.CBUFCTL1
bogdanm 92:4fc01daae5a5 154 #define ROMDECCBUFCTL2 ROMDEC.CBUFCTL2
bogdanm 92:4fc01daae5a5 155 #define ROMDECCBUFCTL3 ROMDEC.CBUFCTL3
bogdanm 92:4fc01daae5a5 156 #define ROMDECCROMST0M ROMDEC.CROMST0M
bogdanm 92:4fc01daae5a5 157 #define ROMDECROMDECRST ROMDEC.ROMDECRST
bogdanm 92:4fc01daae5a5 158 #define ROMDECRSTSTAT ROMDEC.RSTSTAT
bogdanm 92:4fc01daae5a5 159 #define ROMDECSSI ROMDEC.SSI
bogdanm 92:4fc01daae5a5 160 #define ROMDECINTHOLD ROMDEC.INTHOLD
bogdanm 92:4fc01daae5a5 161 #define ROMDECINHINT ROMDEC.INHINT
bogdanm 92:4fc01daae5a5 162 #define ROMDECSTRMDIN0 ROMDEC.STRMDIN0
bogdanm 92:4fc01daae5a5 163 #define ROMDECSTRMDIN2 ROMDEC.STRMDIN2
bogdanm 92:4fc01daae5a5 164 #define ROMDECSTRMDOUT0 ROMDEC.STRMDOUT0
bogdanm 92:4fc01daae5a5 165 /* <-SEC M1.10.1 */
bogdanm 92:4fc01daae5a5 166 #endif