meh
Fork of mbed by
TARGET_RZ_A1H/disc_iodefine.h@118:16969dd821af, 2016-04-05 (annotated)
- Committer:
- ricardobtez
- Date:
- Tue Apr 05 23:51:21 2016 +0000
- Revision:
- 118:16969dd821af
- Parent:
- 92:4fc01daae5a5
dgdgr
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 : disc_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 DISC_IODEFINE_H |
bogdanm | 92:4fc01daae5a5 | 30 | #define DISC_IODEFINE_H |
bogdanm | 92:4fc01daae5a5 | 31 | /* ->SEC M1.10.1 : Not magic number */ |
bogdanm | 92:4fc01daae5a5 | 32 | |
bogdanm | 92:4fc01daae5a5 | 33 | struct st_disc |
bogdanm | 92:4fc01daae5a5 | 34 | { /* DISC */ |
bogdanm | 92:4fc01daae5a5 | 35 | volatile uint32_t DOCMCR; /* DOCMCR */ |
bogdanm | 92:4fc01daae5a5 | 36 | volatile uint32_t DOCMSTR; /* DOCMSTR */ |
bogdanm | 92:4fc01daae5a5 | 37 | volatile uint32_t DOCMCLSTR; /* DOCMCLSTR */ |
bogdanm | 92:4fc01daae5a5 | 38 | volatile uint32_t DOCMIENR; /* DOCMIENR */ |
bogdanm | 92:4fc01daae5a5 | 39 | volatile uint8_t dummy1[4]; /* */ |
bogdanm | 92:4fc01daae5a5 | 40 | volatile uint32_t DOCMPMR; /* DOCMPMR */ |
bogdanm | 92:4fc01daae5a5 | 41 | volatile uint32_t DOCMECRCR; /* DOCMECRCR */ |
bogdanm | 92:4fc01daae5a5 | 42 | volatile uint32_t DOCMCCRCR; /* DOCMCCRCR */ |
bogdanm | 92:4fc01daae5a5 | 43 | volatile uint32_t DOCMSPXR; /* DOCMSPXR */ |
bogdanm | 92:4fc01daae5a5 | 44 | volatile uint32_t DOCMSPYR; /* DOCMSPYR */ |
bogdanm | 92:4fc01daae5a5 | 45 | volatile uint32_t DOCMSZXR; /* DOCMSZXR */ |
bogdanm | 92:4fc01daae5a5 | 46 | volatile uint32_t DOCMSZYR; /* DOCMSZYR */ |
bogdanm | 92:4fc01daae5a5 | 47 | volatile uint32_t DOCMCRCIR; /* DOCMCRCIR */ |
bogdanm | 92:4fc01daae5a5 | 48 | }; |
bogdanm | 92:4fc01daae5a5 | 49 | |
bogdanm | 92:4fc01daae5a5 | 50 | |
bogdanm | 92:4fc01daae5a5 | 51 | #define DISC0 (*(struct st_disc *)0xFCFFA800uL) /* DISC0 */ |
bogdanm | 92:4fc01daae5a5 | 52 | #define DISC1 (*(struct st_disc *)0xFCFFB000uL) /* DISC1 */ |
bogdanm | 92:4fc01daae5a5 | 53 | |
bogdanm | 92:4fc01daae5a5 | 54 | |
bogdanm | 92:4fc01daae5a5 | 55 | /* Start of channnel array defines of DISC */ |
bogdanm | 92:4fc01daae5a5 | 56 | |
bogdanm | 92:4fc01daae5a5 | 57 | /* Channnel array defines of DISC */ |
bogdanm | 92:4fc01daae5a5 | 58 | /*(Sample) value = DISC[ channel ]->DOCMCR; */ |
bogdanm | 92:4fc01daae5a5 | 59 | #define DISC_COUNT 2 |
bogdanm | 92:4fc01daae5a5 | 60 | #define DISC_ADDRESS_LIST \ |
bogdanm | 92:4fc01daae5a5 | 61 | { /* ->MISRA 11.3 */ /* ->SEC R2.7.1 */ \ |
bogdanm | 92:4fc01daae5a5 | 62 | &DISC0, &DISC1 \ |
bogdanm | 92:4fc01daae5a5 | 63 | } /* <-MISRA 11.3 */ /* <-SEC R2.7.1 */ /* { } is for MISRA 19.4 */ |
bogdanm | 92:4fc01daae5a5 | 64 | |
bogdanm | 92:4fc01daae5a5 | 65 | /* End of channnel array defines of DISC */ |
bogdanm | 92:4fc01daae5a5 | 66 | |
bogdanm | 92:4fc01daae5a5 | 67 | |
bogdanm | 92:4fc01daae5a5 | 68 | #define DISC0DOCMCR DISC0.DOCMCR |
bogdanm | 92:4fc01daae5a5 | 69 | #define DISC0DOCMSTR DISC0.DOCMSTR |
bogdanm | 92:4fc01daae5a5 | 70 | #define DISC0DOCMCLSTR DISC0.DOCMCLSTR |
bogdanm | 92:4fc01daae5a5 | 71 | #define DISC0DOCMIENR DISC0.DOCMIENR |
bogdanm | 92:4fc01daae5a5 | 72 | #define DISC0DOCMPMR DISC0.DOCMPMR |
bogdanm | 92:4fc01daae5a5 | 73 | #define DISC0DOCMECRCR DISC0.DOCMECRCR |
bogdanm | 92:4fc01daae5a5 | 74 | #define DISC0DOCMCCRCR DISC0.DOCMCCRCR |
bogdanm | 92:4fc01daae5a5 | 75 | #define DISC0DOCMSPXR DISC0.DOCMSPXR |
bogdanm | 92:4fc01daae5a5 | 76 | #define DISC0DOCMSPYR DISC0.DOCMSPYR |
bogdanm | 92:4fc01daae5a5 | 77 | #define DISC0DOCMSZXR DISC0.DOCMSZXR |
bogdanm | 92:4fc01daae5a5 | 78 | #define DISC0DOCMSZYR DISC0.DOCMSZYR |
bogdanm | 92:4fc01daae5a5 | 79 | #define DISC0DOCMCRCIR DISC0.DOCMCRCIR |
bogdanm | 92:4fc01daae5a5 | 80 | #define DISC1DOCMCR DISC1.DOCMCR |
bogdanm | 92:4fc01daae5a5 | 81 | #define DISC1DOCMSTR DISC1.DOCMSTR |
bogdanm | 92:4fc01daae5a5 | 82 | #define DISC1DOCMCLSTR DISC1.DOCMCLSTR |
bogdanm | 92:4fc01daae5a5 | 83 | #define DISC1DOCMIENR DISC1.DOCMIENR |
bogdanm | 92:4fc01daae5a5 | 84 | #define DISC1DOCMPMR DISC1.DOCMPMR |
bogdanm | 92:4fc01daae5a5 | 85 | #define DISC1DOCMECRCR DISC1.DOCMECRCR |
bogdanm | 92:4fc01daae5a5 | 86 | #define DISC1DOCMCCRCR DISC1.DOCMCCRCR |
bogdanm | 92:4fc01daae5a5 | 87 | #define DISC1DOCMSPXR DISC1.DOCMSPXR |
bogdanm | 92:4fc01daae5a5 | 88 | #define DISC1DOCMSPYR DISC1.DOCMSPYR |
bogdanm | 92:4fc01daae5a5 | 89 | #define DISC1DOCMSZXR DISC1.DOCMSZXR |
bogdanm | 92:4fc01daae5a5 | 90 | #define DISC1DOCMSZYR DISC1.DOCMSZYR |
bogdanm | 92:4fc01daae5a5 | 91 | #define DISC1DOCMCRCIR DISC1.DOCMCRCIR |
bogdanm | 92:4fc01daae5a5 | 92 | /* <-SEC M1.10.1 */ |
bogdanm | 92:4fc01daae5a5 | 93 | #endif |