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 : jcu_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 JCU_IODEFINE_H
bogdanm 92:4fc01daae5a5 30 #define JCU_IODEFINE_H
bogdanm 92:4fc01daae5a5 31 /* ->SEC M1.10.1 : Not magic number */
bogdanm 92:4fc01daae5a5 32
bogdanm 92:4fc01daae5a5 33 struct st_jcu
bogdanm 92:4fc01daae5a5 34 { /* JCU */
bogdanm 92:4fc01daae5a5 35 volatile uint8_t JCMOD; /* JCMOD */
bogdanm 92:4fc01daae5a5 36 volatile uint8_t JCCMD; /* JCCMD */
bogdanm 92:4fc01daae5a5 37 volatile uint8_t dummy145[1]; /* */
bogdanm 92:4fc01daae5a5 38 volatile uint8_t JCQTN; /* JCQTN */
bogdanm 92:4fc01daae5a5 39 volatile uint8_t JCHTN; /* JCHTN */
bogdanm 92:4fc01daae5a5 40 volatile uint8_t JCDRIU; /* JCDRIU */
bogdanm 92:4fc01daae5a5 41 volatile uint8_t JCDRID; /* JCDRID */
bogdanm 92:4fc01daae5a5 42 volatile uint8_t JCVSZU; /* JCVSZU */
bogdanm 92:4fc01daae5a5 43 volatile uint8_t JCVSZD; /* JCVSZD */
bogdanm 92:4fc01daae5a5 44 volatile uint8_t JCHSZU; /* JCHSZU */
bogdanm 92:4fc01daae5a5 45 volatile uint8_t JCHSZD; /* JCHSZD */
bogdanm 92:4fc01daae5a5 46 volatile uint8_t JCDTCU; /* JCDTCU */
bogdanm 92:4fc01daae5a5 47 volatile uint8_t JCDTCM; /* JCDTCM */
bogdanm 92:4fc01daae5a5 48 volatile uint8_t JCDTCD; /* JCDTCD */
bogdanm 92:4fc01daae5a5 49 volatile uint8_t JINTE0; /* JINTE0 */
bogdanm 92:4fc01daae5a5 50 volatile uint8_t JINTS0; /* JINTS0 */
bogdanm 92:4fc01daae5a5 51 volatile uint8_t JCDERR; /* JCDERR */
bogdanm 92:4fc01daae5a5 52 volatile uint8_t JCRST; /* JCRST */
bogdanm 92:4fc01daae5a5 53 volatile uint8_t dummy146[46]; /* */
bogdanm 92:4fc01daae5a5 54 volatile uint32_t JIFECNT; /* JIFECNT */
bogdanm 92:4fc01daae5a5 55 volatile uint32_t JIFESA; /* JIFESA */
bogdanm 92:4fc01daae5a5 56 volatile uint32_t JIFESOFST; /* JIFESOFST */
bogdanm 92:4fc01daae5a5 57 volatile uint32_t JIFEDA; /* JIFEDA */
bogdanm 92:4fc01daae5a5 58 volatile uint32_t JIFESLC; /* JIFESLC */
bogdanm 92:4fc01daae5a5 59 volatile uint32_t JIFEDDC; /* JIFEDDC */
bogdanm 92:4fc01daae5a5 60 volatile uint32_t JIFDCNT; /* JIFDCNT */
bogdanm 92:4fc01daae5a5 61 volatile uint32_t JIFDSA; /* JIFDSA */
bogdanm 92:4fc01daae5a5 62 volatile uint32_t JIFDDOFST; /* JIFDDOFST */
bogdanm 92:4fc01daae5a5 63 volatile uint32_t JIFDDA; /* JIFDDA */
bogdanm 92:4fc01daae5a5 64 volatile uint32_t JIFDSDC; /* JIFDSDC */
bogdanm 92:4fc01daae5a5 65 volatile uint32_t JIFDDLC; /* JIFDDLC */
bogdanm 92:4fc01daae5a5 66 volatile uint32_t JIFDADT; /* JIFDADT */
bogdanm 92:4fc01daae5a5 67 volatile uint8_t dummy147[24]; /* */
bogdanm 92:4fc01daae5a5 68 volatile uint32_t JINTE1; /* JINTE1 */
bogdanm 92:4fc01daae5a5 69 volatile uint32_t JINTS1; /* JINTS1 */
bogdanm 92:4fc01daae5a5 70 volatile uint32_t JIFESVSZ; /* JIFESVSZ */
bogdanm 92:4fc01daae5a5 71 volatile uint32_t JIFESHSZ; /* JIFESHSZ */
bogdanm 92:4fc01daae5a5 72 volatile uint8_t dummy148[100]; /* */
bogdanm 92:4fc01daae5a5 73 /* start of struct st_jcu_from_jcqtbl0 */
bogdanm 92:4fc01daae5a5 74 volatile uint8_t JCQTBL0; /* JCQTBL0 */
bogdanm 92:4fc01daae5a5 75 volatile uint8_t dummy149[63]; /* */
bogdanm 92:4fc01daae5a5 76 /* end of struct st_jcu_from_jcqtbl0 */
bogdanm 92:4fc01daae5a5 77 /* start of struct st_jcu_from_jcqtbl0 */
bogdanm 92:4fc01daae5a5 78 volatile uint8_t JCQTBL1; /* JCQTBL1 */
bogdanm 92:4fc01daae5a5 79 volatile uint8_t dummy150[63]; /* */
bogdanm 92:4fc01daae5a5 80 /* end of struct st_jcu_from_jcqtbl0 */
bogdanm 92:4fc01daae5a5 81 /* start of struct st_jcu_from_jcqtbl0 */
bogdanm 92:4fc01daae5a5 82 volatile uint8_t JCQTBL2; /* JCQTBL2 */
bogdanm 92:4fc01daae5a5 83 volatile uint8_t dummy151[63]; /* */
bogdanm 92:4fc01daae5a5 84 /* end of struct st_jcu_from_jcqtbl0 */
bogdanm 92:4fc01daae5a5 85 /* start of struct st_jcu_from_jcqtbl0 */
bogdanm 92:4fc01daae5a5 86 volatile uint8_t JCQTBL3; /* JCQTBL3 */
bogdanm 92:4fc01daae5a5 87 volatile uint8_t dummy152[63]; /* */
bogdanm 92:4fc01daae5a5 88 /* end of struct st_jcu_from_jcqtbl0 */
bogdanm 92:4fc01daae5a5 89 volatile uint8_t JCHTBD0; /* JCHTBD0 */
bogdanm 92:4fc01daae5a5 90 volatile uint8_t dummy153[31]; /* */
bogdanm 92:4fc01daae5a5 91 volatile uint8_t JCHTBA0; /* JCHTBA0 */
bogdanm 92:4fc01daae5a5 92 volatile uint8_t dummy154[223]; /* */
bogdanm 92:4fc01daae5a5 93 volatile uint8_t JCHTBD1; /* JCHTBD1 */
bogdanm 92:4fc01daae5a5 94 volatile uint8_t dummy155[31]; /* */
bogdanm 92:4fc01daae5a5 95 volatile uint8_t JCHTBA1; /* JCHTBA1 */
bogdanm 92:4fc01daae5a5 96 };
bogdanm 92:4fc01daae5a5 97
bogdanm 92:4fc01daae5a5 98
bogdanm 92:4fc01daae5a5 99 struct st_jcu_from_jcqtbl0
bogdanm 92:4fc01daae5a5 100 {
bogdanm 92:4fc01daae5a5 101 volatile uint8_t JCQTBL0; /* JCQTBL0 */
bogdanm 92:4fc01daae5a5 102 volatile uint8_t dummy1[63]; /* */
bogdanm 92:4fc01daae5a5 103 };
bogdanm 92:4fc01daae5a5 104
bogdanm 92:4fc01daae5a5 105
bogdanm 92:4fc01daae5a5 106 #define JCU (*(struct st_jcu *)0xE8017000uL) /* JCU */
bogdanm 92:4fc01daae5a5 107
bogdanm 92:4fc01daae5a5 108
bogdanm 92:4fc01daae5a5 109 /* Start of channnel array defines of JCU */
bogdanm 92:4fc01daae5a5 110
bogdanm 92:4fc01daae5a5 111 /* Channnel array defines of JCU_JCQTBL0 */
bogdanm 92:4fc01daae5a5 112 /*(Sample) value = JCU_JCQTBL0[ channel ]->JCQTBL0; */
bogdanm 92:4fc01daae5a5 113 #define JCU_JCQTBL0_COUNT 4
bogdanm 92:4fc01daae5a5 114 #define JCU_JCQTBL0_ADDRESS_LIST \
bogdanm 92:4fc01daae5a5 115 { /* ->MISRA 11.3 */ /* ->SEC R2.7.1 */ \
bogdanm 92:4fc01daae5a5 116 &JCU_FROM_JCQTBL0, &JCU_FROM_JCQTBL1, &JCU_FROM_JCQTBL2, &JCU_FROM_JCQTBL3 \
bogdanm 92:4fc01daae5a5 117 } /* <-MISRA 11.3 */ /* <-SEC R2.7.1 */ /* { } is for MISRA 19.4 */
bogdanm 92:4fc01daae5a5 118 #define JCU_FROM_JCQTBL0 (*(struct st_jcu_from_jcqtbl0 *)&JCU.JCQTBL0) /* JCU_FROM_JCQTBL0 */
bogdanm 92:4fc01daae5a5 119 #define JCU_FROM_JCQTBL1 (*(struct st_jcu_from_jcqtbl0 *)&JCU.JCQTBL1) /* JCU_FROM_JCQTBL1 */
bogdanm 92:4fc01daae5a5 120 #define JCU_FROM_JCQTBL2 (*(struct st_jcu_from_jcqtbl0 *)&JCU.JCQTBL2) /* JCU_FROM_JCQTBL2 */
bogdanm 92:4fc01daae5a5 121 #define JCU_FROM_JCQTBL3 (*(struct st_jcu_from_jcqtbl0 *)&JCU.JCQTBL3) /* JCU_FROM_JCQTBL3 */
bogdanm 92:4fc01daae5a5 122
bogdanm 92:4fc01daae5a5 123 /* End of channnel array defines of JCU */
bogdanm 92:4fc01daae5a5 124
bogdanm 92:4fc01daae5a5 125
bogdanm 92:4fc01daae5a5 126 #define JCUJCMOD JCU.JCMOD
bogdanm 92:4fc01daae5a5 127 #define JCUJCCMD JCU.JCCMD
bogdanm 92:4fc01daae5a5 128 #define JCUJCQTN JCU.JCQTN
bogdanm 92:4fc01daae5a5 129 #define JCUJCHTN JCU.JCHTN
bogdanm 92:4fc01daae5a5 130 #define JCUJCDRIU JCU.JCDRIU
bogdanm 92:4fc01daae5a5 131 #define JCUJCDRID JCU.JCDRID
bogdanm 92:4fc01daae5a5 132 #define JCUJCVSZU JCU.JCVSZU
bogdanm 92:4fc01daae5a5 133 #define JCUJCVSZD JCU.JCVSZD
bogdanm 92:4fc01daae5a5 134 #define JCUJCHSZU JCU.JCHSZU
bogdanm 92:4fc01daae5a5 135 #define JCUJCHSZD JCU.JCHSZD
bogdanm 92:4fc01daae5a5 136 #define JCUJCDTCU JCU.JCDTCU
bogdanm 92:4fc01daae5a5 137 #define JCUJCDTCM JCU.JCDTCM
bogdanm 92:4fc01daae5a5 138 #define JCUJCDTCD JCU.JCDTCD
bogdanm 92:4fc01daae5a5 139 #define JCUJINTE0 JCU.JINTE0
bogdanm 92:4fc01daae5a5 140 #define JCUJINTS0 JCU.JINTS0
bogdanm 92:4fc01daae5a5 141 #define JCUJCDERR JCU.JCDERR
bogdanm 92:4fc01daae5a5 142 #define JCUJCRST JCU.JCRST
bogdanm 92:4fc01daae5a5 143 #define JCUJIFECNT JCU.JIFECNT
bogdanm 92:4fc01daae5a5 144 #define JCUJIFESA JCU.JIFESA
bogdanm 92:4fc01daae5a5 145 #define JCUJIFESOFST JCU.JIFESOFST
bogdanm 92:4fc01daae5a5 146 #define JCUJIFEDA JCU.JIFEDA
bogdanm 92:4fc01daae5a5 147 #define JCUJIFESLC JCU.JIFESLC
bogdanm 92:4fc01daae5a5 148 #define JCUJIFEDDC JCU.JIFEDDC
bogdanm 92:4fc01daae5a5 149 #define JCUJIFDCNT JCU.JIFDCNT
bogdanm 92:4fc01daae5a5 150 #define JCUJIFDSA JCU.JIFDSA
bogdanm 92:4fc01daae5a5 151 #define JCUJIFDDOFST JCU.JIFDDOFST
bogdanm 92:4fc01daae5a5 152 #define JCUJIFDDA JCU.JIFDDA
bogdanm 92:4fc01daae5a5 153 #define JCUJIFDSDC JCU.JIFDSDC
bogdanm 92:4fc01daae5a5 154 #define JCUJIFDDLC JCU.JIFDDLC
bogdanm 92:4fc01daae5a5 155 #define JCUJIFDADT JCU.JIFDADT
bogdanm 92:4fc01daae5a5 156 #define JCUJINTE1 JCU.JINTE1
bogdanm 92:4fc01daae5a5 157 #define JCUJINTS1 JCU.JINTS1
bogdanm 92:4fc01daae5a5 158 #define JCUJIFESVSZ JCU.JIFESVSZ
bogdanm 92:4fc01daae5a5 159 #define JCUJIFESHSZ JCU.JIFESHSZ
bogdanm 92:4fc01daae5a5 160 #define JCUJCQTBL0 JCU.JCQTBL0
bogdanm 92:4fc01daae5a5 161 #define JCUJCQTBL1 JCU.JCQTBL1
bogdanm 92:4fc01daae5a5 162 #define JCUJCQTBL2 JCU.JCQTBL2
bogdanm 92:4fc01daae5a5 163 #define JCUJCQTBL3 JCU.JCQTBL3
bogdanm 92:4fc01daae5a5 164 #define JCUJCHTBD0 JCU.JCHTBD0
bogdanm 92:4fc01daae5a5 165 #define JCUJCHTBA0 JCU.JCHTBA0
bogdanm 92:4fc01daae5a5 166 #define JCUJCHTBD1 JCU.JCHTBD1
bogdanm 92:4fc01daae5a5 167 #define JCUJCHTBA1 JCU.JCHTBA1
bogdanm 92:4fc01daae5a5 168 /* <-SEC M1.10.1 */
bogdanm 92:4fc01daae5a5 169 #endif