meh
Fork of mbed by
TARGET_RZ_A1H/ostm_iobitmask.h@92:4fc01daae5a5, 2014-11-27 (annotated)
- Committer:
- bogdanm
- Date:
- Thu Nov 27 13:33:22 2014 +0000
- Revision:
- 92:4fc01daae5a5
Release 92 of the mbed libray
Main changes:
- nRF51822: fixed pin assignment issues
- ST targets moving to the STM32Cube driver
- LPC1439: fixed serial interrupt issue
- first Cortex-A platform supported in mbed (RZ_A1H)
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 92:4fc01daae5a5 | 1 | /******************************************************************************* |
bogdanm | 92:4fc01daae5a5 | 2 | * DISCLAIMER |
bogdanm | 92:4fc01daae5a5 | 3 | * This software is supplied by Renesas Electronics Corporation and is only |
bogdanm | 92:4fc01daae5a5 | 4 | * intended for use with Renesas products. No other uses are authorized. This |
bogdanm | 92:4fc01daae5a5 | 5 | * software is owned by Renesas Electronics Corporation and is protected under |
bogdanm | 92:4fc01daae5a5 | 6 | * all applicable laws, including copyright laws. |
bogdanm | 92:4fc01daae5a5 | 7 | * THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING |
bogdanm | 92:4fc01daae5a5 | 8 | * THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT |
bogdanm | 92:4fc01daae5a5 | 9 | * LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE |
bogdanm | 92:4fc01daae5a5 | 10 | * AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED. |
bogdanm | 92:4fc01daae5a5 | 11 | * TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS |
bogdanm | 92:4fc01daae5a5 | 12 | * ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE |
bogdanm | 92:4fc01daae5a5 | 13 | * FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR |
bogdanm | 92:4fc01daae5a5 | 14 | * ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE |
bogdanm | 92:4fc01daae5a5 | 15 | * BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. |
bogdanm | 92:4fc01daae5a5 | 16 | * Renesas reserves the right, without notice, to make changes to this software |
bogdanm | 92:4fc01daae5a5 | 17 | * and to discontinue the availability of this software. By using this software, |
bogdanm | 92:4fc01daae5a5 | 18 | * you agree to the additional terms and conditions found by accessing the |
bogdanm | 92:4fc01daae5a5 | 19 | * following link: |
bogdanm | 92:4fc01daae5a5 | 20 | * http://www.renesas.com/disclaimer |
bogdanm | 92:4fc01daae5a5 | 21 | * Copyright (C) 2012 - 2014 Renesas Electronics Corporation. All rights reserved. |
bogdanm | 92:4fc01daae5a5 | 22 | *******************************************************************************/ |
bogdanm | 92:4fc01daae5a5 | 23 | /******************************************************************************* |
bogdanm | 92:4fc01daae5a5 | 24 | * File Name : ostm_iobitmask.h |
bogdanm | 92:4fc01daae5a5 | 25 | * $Rev: 1115 $ |
bogdanm | 92:4fc01daae5a5 | 26 | * $Date:: 2014-07-09 15:35:02 +0900#$ |
bogdanm | 92:4fc01daae5a5 | 27 | * Description : OSTM register define header |
bogdanm | 92:4fc01daae5a5 | 28 | *******************************************************************************/ |
bogdanm | 92:4fc01daae5a5 | 29 | #ifndef OSTM_IOBITMASK_H |
bogdanm | 92:4fc01daae5a5 | 30 | #define OSTM_IOBITMASK_H |
bogdanm | 92:4fc01daae5a5 | 31 | |
bogdanm | 92:4fc01daae5a5 | 32 | |
bogdanm | 92:4fc01daae5a5 | 33 | /* ==== Mask values for IO registers ==== */ |
bogdanm | 92:4fc01daae5a5 | 34 | /* ---- OSTM0 ---- */ |
bogdanm | 92:4fc01daae5a5 | 35 | #define OSTM0_OSTMnCMP_OSTMnCMP (0xFFFFFFFFuL) |
bogdanm | 92:4fc01daae5a5 | 36 | |
bogdanm | 92:4fc01daae5a5 | 37 | #define OSTM0_OSTMnCNT_OSTMnCNT (0xFFFFFFFFuL) |
bogdanm | 92:4fc01daae5a5 | 38 | |
bogdanm | 92:4fc01daae5a5 | 39 | #define OSTM0_OSTMnTE_OSTMnTE (0x01u) |
bogdanm | 92:4fc01daae5a5 | 40 | |
bogdanm | 92:4fc01daae5a5 | 41 | #define OSTM0_OSTMnTS_OSTMnTS (0x01u) |
bogdanm | 92:4fc01daae5a5 | 42 | |
bogdanm | 92:4fc01daae5a5 | 43 | #define OSTM0_OSTMnTT_OSTMnTT (0x01u) |
bogdanm | 92:4fc01daae5a5 | 44 | |
bogdanm | 92:4fc01daae5a5 | 45 | #define OSTM0_OSTMnCTL_MD0 (0x00000001uL) |
bogdanm | 92:4fc01daae5a5 | 46 | #define OSTM0_OSTMnCTL_MD1 (0x00000002uL) |
bogdanm | 92:4fc01daae5a5 | 47 | |
bogdanm | 92:4fc01daae5a5 | 48 | /* ---- OSTM1 ---- */ |
bogdanm | 92:4fc01daae5a5 | 49 | #define OSTM1_OSTMnCMP_OSTMnCMP (0xFFFFFFFFuL) |
bogdanm | 92:4fc01daae5a5 | 50 | |
bogdanm | 92:4fc01daae5a5 | 51 | #define OSTM1_OSTMnCNT_OSTMnCNT (0xFFFFFFFFuL) |
bogdanm | 92:4fc01daae5a5 | 52 | |
bogdanm | 92:4fc01daae5a5 | 53 | #define OSTM1_OSTMnTE_OSTMnTE (0x01u) |
bogdanm | 92:4fc01daae5a5 | 54 | |
bogdanm | 92:4fc01daae5a5 | 55 | #define OSTM1_OSTMnTS_OSTMnTS (0x01u) |
bogdanm | 92:4fc01daae5a5 | 56 | |
bogdanm | 92:4fc01daae5a5 | 57 | #define OSTM1_OSTMnTT_OSTMnTT (0x01u) |
bogdanm | 92:4fc01daae5a5 | 58 | |
bogdanm | 92:4fc01daae5a5 | 59 | #define OSTM1_OSTMnCTL_MD0 (0x00000001uL) |
bogdanm | 92:4fc01daae5a5 | 60 | #define OSTM1_OSTMnCTL_MD1 (0x00000002uL) |
bogdanm | 92:4fc01daae5a5 | 61 | |
bogdanm | 92:4fc01daae5a5 | 62 | /* ---- OSTMn ---- */ |
bogdanm | 92:4fc01daae5a5 | 63 | #define OSTMn_OSTMnCMP_OSTMnCMP (0xFFFFFFFFuL) |
bogdanm | 92:4fc01daae5a5 | 64 | |
bogdanm | 92:4fc01daae5a5 | 65 | #define OSTMn_OSTMnCNT_OSTMnCNT (0xFFFFFFFFuL) |
bogdanm | 92:4fc01daae5a5 | 66 | |
bogdanm | 92:4fc01daae5a5 | 67 | #define OSTMn_OSTMnTE_OSTMnTE (0x01u) |
bogdanm | 92:4fc01daae5a5 | 68 | |
bogdanm | 92:4fc01daae5a5 | 69 | #define OSTMn_OSTMnTS_OSTMnTS (0x01u) |
bogdanm | 92:4fc01daae5a5 | 70 | |
bogdanm | 92:4fc01daae5a5 | 71 | #define OSTMn_OSTMnTT_OSTMnTT (0x01u) |
bogdanm | 92:4fc01daae5a5 | 72 | |
bogdanm | 92:4fc01daae5a5 | 73 | #define OSTMn_OSTMnCTL_MD0 (0x00000001uL) |
bogdanm | 92:4fc01daae5a5 | 74 | #define OSTMn_OSTMnCTL_MD1 (0x00000002uL) |
bogdanm | 92:4fc01daae5a5 | 75 | |
bogdanm | 92:4fc01daae5a5 | 76 | |
bogdanm | 92:4fc01daae5a5 | 77 | /* ==== Shift values for IO registers ==== */ |
bogdanm | 92:4fc01daae5a5 | 78 | /* ---- OSTM0 ---- */ |
bogdanm | 92:4fc01daae5a5 | 79 | #define OSTM0_OSTMnCMP_OSTMnCMP_SHIFT (0u) |
bogdanm | 92:4fc01daae5a5 | 80 | |
bogdanm | 92:4fc01daae5a5 | 81 | #define OSTM0_OSTMnCNT_OSTMnCNT_SHIFT (0u) |
bogdanm | 92:4fc01daae5a5 | 82 | |
bogdanm | 92:4fc01daae5a5 | 83 | #define OSTM0_OSTMnTE_OSTMnTE_SHIFT (0u) |
bogdanm | 92:4fc01daae5a5 | 84 | |
bogdanm | 92:4fc01daae5a5 | 85 | #define OSTM0_OSTMnTS_OSTMnTS_SHIFT (0u) |
bogdanm | 92:4fc01daae5a5 | 86 | |
bogdanm | 92:4fc01daae5a5 | 87 | #define OSTM0_OSTMnTT_OSTMnTT_SHIFT (0u) |
bogdanm | 92:4fc01daae5a5 | 88 | |
bogdanm | 92:4fc01daae5a5 | 89 | #define OSTM0_OSTMnCTL_MD0_SHIFT (0u) |
bogdanm | 92:4fc01daae5a5 | 90 | #define OSTM0_OSTMnCTL_MD1_SHIFT (1u) |
bogdanm | 92:4fc01daae5a5 | 91 | |
bogdanm | 92:4fc01daae5a5 | 92 | /* ---- OSTM1 ---- */ |
bogdanm | 92:4fc01daae5a5 | 93 | #define OSTM1_OSTMnCMP_OSTMnCMP_SHIFT (0u) |
bogdanm | 92:4fc01daae5a5 | 94 | |
bogdanm | 92:4fc01daae5a5 | 95 | #define OSTM1_OSTMnCNT_OSTMnCNT_SHIFT (0u) |
bogdanm | 92:4fc01daae5a5 | 96 | |
bogdanm | 92:4fc01daae5a5 | 97 | #define OSTM1_OSTMnTE_OSTMnTE_SHIFT (0u) |
bogdanm | 92:4fc01daae5a5 | 98 | |
bogdanm | 92:4fc01daae5a5 | 99 | #define OSTM1_OSTMnTS_OSTMnTS_SHIFT (0u) |
bogdanm | 92:4fc01daae5a5 | 100 | |
bogdanm | 92:4fc01daae5a5 | 101 | #define OSTM1_OSTMnTT_OSTMnTT_SHIFT (0u) |
bogdanm | 92:4fc01daae5a5 | 102 | |
bogdanm | 92:4fc01daae5a5 | 103 | #define OSTM1_OSTMnCTL_MD0_SHIFT (0u) |
bogdanm | 92:4fc01daae5a5 | 104 | #define OSTM1_OSTMnCTL_MD1_SHIFT (1u) |
bogdanm | 92:4fc01daae5a5 | 105 | |
bogdanm | 92:4fc01daae5a5 | 106 | /* ---- OSTMn ---- */ |
bogdanm | 92:4fc01daae5a5 | 107 | #define OSTMn_OSTMnCMP_OSTMnCMP_SHIFT (0u) |
bogdanm | 92:4fc01daae5a5 | 108 | |
bogdanm | 92:4fc01daae5a5 | 109 | #define OSTMn_OSTMnCNT_OSTMnCNT_SHIFT (0u) |
bogdanm | 92:4fc01daae5a5 | 110 | |
bogdanm | 92:4fc01daae5a5 | 111 | #define OSTMn_OSTMnTE_OSTMnTE_SHIFT (0u) |
bogdanm | 92:4fc01daae5a5 | 112 | |
bogdanm | 92:4fc01daae5a5 | 113 | #define OSTMn_OSTMnTS_OSTMnTS_SHIFT (0u) |
bogdanm | 92:4fc01daae5a5 | 114 | |
bogdanm | 92:4fc01daae5a5 | 115 | #define OSTMn_OSTMnTT_OSTMnTT_SHIFT (0u) |
bogdanm | 92:4fc01daae5a5 | 116 | |
bogdanm | 92:4fc01daae5a5 | 117 | #define OSTMn_OSTMnCTL_MD0_SHIFT (0u) |
bogdanm | 92:4fc01daae5a5 | 118 | #define OSTMn_OSTMnCTL_MD1_SHIFT (1u) |
bogdanm | 92:4fc01daae5a5 | 119 | |
bogdanm | 92:4fc01daae5a5 | 120 | |
bogdanm | 92:4fc01daae5a5 | 121 | #endif /* OSTM_IOBITMASK_H */ |
bogdanm | 92:4fc01daae5a5 | 122 | |
bogdanm | 92:4fc01daae5a5 | 123 | /* End of File */ |