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 Sound_Generator by
sdg_iobitmask.h
00001 /******************************************************************************* 00002 * DISCLAIMER 00003 * This software is supplied by Renesas Electronics Corporation and is only 00004 * intended for use with Renesas products. No other uses are authorized. This 00005 * software is owned by Renesas Electronics Corporation and is protected under 00006 * all applicable laws, including copyright laws. 00007 * THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING 00008 * THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT 00009 * LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE 00010 * AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED. 00011 * TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS 00012 * ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE 00013 * FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR 00014 * ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE 00015 * BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 00016 * Renesas reserves the right, without notice, to make changes to this software 00017 * and to discontinue the availability of this software. By using this software, 00018 * you agree to the additional terms and conditions found by accessing the 00019 * following link: 00020 * http://www.renesas.com/disclaimer 00021 * Copyright (C) 2012 - 2015 Renesas Electronics Corporation. All rights reserved. 00022 *******************************************************************************/ 00023 00024 #ifndef SDG_IOBITMASK_H 00025 #define SDG_IOBITMASK_H 00026 00027 00028 /* ==== Mask values for IO registers ==== */ 00029 /* ---- SDGn ---- */ 00030 #define SDGn_SGCR1_SGST_SHIFT (7u) 00031 #define SDGn_SGCR1_STPM_SHIFT (6u) 00032 #define SDGn_SGCR1_SGCK_SHIFT (3u) 00033 #define SDGn_SGCR1_DPF_SHIFT (0u) 00034 00035 #define SDGn_SGCSR_SGIE_SHIFT (7u) 00036 #define SDGn_SGCSR_SGDEF_SHIFT (6u) 00037 00038 #define SDGn_SGCR2_SGEND_SHIFT (7u) 00039 #define SDGn_SGCR2_TCHG_SHIFT (6u) 00040 00041 #define SDGn_SGLR_LD_SHIFT (0u) 00042 00043 #define SDGn_SGTFR_TONE_SHIFT (0u) 00044 00045 #define SDGn_SGSFR_SFS_SHIFT (0u) 00046 00047 00048 #define SDGn_SGCR1_SGST (1u << SDGn_SGCR1_SGST_SHIFT) 00049 #define SDGn_SGCR1_STPM (1u << SDGn_SGCR1_STPM_SHIFT) 00050 #define SDGn_SGCR1_SGCK (0x3u << SDGn_SGCR1_SGCK_SHIFT) 00051 #define SDGn_SGCR1_DPF (0x7u << SDGn_SGCR1_DPF_SHIFT) 00052 00053 #define SDGn_SGCSR_SGIE (1u << SDGn_SGCSR_SGIE_SHIFT) 00054 #define SDGn_SGCSR_SGDEF (1u << SDGn_SGCSR_SGDEF_SHIFT) 00055 00056 #define SDGn_SGCR2_SGEND (1u << SDGn_SGCR2_SGEND_SHIFT) 00057 #define SDGn_SGCR2_TCHG (1u << SDGn_SGCR2_TCHG_SHIFT) 00058 00059 #define SDGn_SGLR_LD (0xFFu << SDGn_SGLR_LD_SHIFT) 00060 00061 #define SDGn_SGTFR_TONE (0x7Fu << SDGn_SGTFR_TONE_SHIFT) 00062 00063 #define SDGn_SGSFR_SFS (0xFFu << SDGn_SGSFR_SFS_SHIFT ) 00064 00065 00066 00067 #endif /* SDG_IOBITMASK_H */ 00068 00069 /* End of File */
Generated on Fri Jul 15 2022 04:21:34 by
1.7.2
