A simple 128x32 graphical LCD program to quickstart with LCD on ARM mbed IoT Starter Kit. This requires mbed Applciation Shield with FRDM-K64F platform.
mbed/TARGET_RZ_A1H/ostm_iodefine.h@1:eb68c94a8ee5, 2015-04-12 (annotated)
- Committer:
- tushki7
- Date:
- Sun Apr 12 15:45:52 2015 +0000
- Revision:
- 1:eb68c94a8ee5
- Parent:
- 0:60d829a0353a
A simple 128x32 LCD program with ARM mbed IoT Starter Kit;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tushki7 | 0:60d829a0353a | 1 | /******************************************************************************* |
tushki7 | 0:60d829a0353a | 2 | * DISCLAIMER |
tushki7 | 0:60d829a0353a | 3 | * This software is supplied by Renesas Electronics Corporation and is only |
tushki7 | 0:60d829a0353a | 4 | * intended for use with Renesas products. No other uses are authorized. This |
tushki7 | 0:60d829a0353a | 5 | * software is owned by Renesas Electronics Corporation and is protected under |
tushki7 | 0:60d829a0353a | 6 | * all applicable laws, including copyright laws. |
tushki7 | 0:60d829a0353a | 7 | * THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING |
tushki7 | 0:60d829a0353a | 8 | * THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT |
tushki7 | 0:60d829a0353a | 9 | * LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE |
tushki7 | 0:60d829a0353a | 10 | * AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED. |
tushki7 | 0:60d829a0353a | 11 | * TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS |
tushki7 | 0:60d829a0353a | 12 | * ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE |
tushki7 | 0:60d829a0353a | 13 | * FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR |
tushki7 | 0:60d829a0353a | 14 | * ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE |
tushki7 | 0:60d829a0353a | 15 | * BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. |
tushki7 | 0:60d829a0353a | 16 | * Renesas reserves the right, without notice, to make changes to this software |
tushki7 | 0:60d829a0353a | 17 | * and to discontinue the availability of this software. By using this software, |
tushki7 | 0:60d829a0353a | 18 | * you agree to the additional terms and conditions found by accessing the |
tushki7 | 0:60d829a0353a | 19 | * following link: |
tushki7 | 0:60d829a0353a | 20 | * http://www.renesas.com/disclaimer* |
tushki7 | 0:60d829a0353a | 21 | * Copyright (C) 2013-2014 Renesas Electronics Corporation. All rights reserved. |
tushki7 | 0:60d829a0353a | 22 | *******************************************************************************/ |
tushki7 | 0:60d829a0353a | 23 | /******************************************************************************* |
tushki7 | 0:60d829a0353a | 24 | * File Name : ostm_iodefine.h |
tushki7 | 0:60d829a0353a | 25 | * $Rev: $ |
tushki7 | 0:60d829a0353a | 26 | * $Date:: $ |
tushki7 | 0:60d829a0353a | 27 | * Description : Definition of I/O Register (V1.00a) |
tushki7 | 0:60d829a0353a | 28 | ******************************************************************************/ |
tushki7 | 0:60d829a0353a | 29 | #ifndef OSTM_IODEFINE_H |
tushki7 | 0:60d829a0353a | 30 | #define OSTM_IODEFINE_H |
tushki7 | 0:60d829a0353a | 31 | /* ->SEC M1.10.1 : Not magic number */ |
tushki7 | 0:60d829a0353a | 32 | |
tushki7 | 0:60d829a0353a | 33 | struct st_ostm |
tushki7 | 0:60d829a0353a | 34 | { /* OSTM */ |
tushki7 | 0:60d829a0353a | 35 | volatile uint32_t OSTMnCMP; /* OSTMnCMP */ |
tushki7 | 0:60d829a0353a | 36 | volatile uint32_t OSTMnCNT; /* OSTMnCNT */ |
tushki7 | 0:60d829a0353a | 37 | volatile uint8_t dummy1[8]; /* */ |
tushki7 | 0:60d829a0353a | 38 | volatile uint8_t OSTMnTE; /* OSTMnTE */ |
tushki7 | 0:60d829a0353a | 39 | volatile uint8_t dummy2[3]; /* */ |
tushki7 | 0:60d829a0353a | 40 | volatile uint8_t OSTMnTS; /* OSTMnTS */ |
tushki7 | 0:60d829a0353a | 41 | volatile uint8_t dummy3[3]; /* */ |
tushki7 | 0:60d829a0353a | 42 | volatile uint8_t OSTMnTT; /* OSTMnTT */ |
tushki7 | 0:60d829a0353a | 43 | volatile uint8_t dummy4[7]; /* */ |
tushki7 | 0:60d829a0353a | 44 | volatile uint8_t OSTMnCTL; /* OSTMnCTL */ |
tushki7 | 0:60d829a0353a | 45 | }; |
tushki7 | 0:60d829a0353a | 46 | |
tushki7 | 0:60d829a0353a | 47 | |
tushki7 | 0:60d829a0353a | 48 | #define OSTM0 (*(struct st_ostm *)0xFCFEC000uL) /* OSTM0 */ |
tushki7 | 0:60d829a0353a | 49 | #define OSTM1 (*(struct st_ostm *)0xFCFEC400uL) /* OSTM1 */ |
tushki7 | 0:60d829a0353a | 50 | |
tushki7 | 0:60d829a0353a | 51 | |
tushki7 | 0:60d829a0353a | 52 | /* Start of channnel array defines of OSTM */ |
tushki7 | 0:60d829a0353a | 53 | |
tushki7 | 0:60d829a0353a | 54 | /* Channnel array defines of OSTM */ |
tushki7 | 0:60d829a0353a | 55 | /*(Sample) value = OSTM[ channel ]->OSTMnCMP; */ |
tushki7 | 0:60d829a0353a | 56 | #define OSTM_COUNT 2 |
tushki7 | 0:60d829a0353a | 57 | #define OSTM_ADDRESS_LIST \ |
tushki7 | 0:60d829a0353a | 58 | { /* ->MISRA 11.3 */ /* ->SEC R2.7.1 */ \ |
tushki7 | 0:60d829a0353a | 59 | &OSTM0, &OSTM1 \ |
tushki7 | 0:60d829a0353a | 60 | } /* <-MISRA 11.3 */ /* <-SEC R2.7.1 */ /* { } is for MISRA 19.4 */ |
tushki7 | 0:60d829a0353a | 61 | |
tushki7 | 0:60d829a0353a | 62 | /* End of channnel array defines of OSTM */ |
tushki7 | 0:60d829a0353a | 63 | |
tushki7 | 0:60d829a0353a | 64 | |
tushki7 | 0:60d829a0353a | 65 | #define OSTM0CMP OSTM0.OSTMnCMP |
tushki7 | 0:60d829a0353a | 66 | #define OSTM0CNT OSTM0.OSTMnCNT |
tushki7 | 0:60d829a0353a | 67 | #define OSTM0TE OSTM0.OSTMnTE |
tushki7 | 0:60d829a0353a | 68 | #define OSTM0TS OSTM0.OSTMnTS |
tushki7 | 0:60d829a0353a | 69 | #define OSTM0TT OSTM0.OSTMnTT |
tushki7 | 0:60d829a0353a | 70 | #define OSTM0CTL OSTM0.OSTMnCTL |
tushki7 | 0:60d829a0353a | 71 | #define OSTM1CMP OSTM1.OSTMnCMP |
tushki7 | 0:60d829a0353a | 72 | #define OSTM1CNT OSTM1.OSTMnCNT |
tushki7 | 0:60d829a0353a | 73 | #define OSTM1TE OSTM1.OSTMnTE |
tushki7 | 0:60d829a0353a | 74 | #define OSTM1TS OSTM1.OSTMnTS |
tushki7 | 0:60d829a0353a | 75 | #define OSTM1TT OSTM1.OSTMnTT |
tushki7 | 0:60d829a0353a | 76 | #define OSTM1CTL OSTM1.OSTMnCTL |
tushki7 | 0:60d829a0353a | 77 | /* <-SEC M1.10.1 */ |
tushki7 | 0:60d829a0353a | 78 | #endif |