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/rza_io_regrw.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) 2012 - 2014 Renesas Electronics Corporation. All rights reserved. |
tushki7 | 0:60d829a0353a | 22 | *******************************************************************************/ |
tushki7 | 0:60d829a0353a | 23 | /******************************************************************************* |
tushki7 | 0:60d829a0353a | 24 | * File Name : rza_io_regrw.h |
tushki7 | 0:60d829a0353a | 25 | * $Rev: 1135 $ |
tushki7 | 0:60d829a0353a | 26 | * $Date:: 2014-08-08 10:11:30 +0900#$ |
tushki7 | 0:60d829a0353a | 27 | * Description : Low level register read/write header |
tushki7 | 0:60d829a0353a | 28 | *******************************************************************************/ |
tushki7 | 0:60d829a0353a | 29 | #ifndef RZA_IO_REGRW_H |
tushki7 | 0:60d829a0353a | 30 | #define RZA_IO_REGRW_H |
tushki7 | 0:60d829a0353a | 31 | |
tushki7 | 0:60d829a0353a | 32 | /****************************************************************************** |
tushki7 | 0:60d829a0353a | 33 | Includes <System Includes> , "Project Includes" |
tushki7 | 0:60d829a0353a | 34 | ******************************************************************************/ |
tushki7 | 0:60d829a0353a | 35 | /* ==== includes each bit mask header ==== */ |
tushki7 | 0:60d829a0353a | 36 | #include "cpg_iobitmask.h" |
tushki7 | 0:60d829a0353a | 37 | #include "intc_iobitmask.h" |
tushki7 | 0:60d829a0353a | 38 | #include "bsc_iobitmask.h" |
tushki7 | 0:60d829a0353a | 39 | #include "dmac_iobitmask.h" |
tushki7 | 0:60d829a0353a | 40 | #include "mtu2_iobitmask.h" |
tushki7 | 0:60d829a0353a | 41 | #include "ostm_iobitmask.h" |
tushki7 | 0:60d829a0353a | 42 | #include "scif_iobitmask.h" |
tushki7 | 0:60d829a0353a | 43 | #include "rspi_iobitmask.h" |
tushki7 | 0:60d829a0353a | 44 | #include "riic_iobitmask.h" |
tushki7 | 0:60d829a0353a | 45 | #include "usb_iobitmask.h" |
tushki7 | 0:60d829a0353a | 46 | #include "gpio_iobitmask.h" |
tushki7 | 0:60d829a0353a | 47 | |
tushki7 | 0:60d829a0353a | 48 | #ifdef __cplusplus |
tushki7 | 0:60d829a0353a | 49 | extern "C" { |
tushki7 | 0:60d829a0353a | 50 | #endif |
tushki7 | 0:60d829a0353a | 51 | |
tushki7 | 0:60d829a0353a | 52 | /****************************************************************************** |
tushki7 | 0:60d829a0353a | 53 | Typedef definitions |
tushki7 | 0:60d829a0353a | 54 | ******************************************************************************/ |
tushki7 | 0:60d829a0353a | 55 | |
tushki7 | 0:60d829a0353a | 56 | |
tushki7 | 0:60d829a0353a | 57 | /****************************************************************************** |
tushki7 | 0:60d829a0353a | 58 | Macro definitions |
tushki7 | 0:60d829a0353a | 59 | ******************************************************************************/ |
tushki7 | 0:60d829a0353a | 60 | |
tushki7 | 0:60d829a0353a | 61 | |
tushki7 | 0:60d829a0353a | 62 | /****************************************************************************** |
tushki7 | 0:60d829a0353a | 63 | Variable Externs |
tushki7 | 0:60d829a0353a | 64 | ******************************************************************************/ |
tushki7 | 0:60d829a0353a | 65 | |
tushki7 | 0:60d829a0353a | 66 | |
tushki7 | 0:60d829a0353a | 67 | /****************************************************************************** |
tushki7 | 0:60d829a0353a | 68 | Functions Prototypes |
tushki7 | 0:60d829a0353a | 69 | ******************************************************************************/ |
tushki7 | 0:60d829a0353a | 70 | void RZA_IO_RegWrite_8 (volatile uint8_t * ioreg, uint8_t write_value, uint8_t shift, uint8_t mask); |
tushki7 | 0:60d829a0353a | 71 | void RZA_IO_RegWrite_16(volatile uint16_t * ioreg, uint16_t write_value, uint16_t shift, uint16_t mask); |
tushki7 | 0:60d829a0353a | 72 | void RZA_IO_RegWrite_32(volatile uint32_t * ioreg, uint32_t write_value, uint32_t shift, uint32_t mask); |
tushki7 | 0:60d829a0353a | 73 | uint8_t RZA_IO_RegRead_8 (volatile uint8_t * ioreg, uint8_t shift, uint8_t mask); |
tushki7 | 0:60d829a0353a | 74 | uint16_t RZA_IO_RegRead_16 (volatile uint16_t * ioreg, uint16_t shift, uint16_t mask); |
tushki7 | 0:60d829a0353a | 75 | uint32_t RZA_IO_RegRead_32 (volatile uint32_t * ioreg, uint32_t shift, uint32_t mask); |
tushki7 | 0:60d829a0353a | 76 | |
tushki7 | 0:60d829a0353a | 77 | #ifdef __cplusplus |
tushki7 | 0:60d829a0353a | 78 | } |
tushki7 | 0:60d829a0353a | 79 | #endif |
tushki7 | 0:60d829a0353a | 80 | |
tushki7 | 0:60d829a0353a | 81 | #endif /* RZA_IO_REGRW_H */ |
tushki7 | 0:60d829a0353a | 82 | |
tushki7 | 0:60d829a0353a | 83 | /* End of File */ |