[352] | 1 | /*******************************************************************************
|
---|
| 2 | * DISCLAIMER
|
---|
| 3 | * This software is supplied by Renesas Electronics Corporation and is only
|
---|
| 4 | * intended for use with Renesas products. No other uses are authorized. This
|
---|
| 5 | * software is owned by Renesas Electronics Corporation and is protected under
|
---|
| 6 | * all applicable laws, including copyright laws.
|
---|
| 7 | * THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING
|
---|
| 8 | * THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT
|
---|
| 9 | * LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
|
---|
| 10 | * AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED.
|
---|
| 11 | * TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS
|
---|
| 12 | * ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE
|
---|
| 13 | * FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR
|
---|
| 14 | * ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE
|
---|
| 15 | * BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
---|
| 16 | * Renesas reserves the right, without notice, to make changes to this software
|
---|
| 17 | * and to discontinue the availability of this software. By using this software,
|
---|
| 18 | * you agree to the additional terms and conditions found by accessing the
|
---|
| 19 | * following link:
|
---|
| 20 | * http://www.renesas.com/disclaimer*
|
---|
| 21 | * Copyright (C) 2013-2014 Renesas Electronics Corporation. All rights reserved.
|
---|
| 22 | *******************************************************************************/
|
---|
| 23 | /*******************************************************************************
|
---|
| 24 | * File Name : spdif_iodefine.h
|
---|
| 25 | * $Rev: $
|
---|
| 26 | * $Date:: $
|
---|
| 27 | * Description : Definition of I/O Register (V1.00a)
|
---|
| 28 | ******************************************************************************/
|
---|
| 29 | #ifndef SPDIF_IODEFINE_H
|
---|
| 30 | #define SPDIF_IODEFINE_H
|
---|
| 31 |
|
---|
| 32 | struct st_spdif
|
---|
| 33 | { /* SPDIF */
|
---|
| 34 | volatile uint32_t TLCA; /* TLCA */
|
---|
| 35 | volatile uint32_t TRCA; /* TRCA */
|
---|
| 36 | volatile uint32_t TLCS; /* TLCS */
|
---|
| 37 | volatile uint32_t TRCS; /* TRCS */
|
---|
| 38 | volatile uint32_t TUI; /* TUI */
|
---|
| 39 | volatile uint32_t RLCA; /* RLCA */
|
---|
| 40 | volatile uint32_t RRCA; /* RRCA */
|
---|
| 41 | volatile uint32_t RLCS; /* RLCS */
|
---|
| 42 | volatile uint32_t RRCS; /* RRCS */
|
---|
| 43 | volatile uint32_t RUI; /* RUI */
|
---|
| 44 | volatile uint32_t CTRL; /* CTRL */
|
---|
| 45 | volatile uint32_t STAT; /* STAT */
|
---|
| 46 | volatile uint32_t TDAD; /* TDAD */
|
---|
| 47 | volatile uint32_t RDAD; /* RDAD */
|
---|
| 48 | };
|
---|
| 49 |
|
---|
| 50 |
|
---|
| 51 | #define SPDIF (*(struct st_spdif *)0xE8012000uL) /* SPDIF */
|
---|
| 52 |
|
---|
| 53 |
|
---|
| 54 | #define SPDIFTLCA SPDIF.TLCA
|
---|
| 55 | #define SPDIFTRCA SPDIF.TRCA
|
---|
| 56 | #define SPDIFTLCS SPDIF.TLCS
|
---|
| 57 | #define SPDIFTRCS SPDIF.TRCS
|
---|
| 58 | #define SPDIFTUI SPDIF.TUI
|
---|
| 59 | #define SPDIFRLCA SPDIF.RLCA
|
---|
| 60 | #define SPDIFRRCA SPDIF.RRCA
|
---|
| 61 | #define SPDIFRLCS SPDIF.RLCS
|
---|
| 62 | #define SPDIFRRCS SPDIF.RRCS
|
---|
| 63 | #define SPDIFRUI SPDIF.RUI
|
---|
| 64 | #define SPDIFCTRL SPDIF.CTRL
|
---|
| 65 | #define SPDIFSTAT SPDIF.STAT
|
---|
| 66 | #define SPDIFTDAD SPDIF.TDAD
|
---|
| 67 | #define SPDIFRDAD SPDIF.RDAD
|
---|
| 68 | #endif
|
---|