/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/hal/adc/fsl_adc_hal.h substitute line 894 extern } by }
Fork of mbed by
TARGET_RZ_A1H/cpg_iodefine.h@93:9dd889aeda0e, 2014-12-05 (annotated)
- Committer:
- fblanc
- Date:
- Fri Dec 05 15:42:32 2014 +0000
- Revision:
- 93:9dd889aeda0e
- Parent:
- 92:4fc01daae5a5
substitute line 894 extern } by }; /TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/hal/adc/fsl_adc_hal.h
Who changed what in which revision?
User | Revision | Line number | New 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 : cpg_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 CPG_IODEFINE_H |
bogdanm | 92:4fc01daae5a5 | 30 | #define CPG_IODEFINE_H |
bogdanm | 92:4fc01daae5a5 | 31 | /* ->SEC M1.10.1 : Not magic number */ |
bogdanm | 92:4fc01daae5a5 | 32 | |
bogdanm | 92:4fc01daae5a5 | 33 | struct st_cpg |
bogdanm | 92:4fc01daae5a5 | 34 | { /* CPG */ |
bogdanm | 92:4fc01daae5a5 | 35 | volatile uint16_t FRQCR; /* FRQCR */ |
bogdanm | 92:4fc01daae5a5 | 36 | volatile uint8_t dummy319[2]; /* */ |
bogdanm | 92:4fc01daae5a5 | 37 | volatile uint16_t FRQCR2; /* FRQCR2 */ |
bogdanm | 92:4fc01daae5a5 | 38 | volatile uint8_t dummy320[2]; /* */ |
bogdanm | 92:4fc01daae5a5 | 39 | volatile uint8_t CPUSTS; /* CPUSTS */ |
bogdanm | 92:4fc01daae5a5 | 40 | volatile uint8_t dummy321[7]; /* */ |
bogdanm | 92:4fc01daae5a5 | 41 | volatile uint8_t STBCR1; /* STBCR1 */ |
bogdanm | 92:4fc01daae5a5 | 42 | volatile uint8_t dummy322[3]; /* */ |
bogdanm | 92:4fc01daae5a5 | 43 | volatile uint8_t STBCR2; /* STBCR2 */ |
bogdanm | 92:4fc01daae5a5 | 44 | volatile uint8_t dummy323[11]; /* */ |
bogdanm | 92:4fc01daae5a5 | 45 | volatile uint8_t STBREQ1; /* STBREQ1 */ |
bogdanm | 92:4fc01daae5a5 | 46 | volatile uint8_t dummy324[3]; /* */ |
bogdanm | 92:4fc01daae5a5 | 47 | volatile uint8_t STBREQ2; /* STBREQ2 */ |
bogdanm | 92:4fc01daae5a5 | 48 | volatile uint8_t dummy325[11]; /* */ |
bogdanm | 92:4fc01daae5a5 | 49 | volatile uint8_t STBACK1; /* STBACK1 */ |
bogdanm | 92:4fc01daae5a5 | 50 | volatile uint8_t dummy326[3]; /* */ |
bogdanm | 92:4fc01daae5a5 | 51 | volatile uint8_t STBACK2; /* STBACK2 */ |
bogdanm | 92:4fc01daae5a5 | 52 | volatile uint8_t dummy327[955]; /* */ |
bogdanm | 92:4fc01daae5a5 | 53 | /* start of struct st_cpg_from_syscr1 */ |
bogdanm | 92:4fc01daae5a5 | 54 | volatile uint8_t SYSCR1; /* SYSCR1 */ |
bogdanm | 92:4fc01daae5a5 | 55 | volatile uint8_t dummy328[3]; /* */ |
bogdanm | 92:4fc01daae5a5 | 56 | /* end of struct st_cpg_from_syscr1 */ |
bogdanm | 92:4fc01daae5a5 | 57 | /* start of struct st_cpg_from_syscr1 */ |
bogdanm | 92:4fc01daae5a5 | 58 | volatile uint8_t SYSCR2; /* SYSCR2 */ |
bogdanm | 92:4fc01daae5a5 | 59 | volatile uint8_t dummy329[3]; /* */ |
bogdanm | 92:4fc01daae5a5 | 60 | /* end of struct st_cpg_from_syscr1 */ |
bogdanm | 92:4fc01daae5a5 | 61 | /* start of struct st_cpg_from_syscr1 */ |
bogdanm | 92:4fc01daae5a5 | 62 | volatile uint8_t SYSCR3; /* SYSCR3 */ |
bogdanm | 92:4fc01daae5a5 | 63 | volatile uint8_t dummy3300[3]; /* */ |
bogdanm | 92:4fc01daae5a5 | 64 | /* end of struct st_cpg_from_syscr1 */ |
bogdanm | 92:4fc01daae5a5 | 65 | volatile uint8_t dummy3301[20]; /* */ |
bogdanm | 92:4fc01daae5a5 | 66 | /* start of struct st_cpg_from_stbcr3 */ |
bogdanm | 92:4fc01daae5a5 | 67 | volatile uint8_t STBCR3; /* STBCR3 */ |
bogdanm | 92:4fc01daae5a5 | 68 | volatile uint8_t dummy331[3]; /* */ |
bogdanm | 92:4fc01daae5a5 | 69 | /* end of struct st_cpg_from_stbcr3 */ |
bogdanm | 92:4fc01daae5a5 | 70 | /* start of struct st_cpg_from_stbcr3 */ |
bogdanm | 92:4fc01daae5a5 | 71 | volatile uint8_t STBCR4; /* STBCR4 */ |
bogdanm | 92:4fc01daae5a5 | 72 | volatile uint8_t dummy332[3]; /* */ |
bogdanm | 92:4fc01daae5a5 | 73 | /* end of struct st_cpg_from_stbcr3 */ |
bogdanm | 92:4fc01daae5a5 | 74 | /* start of struct st_cpg_from_stbcr3 */ |
bogdanm | 92:4fc01daae5a5 | 75 | volatile uint8_t STBCR5; /* STBCR5 */ |
bogdanm | 92:4fc01daae5a5 | 76 | volatile uint8_t dummy333[3]; /* */ |
bogdanm | 92:4fc01daae5a5 | 77 | /* end of struct st_cpg_from_stbcr3 */ |
bogdanm | 92:4fc01daae5a5 | 78 | /* start of struct st_cpg_from_stbcr3 */ |
bogdanm | 92:4fc01daae5a5 | 79 | volatile uint8_t STBCR6; /* STBCR6 */ |
bogdanm | 92:4fc01daae5a5 | 80 | volatile uint8_t dummy334[3]; /* */ |
bogdanm | 92:4fc01daae5a5 | 81 | /* end of struct st_cpg_from_stbcr3 */ |
bogdanm | 92:4fc01daae5a5 | 82 | /* start of struct st_cpg_from_stbcr3 */ |
bogdanm | 92:4fc01daae5a5 | 83 | volatile uint8_t STBCR7; /* STBCR7 */ |
bogdanm | 92:4fc01daae5a5 | 84 | volatile uint8_t dummy335[3]; /* */ |
bogdanm | 92:4fc01daae5a5 | 85 | /* end of struct st_cpg_from_stbcr3 */ |
bogdanm | 92:4fc01daae5a5 | 86 | /* start of struct st_cpg_from_stbcr3 */ |
bogdanm | 92:4fc01daae5a5 | 87 | volatile uint8_t STBCR8; /* STBCR8 */ |
bogdanm | 92:4fc01daae5a5 | 88 | volatile uint8_t dummy336[3]; /* */ |
bogdanm | 92:4fc01daae5a5 | 89 | /* end of struct st_cpg_from_stbcr3 */ |
bogdanm | 92:4fc01daae5a5 | 90 | /* start of struct st_cpg_from_stbcr3 */ |
bogdanm | 92:4fc01daae5a5 | 91 | volatile uint8_t STBCR9; /* STBCR9 */ |
bogdanm | 92:4fc01daae5a5 | 92 | volatile uint8_t dummy337[3]; /* */ |
bogdanm | 92:4fc01daae5a5 | 93 | /* end of struct st_cpg_from_stbcr3 */ |
bogdanm | 92:4fc01daae5a5 | 94 | /* start of struct st_cpg_from_stbcr3 */ |
bogdanm | 92:4fc01daae5a5 | 95 | volatile uint8_t STBCR10; /* STBCR10 */ |
bogdanm | 92:4fc01daae5a5 | 96 | volatile uint8_t dummy338[3]; /* */ |
bogdanm | 92:4fc01daae5a5 | 97 | /* end of struct st_cpg_from_stbcr3 */ |
bogdanm | 92:4fc01daae5a5 | 98 | /* start of struct st_cpg_from_stbcr3 */ |
bogdanm | 92:4fc01daae5a5 | 99 | volatile uint8_t STBCR11; /* STBCR11 */ |
bogdanm | 92:4fc01daae5a5 | 100 | volatile uint8_t dummy339[3]; /* */ |
bogdanm | 92:4fc01daae5a5 | 101 | /* end of struct st_cpg_from_stbcr3 */ |
bogdanm | 92:4fc01daae5a5 | 102 | /* start of struct st_cpg_from_stbcr3 */ |
bogdanm | 92:4fc01daae5a5 | 103 | volatile uint8_t STBCR12; /* STBCR12 */ |
bogdanm | 92:4fc01daae5a5 | 104 | volatile uint8_t dummy3400[3]; /* */ |
bogdanm | 92:4fc01daae5a5 | 105 | /* end of struct st_cpg_from_stbcr3 */ |
bogdanm | 92:4fc01daae5a5 | 106 | volatile uint8_t dummy3401[24]; /* */ |
bogdanm | 92:4fc01daae5a5 | 107 | /* start of struct st_cpg_from_swrstcr1 */ |
bogdanm | 92:4fc01daae5a5 | 108 | volatile uint8_t SWRSTCR1; /* SWRSTCR1 */ |
bogdanm | 92:4fc01daae5a5 | 109 | volatile uint8_t dummy341[3]; /* */ |
bogdanm | 92:4fc01daae5a5 | 110 | /* end of struct st_cpg_from_swrstcr1 */ |
bogdanm | 92:4fc01daae5a5 | 111 | /* start of struct st_cpg_from_swrstcr1 */ |
bogdanm | 92:4fc01daae5a5 | 112 | volatile uint8_t SWRSTCR2; /* SWRSTCR2 */ |
bogdanm | 92:4fc01daae5a5 | 113 | volatile uint8_t dummy342[3]; /* */ |
bogdanm | 92:4fc01daae5a5 | 114 | /* end of struct st_cpg_from_swrstcr1 */ |
bogdanm | 92:4fc01daae5a5 | 115 | /* start of struct st_cpg_from_swrstcr1 */ |
bogdanm | 92:4fc01daae5a5 | 116 | volatile uint8_t SWRSTCR3; /* SWRSTCR3 */ |
bogdanm | 92:4fc01daae5a5 | 117 | volatile uint8_t dummy3430[3]; /* */ |
bogdanm | 92:4fc01daae5a5 | 118 | /* end of struct st_cpg_from_swrstcr1 */ |
bogdanm | 92:4fc01daae5a5 | 119 | volatile uint8_t dummy3431[4]; /* */ |
bogdanm | 92:4fc01daae5a5 | 120 | volatile uint8_t STBCR13; /* STBCR13 */ |
bogdanm | 92:4fc01daae5a5 | 121 | volatile uint8_t dummy344[70543]; /* */ |
bogdanm | 92:4fc01daae5a5 | 122 | volatile uint8_t RRAMKP; /* RRAMKP */ |
bogdanm | 92:4fc01daae5a5 | 123 | volatile uint8_t dummy345[1]; /* */ |
bogdanm | 92:4fc01daae5a5 | 124 | volatile uint8_t DSCTR; /* DSCTR */ |
bogdanm | 92:4fc01daae5a5 | 125 | volatile uint8_t dummy346[1]; /* */ |
bogdanm | 92:4fc01daae5a5 | 126 | volatile uint16_t DSSSR; /* DSSSR */ |
bogdanm | 92:4fc01daae5a5 | 127 | volatile uint16_t DSESR; /* DSESR */ |
bogdanm | 92:4fc01daae5a5 | 128 | volatile uint16_t DSFR; /* DSFR */ |
bogdanm | 92:4fc01daae5a5 | 129 | volatile uint8_t dummy347[6]; /* */ |
bogdanm | 92:4fc01daae5a5 | 130 | volatile uint8_t XTALCTR; /* XTALCTR */ |
bogdanm | 92:4fc01daae5a5 | 131 | }; |
bogdanm | 92:4fc01daae5a5 | 132 | |
bogdanm | 92:4fc01daae5a5 | 133 | |
bogdanm | 92:4fc01daae5a5 | 134 | struct st_cpg_from_syscr1 |
bogdanm | 92:4fc01daae5a5 | 135 | { |
bogdanm | 92:4fc01daae5a5 | 136 | volatile uint8_t SYSCR1; /* SYSCR1 */ |
bogdanm | 92:4fc01daae5a5 | 137 | volatile uint8_t dummy1[3]; /* */ |
bogdanm | 92:4fc01daae5a5 | 138 | }; |
bogdanm | 92:4fc01daae5a5 | 139 | |
bogdanm | 92:4fc01daae5a5 | 140 | |
bogdanm | 92:4fc01daae5a5 | 141 | struct st_cpg_from_stbcr3 |
bogdanm | 92:4fc01daae5a5 | 142 | { |
bogdanm | 92:4fc01daae5a5 | 143 | volatile uint8_t STBCR3; /* STBCR3 */ |
bogdanm | 92:4fc01daae5a5 | 144 | volatile uint8_t dummy1[3]; /* */ |
bogdanm | 92:4fc01daae5a5 | 145 | }; |
bogdanm | 92:4fc01daae5a5 | 146 | |
bogdanm | 92:4fc01daae5a5 | 147 | |
bogdanm | 92:4fc01daae5a5 | 148 | struct st_cpg_from_swrstcr1 |
bogdanm | 92:4fc01daae5a5 | 149 | { |
bogdanm | 92:4fc01daae5a5 | 150 | volatile uint8_t SWRSTCR1; /* SWRSTCR1 */ |
bogdanm | 92:4fc01daae5a5 | 151 | volatile uint8_t dummy1[3]; /* */ |
bogdanm | 92:4fc01daae5a5 | 152 | }; |
bogdanm | 92:4fc01daae5a5 | 153 | |
bogdanm | 92:4fc01daae5a5 | 154 | |
bogdanm | 92:4fc01daae5a5 | 155 | #define CPG (*(struct st_cpg *)0xFCFE0010uL) /* CPG */ |
bogdanm | 92:4fc01daae5a5 | 156 | |
bogdanm | 92:4fc01daae5a5 | 157 | |
bogdanm | 92:4fc01daae5a5 | 158 | /* Start of channnel array defines of CPG */ |
bogdanm | 92:4fc01daae5a5 | 159 | |
bogdanm | 92:4fc01daae5a5 | 160 | /* Channnel array defines of CPG_FROM_SWRSTCR1_ARRAY */ |
bogdanm | 92:4fc01daae5a5 | 161 | /*(Sample) value = CPG_FROM_SWRSTCR1_ARRAY[ channel ]->SWRSTCR1; */ |
bogdanm | 92:4fc01daae5a5 | 162 | #define CPG_FROM_SWRSTCR1_ARRAY_COUNT 3 |
bogdanm | 92:4fc01daae5a5 | 163 | #define CPG_FROM_SWRSTCR1_ARRAY_ADDRESS_LIST \ |
bogdanm | 92:4fc01daae5a5 | 164 | { /* ->MISRA 11.3 */ /* ->SEC R2.7.1 */ \ |
bogdanm | 92:4fc01daae5a5 | 165 | &CPG_FROM_SWRSTCR1, &CPG_FROM_SWRSTCR2, &CPG_FROM_SWRSTCR3 \ |
bogdanm | 92:4fc01daae5a5 | 166 | } /* <-MISRA 11.3 */ /* <-SEC R2.7.1 */ /* { } is for MISRA 19.4 */ |
bogdanm | 92:4fc01daae5a5 | 167 | #define CPG_FROM_SWRSTCR1 (*(struct st_cpg_from_swrstcr1 *)&CPG.SWRSTCR1) /* CPG_FROM_SWRSTCR1 */ |
bogdanm | 92:4fc01daae5a5 | 168 | #define CPG_FROM_SWRSTCR2 (*(struct st_cpg_from_swrstcr1 *)&CPG.SWRSTCR2) /* CPG_FROM_SWRSTCR2 */ |
bogdanm | 92:4fc01daae5a5 | 169 | #define CPG_FROM_SWRSTCR3 (*(struct st_cpg_from_swrstcr1 *)&CPG.SWRSTCR3) /* CPG_FROM_SWRSTCR3 */ |
bogdanm | 92:4fc01daae5a5 | 170 | |
bogdanm | 92:4fc01daae5a5 | 171 | |
bogdanm | 92:4fc01daae5a5 | 172 | /* Channnel array defines of CPG_FROM_STBCR3_ARRAY */ |
bogdanm | 92:4fc01daae5a5 | 173 | /*(Sample) value = CPG_FROM_STBCR3_ARRAY[ channel ]->STBCR3; */ |
bogdanm | 92:4fc01daae5a5 | 174 | #define CPG_FROM_STBCR3_ARRAY_COUNT 10 |
bogdanm | 92:4fc01daae5a5 | 175 | #define CPG_FROM_STBCR3_ARRAY_ADDRESS_LIST \ |
bogdanm | 92:4fc01daae5a5 | 176 | { /* ->MISRA 11.3 */ /* ->SEC R2.7.1 */ \ |
bogdanm | 92:4fc01daae5a5 | 177 | &CPG_FROM_STBCR3, &CPG_FROM_STBCR4, &CPG_FROM_STBCR5, &CPG_FROM_STBCR6, &CPG_FROM_STBCR7, &CPG_FROM_STBCR8, &CPG_FROM_STBCR9, &CPG_FROM_STBCR10, \ |
bogdanm | 92:4fc01daae5a5 | 178 | &CPG_FROM_STBCR11, &CPG_FROM_STBCR12 \ |
bogdanm | 92:4fc01daae5a5 | 179 | } /* <-MISRA 11.3 */ /* <-SEC R2.7.1 */ /* { } is for MISRA 19.4 */ |
bogdanm | 92:4fc01daae5a5 | 180 | #define CPG_FROM_STBCR3 (*(struct st_cpg_from_stbcr3 *)&CPG.STBCR3) /* CPG_FROM_STBCR3 */ |
bogdanm | 92:4fc01daae5a5 | 181 | #define CPG_FROM_STBCR4 (*(struct st_cpg_from_stbcr3 *)&CPG.STBCR4) /* CPG_FROM_STBCR4 */ |
bogdanm | 92:4fc01daae5a5 | 182 | #define CPG_FROM_STBCR5 (*(struct st_cpg_from_stbcr3 *)&CPG.STBCR5) /* CPG_FROM_STBCR5 */ |
bogdanm | 92:4fc01daae5a5 | 183 | #define CPG_FROM_STBCR6 (*(struct st_cpg_from_stbcr3 *)&CPG.STBCR6) /* CPG_FROM_STBCR6 */ |
bogdanm | 92:4fc01daae5a5 | 184 | #define CPG_FROM_STBCR7 (*(struct st_cpg_from_stbcr3 *)&CPG.STBCR7) /* CPG_FROM_STBCR7 */ |
bogdanm | 92:4fc01daae5a5 | 185 | #define CPG_FROM_STBCR8 (*(struct st_cpg_from_stbcr3 *)&CPG.STBCR8) /* CPG_FROM_STBCR8 */ |
bogdanm | 92:4fc01daae5a5 | 186 | #define CPG_FROM_STBCR9 (*(struct st_cpg_from_stbcr3 *)&CPG.STBCR9) /* CPG_FROM_STBCR9 */ |
bogdanm | 92:4fc01daae5a5 | 187 | #define CPG_FROM_STBCR10 (*(struct st_cpg_from_stbcr3 *)&CPG.STBCR10) /* CPG_FROM_STBCR10 */ |
bogdanm | 92:4fc01daae5a5 | 188 | #define CPG_FROM_STBCR11 (*(struct st_cpg_from_stbcr3 *)&CPG.STBCR11) /* CPG_FROM_STBCR11 */ |
bogdanm | 92:4fc01daae5a5 | 189 | #define CPG_FROM_STBCR12 (*(struct st_cpg_from_stbcr3 *)&CPG.STBCR12) /* CPG_FROM_STBCR12 */ |
bogdanm | 92:4fc01daae5a5 | 190 | |
bogdanm | 92:4fc01daae5a5 | 191 | |
bogdanm | 92:4fc01daae5a5 | 192 | /* Channnel array defines of CPG_FROM_SYSCR1_ARRAY */ |
bogdanm | 92:4fc01daae5a5 | 193 | /*(Sample) value = CPG_FROM_SYSCR1_ARRAY[ channel ]->SYSCR1; */ |
bogdanm | 92:4fc01daae5a5 | 194 | #define CPG_FROM_SYSCR1_ARRAY_COUNT 3 |
bogdanm | 92:4fc01daae5a5 | 195 | #define CPG_FROM_SYSCR1_ARRAY_ADDRESS_LIST \ |
bogdanm | 92:4fc01daae5a5 | 196 | { /* ->MISRA 11.3 */ /* ->SEC R2.7.1 */ \ |
bogdanm | 92:4fc01daae5a5 | 197 | &CPG_FROM_SYSCR1, &CPG_FROM_SYSCR2, &CPG_FROM_SYSCR3 \ |
bogdanm | 92:4fc01daae5a5 | 198 | } /* <-MISRA 11.3 */ /* <-SEC R2.7.1 */ /* { } is for MISRA 19.4 */ |
bogdanm | 92:4fc01daae5a5 | 199 | #define CPG_FROM_SYSCR1 (*(struct st_cpg_from_syscr1 *)&CPG.SYSCR1) /* CPG_FROM_SYSCR1 */ |
bogdanm | 92:4fc01daae5a5 | 200 | #define CPG_FROM_SYSCR2 (*(struct st_cpg_from_syscr1 *)&CPG.SYSCR2) /* CPG_FROM_SYSCR2 */ |
bogdanm | 92:4fc01daae5a5 | 201 | #define CPG_FROM_SYSCR3 (*(struct st_cpg_from_syscr1 *)&CPG.SYSCR3) /* CPG_FROM_SYSCR3 */ |
bogdanm | 92:4fc01daae5a5 | 202 | |
bogdanm | 92:4fc01daae5a5 | 203 | /* End of channnel array defines of CPG */ |
bogdanm | 92:4fc01daae5a5 | 204 | |
bogdanm | 92:4fc01daae5a5 | 205 | |
bogdanm | 92:4fc01daae5a5 | 206 | #define CPGFRQCR CPG.FRQCR |
bogdanm | 92:4fc01daae5a5 | 207 | #define CPGFRQCR2 CPG.FRQCR2 |
bogdanm | 92:4fc01daae5a5 | 208 | #define CPGCPUSTS CPG.CPUSTS |
bogdanm | 92:4fc01daae5a5 | 209 | #define CPGSTBCR1 CPG.STBCR1 |
bogdanm | 92:4fc01daae5a5 | 210 | #define CPGSTBCR2 CPG.STBCR2 |
bogdanm | 92:4fc01daae5a5 | 211 | #define CPGSTBREQ1 CPG.STBREQ1 |
bogdanm | 92:4fc01daae5a5 | 212 | #define CPGSTBREQ2 CPG.STBREQ2 |
bogdanm | 92:4fc01daae5a5 | 213 | #define CPGSTBACK1 CPG.STBACK1 |
bogdanm | 92:4fc01daae5a5 | 214 | #define CPGSTBACK2 CPG.STBACK2 |
bogdanm | 92:4fc01daae5a5 | 215 | #define CPGSYSCR1 CPG.SYSCR1 |
bogdanm | 92:4fc01daae5a5 | 216 | #define CPGSYSCR2 CPG.SYSCR2 |
bogdanm | 92:4fc01daae5a5 | 217 | #define CPGSYSCR3 CPG.SYSCR3 |
bogdanm | 92:4fc01daae5a5 | 218 | #define CPGSTBCR3 CPG.STBCR3 |
bogdanm | 92:4fc01daae5a5 | 219 | #define CPGSTBCR4 CPG.STBCR4 |
bogdanm | 92:4fc01daae5a5 | 220 | #define CPGSTBCR5 CPG.STBCR5 |
bogdanm | 92:4fc01daae5a5 | 221 | #define CPGSTBCR6 CPG.STBCR6 |
bogdanm | 92:4fc01daae5a5 | 222 | #define CPGSTBCR7 CPG.STBCR7 |
bogdanm | 92:4fc01daae5a5 | 223 | #define CPGSTBCR8 CPG.STBCR8 |
bogdanm | 92:4fc01daae5a5 | 224 | #define CPGSTBCR9 CPG.STBCR9 |
bogdanm | 92:4fc01daae5a5 | 225 | #define CPGSTBCR10 CPG.STBCR10 |
bogdanm | 92:4fc01daae5a5 | 226 | #define CPGSTBCR11 CPG.STBCR11 |
bogdanm | 92:4fc01daae5a5 | 227 | #define CPGSTBCR12 CPG.STBCR12 |
bogdanm | 92:4fc01daae5a5 | 228 | #define CPGSWRSTCR1 CPG.SWRSTCR1 |
bogdanm | 92:4fc01daae5a5 | 229 | #define CPGSWRSTCR2 CPG.SWRSTCR2 |
bogdanm | 92:4fc01daae5a5 | 230 | #define CPGSWRSTCR3 CPG.SWRSTCR3 |
bogdanm | 92:4fc01daae5a5 | 231 | #define CPGSTBCR13 CPG.STBCR13 |
bogdanm | 92:4fc01daae5a5 | 232 | #define CPGRRAMKP CPG.RRAMKP |
bogdanm | 92:4fc01daae5a5 | 233 | #define CPGDSCTR CPG.DSCTR |
bogdanm | 92:4fc01daae5a5 | 234 | #define CPGDSSSR CPG.DSSSR |
bogdanm | 92:4fc01daae5a5 | 235 | #define CPGDSESR CPG.DSESR |
bogdanm | 92:4fc01daae5a5 | 236 | #define CPGDSFR CPG.DSFR |
bogdanm | 92:4fc01daae5a5 | 237 | #define CPGXTALCTR CPG.XTALCTR |
bogdanm | 92:4fc01daae5a5 | 238 | /* <-SEC M1.10.1 */ |
bogdanm | 92:4fc01daae5a5 | 239 | #endif |