1 /*******************************************************************************
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
20 * http://www.renesas.com/disclaimer*
21 * Copyright (C) 2013-2014 Renesas Electronics Corporation. All rights reserved.
22 *******************************************************************************/
23 /*******************************************************************************
24 * File Name : ostm_iodefine.h
27 * Description : Definition of I/O Register (V1.00a)
28 ******************************************************************************/
29 #ifndef OSTM_IODEFINE_H
30 #define OSTM_IODEFINE_H
31 /* ->SEC M1.10.1 : Not magic number */
35 volatile uint32_t OSTMnCMP; /* OSTMnCMP */
36 volatile uint32_t OSTMnCNT; /* OSTMnCNT */
37 volatile uint8_t dummy1[8]; /* */
38 volatile uint8_t OSTMnTE; /* OSTMnTE */
39 volatile uint8_t dummy2[3]; /* */
40 volatile uint8_t OSTMnTS; /* OSTMnTS */
41 volatile uint8_t dummy3[3]; /* */
42 volatile uint8_t OSTMnTT; /* OSTMnTT */
43 volatile uint8_t dummy4[7]; /* */
44 volatile uint8_t OSTMnCTL; /* OSTMnCTL */
48 #define OSTM0 (*(struct st_ostm *)0xFCFEC000uL) /* OSTM0 */
49 #define OSTM1 (*(struct st_ostm *)0xFCFEC400uL) /* OSTM1 */
52 /* Start of channnel array defines of OSTM */
54 /* Channnel array defines of OSTM */
55 /*(Sample) value = OSTM[ channel ]->OSTMnCMP; */
57 #define OSTM_ADDRESS_LIST \
58 { /* ->MISRA 11.3 */ /* ->SEC R2.7.1 */ \
60 } /* <-MISRA 11.3 */ /* <-SEC R2.7.1 */ /* { } is for MISRA 19.4 */
62 /* End of channnel array defines of OSTM */
65 #define OSTM0CMP OSTM0.OSTMnCMP
66 #define OSTM0CNT OSTM0.OSTMnCNT
67 #define OSTM0TE OSTM0.OSTMnTE
68 #define OSTM0TS OSTM0.OSTMnTS
69 #define OSTM0TT OSTM0.OSTMnTT
70 #define OSTM0CTL OSTM0.OSTMnCTL
71 #define OSTM1CMP OSTM1.OSTMnCMP
72 #define OSTM1CNT OSTM1.OSTMnCNT
73 #define OSTM1TE OSTM1.OSTMnTE
74 #define OSTM1TS OSTM1.OSTMnTS
75 #define OSTM1TT OSTM1.OSTMnTT
76 #define OSTM1CTL OSTM1.OSTMnCTL