mbed library sources

Fork of mbed-src by mbed official

Committer:
mbed_official
Date:
Thu Nov 06 11:00:10 2014 +0000
Revision:
390:35c2c1cf29cd
Synchronized with git revision 8724eb616b6e07a3bd111d3022652eb5bbefe9b7

Full URL: https://github.com/mbedmicro/mbed/commit/8724eb616b6e07a3bd111d3022652eb5bbefe9b7/

[RZ/A1H] mbed-RZ first release

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 390:35c2c1cf29cd 1 /*******************************************************************************
mbed_official 390:35c2c1cf29cd 2 * DISCLAIMER
mbed_official 390:35c2c1cf29cd 3 * This software is supplied by Renesas Electronics Corporation and is only
mbed_official 390:35c2c1cf29cd 4 * intended for use with Renesas products. No other uses are authorized. This
mbed_official 390:35c2c1cf29cd 5 * software is owned by Renesas Electronics Corporation and is protected under
mbed_official 390:35c2c1cf29cd 6 * all applicable laws, including copyright laws.
mbed_official 390:35c2c1cf29cd 7 * THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING
mbed_official 390:35c2c1cf29cd 8 * THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT
mbed_official 390:35c2c1cf29cd 9 * LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
mbed_official 390:35c2c1cf29cd 10 * AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED.
mbed_official 390:35c2c1cf29cd 11 * TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS
mbed_official 390:35c2c1cf29cd 12 * ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE
mbed_official 390:35c2c1cf29cd 13 * FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR
mbed_official 390:35c2c1cf29cd 14 * ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE
mbed_official 390:35c2c1cf29cd 15 * BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
mbed_official 390:35c2c1cf29cd 16 * Renesas reserves the right, without notice, to make changes to this software
mbed_official 390:35c2c1cf29cd 17 * and to discontinue the availability of this software. By using this software,
mbed_official 390:35c2c1cf29cd 18 * you agree to the additional terms and conditions found by accessing the
mbed_official 390:35c2c1cf29cd 19 * following link:
mbed_official 390:35c2c1cf29cd 20 * http://www.renesas.com/disclaimer*
mbed_official 390:35c2c1cf29cd 21 * Copyright (C) 2013-2014 Renesas Electronics Corporation. All rights reserved.
mbed_official 390:35c2c1cf29cd 22 *******************************************************************************/
mbed_official 390:35c2c1cf29cd 23 /*******************************************************************************
mbed_official 390:35c2c1cf29cd 24 * File Name : sdg_iodefine.h
mbed_official 390:35c2c1cf29cd 25 * $Rev: $
mbed_official 390:35c2c1cf29cd 26 * $Date:: $
mbed_official 390:35c2c1cf29cd 27 * Description : Definition of I/O Register (V1.00a)
mbed_official 390:35c2c1cf29cd 28 ******************************************************************************/
mbed_official 390:35c2c1cf29cd 29 #ifndef SDG_IODEFINE_H
mbed_official 390:35c2c1cf29cd 30 #define SDG_IODEFINE_H
mbed_official 390:35c2c1cf29cd 31
mbed_official 390:35c2c1cf29cd 32 struct st_sdg
mbed_official 390:35c2c1cf29cd 33 { /* SDG */
mbed_official 390:35c2c1cf29cd 34 volatile uint8_t SGCR1; /* SGCR1 */
mbed_official 390:35c2c1cf29cd 35 volatile uint8_t SGCSR; /* SGCSR */
mbed_official 390:35c2c1cf29cd 36 volatile uint8_t SGCR2; /* SGCR2 */
mbed_official 390:35c2c1cf29cd 37 volatile uint8_t SGLR; /* SGLR */
mbed_official 390:35c2c1cf29cd 38 volatile uint8_t SGTFR; /* SGTFR */
mbed_official 390:35c2c1cf29cd 39 volatile uint8_t SGSFR; /* SGSFR */
mbed_official 390:35c2c1cf29cd 40 };
mbed_official 390:35c2c1cf29cd 41
mbed_official 390:35c2c1cf29cd 42
mbed_official 390:35c2c1cf29cd 43 #define SDG0 (*(struct st_sdg *)0xFCFF4800uL) /* SDG0 */
mbed_official 390:35c2c1cf29cd 44 #define SDG1 (*(struct st_sdg *)0xFCFF4A00uL) /* SDG1 */
mbed_official 390:35c2c1cf29cd 45 #define SDG2 (*(struct st_sdg *)0xFCFF4C00uL) /* SDG2 */
mbed_official 390:35c2c1cf29cd 46 #define SDG3 (*(struct st_sdg *)0xFCFF4E00uL) /* SDG3 */
mbed_official 390:35c2c1cf29cd 47
mbed_official 390:35c2c1cf29cd 48
mbed_official 390:35c2c1cf29cd 49 /* Start of channnel array defines of SDG */
mbed_official 390:35c2c1cf29cd 50
mbed_official 390:35c2c1cf29cd 51 /* Channnel array defines of SDG */
mbed_official 390:35c2c1cf29cd 52 /*(Sample) value = SDG[ channel ]->SGCR1; */
mbed_official 390:35c2c1cf29cd 53 #define SDG_COUNT 4
mbed_official 390:35c2c1cf29cd 54 #define SDG_ADDRESS_LIST \
mbed_official 390:35c2c1cf29cd 55 { /* ->MISRA 11.3 */ /* ->SEC R2.7.1 */ \
mbed_official 390:35c2c1cf29cd 56 &SDG0, &SDG1, &SDG2, &SDG3 \
mbed_official 390:35c2c1cf29cd 57 } /* <-MISRA 11.3 */ /* <-SEC R2.7.1 */ /* { } is for MISRA 19.4 */
mbed_official 390:35c2c1cf29cd 58
mbed_official 390:35c2c1cf29cd 59 /* End of channnel array defines of SDG */
mbed_official 390:35c2c1cf29cd 60
mbed_official 390:35c2c1cf29cd 61
mbed_official 390:35c2c1cf29cd 62 #define SGCR1_0 SDG0.SGCR1
mbed_official 390:35c2c1cf29cd 63 #define SGCSR_0 SDG0.SGCSR
mbed_official 390:35c2c1cf29cd 64 #define SGCR2_0 SDG0.SGCR2
mbed_official 390:35c2c1cf29cd 65 #define SGLR_0 SDG0.SGLR
mbed_official 390:35c2c1cf29cd 66 #define SGTFR_0 SDG0.SGTFR
mbed_official 390:35c2c1cf29cd 67 #define SGSFR_0 SDG0.SGSFR
mbed_official 390:35c2c1cf29cd 68 #define SGCR1_1 SDG1.SGCR1
mbed_official 390:35c2c1cf29cd 69 #define SGCSR_1 SDG1.SGCSR
mbed_official 390:35c2c1cf29cd 70 #define SGCR2_1 SDG1.SGCR2
mbed_official 390:35c2c1cf29cd 71 #define SGLR_1 SDG1.SGLR
mbed_official 390:35c2c1cf29cd 72 #define SGTFR_1 SDG1.SGTFR
mbed_official 390:35c2c1cf29cd 73 #define SGSFR_1 SDG1.SGSFR
mbed_official 390:35c2c1cf29cd 74 #define SGCR1_2 SDG2.SGCR1
mbed_official 390:35c2c1cf29cd 75 #define SGCSR_2 SDG2.SGCSR
mbed_official 390:35c2c1cf29cd 76 #define SGCR2_2 SDG2.SGCR2
mbed_official 390:35c2c1cf29cd 77 #define SGLR_2 SDG2.SGLR
mbed_official 390:35c2c1cf29cd 78 #define SGTFR_2 SDG2.SGTFR
mbed_official 390:35c2c1cf29cd 79 #define SGSFR_2 SDG2.SGSFR
mbed_official 390:35c2c1cf29cd 80 #define SGCR1_3 SDG3.SGCR1
mbed_official 390:35c2c1cf29cd 81 #define SGCSR_3 SDG3.SGCSR
mbed_official 390:35c2c1cf29cd 82 #define SGCR2_3 SDG3.SGCR2
mbed_official 390:35c2c1cf29cd 83 #define SGLR_3 SDG3.SGLR
mbed_official 390:35c2c1cf29cd 84 #define SGTFR_3 SDG3.SGTFR
mbed_official 390:35c2c1cf29cd 85 #define SGSFR_3 SDG3.SGSFR
mbed_official 390:35c2c1cf29cd 86 #endif