Changeset 374 for asp3_tinet_ecnl_arm/trunk/asp3_dcre/mbed/targets/TARGET_RENESAS/TARGET_RZA1XX/TARGET_RZ_A1H/device/inc/iodefines/spdif_iodefine.h
- Timestamp:
- Apr 5, 2019, 9:26:53 PM (5 years ago)
- Location:
- asp3_tinet_ecnl_arm/trunk/asp3_dcre/mbed/targets/TARGET_RENESAS/TARGET_RZA1XX
- Files:
-
- 1 added
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
asp3_tinet_ecnl_arm/trunk/asp3_dcre/mbed/targets/TARGET_RENESAS/TARGET_RZA1XX/TARGET_RZ_A1H/device/inc/iodefines/spdif_iodefine.h
r352 r374 19 19 * following link: 20 20 * http://www.renesas.com/disclaimer* 21 * Copyright (C) 2013-201 4Renesas Electronics Corporation. All rights reserved.21 * Copyright (C) 2013-2015 Renesas Electronics Corporation. All rights reserved. 22 22 *******************************************************************************/ 23 23 /******************************************************************************* … … 25 25 * $Rev: $ 26 26 * $Date:: $ 27 * Description : Definition of I/O Register (V1.00a)27 * Description : Definition of I/O Register for RZ/A1H,M (V2.00h) 28 28 ******************************************************************************/ 29 29 #ifndef SPDIF_IODEFINE_H 30 30 #define SPDIF_IODEFINE_H 31 /* ->QAC 0639 : Over 127 members (C90) */ 32 /* ->QAC 0857 : Over 1024 #define (C90) */ 33 /* ->MISRA 18.4 : Pack unpack union */ /* ->SEC M1.6.2 */ 34 /* ->SEC M1.10.1 : Not magic number */ 31 35 32 struct st_spdif 33 { /* SPDIF */ 36 #define SPDIF (*(struct st_spdif *)0xE8012000uL) /* SPDIF */ 37 38 39 #define SPDIFTLCA (SPDIF.TLCA) 40 #define SPDIFTRCA (SPDIF.TRCA) 41 #define SPDIFTLCS (SPDIF.TLCS) 42 #define SPDIFTRCS (SPDIF.TRCS) 43 #define SPDIFTUI (SPDIF.TUI) 44 #define SPDIFRLCA (SPDIF.RLCA) 45 #define SPDIFRRCA (SPDIF.RRCA) 46 #define SPDIFRLCS (SPDIF.RLCS) 47 #define SPDIFRRCS (SPDIF.RRCS) 48 #define SPDIFRUI (SPDIF.RUI) 49 #define SPDIFCTRL (SPDIF.CTRL) 50 #define SPDIFSTAT (SPDIF.STAT) 51 #define SPDIFTDAD (SPDIF.TDAD) 52 #define SPDIFRDAD (SPDIF.RDAD) 53 54 55 typedef struct st_spdif 56 { 57 /* SPDIF */ 34 58 volatile uint32_t TLCA; /* TLCA */ 35 59 volatile uint32_t TRCA; /* TRCA */ … … 46 70 volatile uint32_t TDAD; /* TDAD */ 47 71 volatile uint32_t RDAD; /* RDAD */ 48 } ;72 } r_io_spdif_t; 49 73 50 74 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 75 /* <-SEC M1.10.1 */ 76 /* <-MISRA 18.4 */ /* <-SEC M1.6.2 */ 77 /* <-QAC 0857 */ 78 /* <-QAC 0639 */ 68 79 #endif
Note:
See TracChangeset
for help on using the changeset viewer.