Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-dev by
targets/TARGET_RENESAS/TARGET_RZ_A1H/device/inc/iodefines/wdt_iodefine.h@180:96ed750bd169, 2018-01-17 (annotated)
- Committer:
- Anna Bridge
- Date:
- Wed Jan 17 15:23:54 2018 +0000
- Revision:
- 180:96ed750bd169
- Parent:
- 149:156823d33999
mbed-dev libray. Release version 158
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| <> | 144:ef7eb2e8f9f7 | 1 | /******************************************************************************* |
| <> | 144:ef7eb2e8f9f7 | 2 | * DISCLAIMER |
| <> | 144:ef7eb2e8f9f7 | 3 | * This software is supplied by Renesas Electronics Corporation and is only |
| <> | 144:ef7eb2e8f9f7 | 4 | * intended for use with Renesas products. No other uses are authorized. This |
| <> | 144:ef7eb2e8f9f7 | 5 | * software is owned by Renesas Electronics Corporation and is protected under |
| <> | 144:ef7eb2e8f9f7 | 6 | * all applicable laws, including copyright laws. |
| <> | 144:ef7eb2e8f9f7 | 7 | * THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING |
| <> | 144:ef7eb2e8f9f7 | 8 | * THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT |
| <> | 144:ef7eb2e8f9f7 | 9 | * LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE |
| <> | 144:ef7eb2e8f9f7 | 10 | * AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED. |
| <> | 144:ef7eb2e8f9f7 | 11 | * TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS |
| <> | 144:ef7eb2e8f9f7 | 12 | * ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE |
| <> | 144:ef7eb2e8f9f7 | 13 | * FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR |
| <> | 144:ef7eb2e8f9f7 | 14 | * ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE |
| <> | 144:ef7eb2e8f9f7 | 15 | * BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. |
| <> | 144:ef7eb2e8f9f7 | 16 | * Renesas reserves the right, without notice, to make changes to this software |
| <> | 144:ef7eb2e8f9f7 | 17 | * and to discontinue the availability of this software. By using this software, |
| <> | 144:ef7eb2e8f9f7 | 18 | * you agree to the additional terms and conditions found by accessing the |
| <> | 144:ef7eb2e8f9f7 | 19 | * following link: |
| <> | 144:ef7eb2e8f9f7 | 20 | * http://www.renesas.com/disclaimer* |
| Anna Bridge |
180:96ed750bd169 | 21 | * Copyright (C) 2013-2015 Renesas Electronics Corporation. All rights reserved. |
| <> | 144:ef7eb2e8f9f7 | 22 | *******************************************************************************/ |
| <> | 144:ef7eb2e8f9f7 | 23 | /******************************************************************************* |
| <> | 144:ef7eb2e8f9f7 | 24 | * File Name : wdt_iodefine.h |
| <> | 144:ef7eb2e8f9f7 | 25 | * $Rev: $ |
| <> | 144:ef7eb2e8f9f7 | 26 | * $Date:: $ |
| Anna Bridge |
180:96ed750bd169 | 27 | * Description : Definition of I/O Register for RZ/A1H,M (V2.00h) |
| <> | 144:ef7eb2e8f9f7 | 28 | ******************************************************************************/ |
| <> | 144:ef7eb2e8f9f7 | 29 | #ifndef WDT_IODEFINE_H |
| <> | 144:ef7eb2e8f9f7 | 30 | #define WDT_IODEFINE_H |
| Anna Bridge |
180:96ed750bd169 | 31 | /* ->QAC 0639 : Over 127 members (C90) */ |
| Anna Bridge |
180:96ed750bd169 | 32 | /* ->QAC 0857 : Over 1024 #define (C90) */ |
| Anna Bridge |
180:96ed750bd169 | 33 | /* ->MISRA 18.4 : Pack unpack union */ /* ->SEC M1.6.2 */ |
| Anna Bridge |
180:96ed750bd169 | 34 | /* ->SEC M1.10.1 : Not magic number */ |
| <> | 144:ef7eb2e8f9f7 | 35 | |
| <> | 144:ef7eb2e8f9f7 | 36 | #define WDT (*(struct st_wdt *)0xFCFE0000uL) /* WDT */ |
| <> | 144:ef7eb2e8f9f7 | 37 | |
| <> | 144:ef7eb2e8f9f7 | 38 | |
| Anna Bridge |
180:96ed750bd169 | 39 | #define WDTWTCSR (WDT.WTCSR) |
| Anna Bridge |
180:96ed750bd169 | 40 | #define WDTWTCNT (WDT.WTCNT) |
| Anna Bridge |
180:96ed750bd169 | 41 | #define WDTWRCSR (WDT.WRCSR) |
| Anna Bridge |
180:96ed750bd169 | 42 | |
| Anna Bridge |
180:96ed750bd169 | 43 | |
| Anna Bridge |
180:96ed750bd169 | 44 | typedef struct st_wdt |
| Anna Bridge |
180:96ed750bd169 | 45 | { |
| Anna Bridge |
180:96ed750bd169 | 46 | /* WDT */ |
| Anna Bridge |
180:96ed750bd169 | 47 | volatile uint16_t WTCSR; /* WTCSR */ |
| Anna Bridge |
180:96ed750bd169 | 48 | volatile uint16_t WTCNT; /* WTCNT */ |
| Anna Bridge |
180:96ed750bd169 | 49 | volatile uint16_t WRCSR; /* WRCSR */ |
| Anna Bridge |
180:96ed750bd169 | 50 | } r_io_wdt_t; |
| Anna Bridge |
180:96ed750bd169 | 51 | |
| Anna Bridge |
180:96ed750bd169 | 52 | |
| Anna Bridge |
180:96ed750bd169 | 53 | /* <-SEC M1.10.1 */ |
| Anna Bridge |
180:96ed750bd169 | 54 | /* <-MISRA 18.4 */ /* <-SEC M1.6.2 */ |
| Anna Bridge |
180:96ed750bd169 | 55 | /* <-QAC 0857 */ |
| Anna Bridge |
180:96ed750bd169 | 56 | /* <-QAC 0639 */ |
| <> | 144:ef7eb2e8f9f7 | 57 | #endif |
