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) 2012 - 2014 Renesas Electronics Corporation. All rights reserved.
22 *******************************************************************************/
23 /*******************************************************************************
24 * File Name : rza_io_regrw.h
26 * $Date:: 2014-08-08 10:11:30 +0900#$
27 * Description : Low level register read/write header
28 *******************************************************************************/
29 #ifndef RZA_IO_REGRW_H
30 #define RZA_IO_REGRW_H
32 /******************************************************************************
33 Includes <System Includes> , "Project Includes"
34 ******************************************************************************/
35 /* ==== includes each bit mask header ==== */
36 #include "cpg_iobitmask.h"
37 #include "intc_iobitmask.h"
38 #include "bsc_iobitmask.h"
39 #include "dmac_iobitmask.h"
40 #include "mtu2_iobitmask.h"
41 #include "ostm_iobitmask.h"
42 #include "scif_iobitmask.h"
43 #include "rspi_iobitmask.h"
44 #include "riic_iobitmask.h"
45 #include "usb_iobitmask.h"
46 #include "gpio_iobitmask.h"
52 /******************************************************************************
54 ******************************************************************************/
57 /******************************************************************************
59 ******************************************************************************/
62 /******************************************************************************
64 ******************************************************************************/
67 /******************************************************************************
69 ******************************************************************************/
70 void RZA_IO_RegWrite_8 (volatile uint8_t * ioreg, uint8_t write_value, uint8_t shift, uint8_t mask);
71 void RZA_IO_RegWrite_16(volatile uint16_t * ioreg, uint16_t write_value, uint16_t shift, uint16_t mask);
72 void RZA_IO_RegWrite_32(volatile uint32_t * ioreg, uint32_t write_value, uint32_t shift, uint32_t mask);
73 uint8_t RZA_IO_RegRead_8 (volatile uint8_t * ioreg, uint8_t shift, uint8_t mask);
74 uint16_t RZA_IO_RegRead_16 (volatile uint16_t * ioreg, uint16_t shift, uint16_t mask);
75 uint32_t RZA_IO_RegRead_32 (volatile uint32_t * ioreg, uint32_t shift, uint32_t mask);
81 #endif /* RZA_IO_REGRW_H */