|
| 1 | +/* |
| 2 | +* Copyright (c) 2020 - 2024 Renesas Electronics Corporation and/or its affiliates |
| 3 | +* |
| 4 | +* SPDX-License-Identifier: BSD-3-Clause |
| 5 | +*/ |
| 6 | + |
| 7 | +/********************************************************************************************************************** |
| 8 | + * File Name : adc_iobitmask.h |
| 9 | + * Version : 1.00 |
| 10 | + * Description : IO bit mask file for adc. |
| 11 | + *********************************************************************************************************************/ |
| 12 | + |
| 13 | +#ifndef ADC_IOBITMASK_H |
| 14 | +#define ADC_IOBITMASK_H |
| 15 | + |
| 16 | +#define R_ADC_ADM0_ADCE_Msk (0x00000001UL) |
| 17 | +#define R_ADC_ADM0_ADCE_Pos (0UL) |
| 18 | +#define R_ADC_ADM0_ADBSY_Msk (0x00000002UL) |
| 19 | +#define R_ADC_ADM0_ADBSY_Pos (1UL) |
| 20 | +#define R_ADC_ADM0_PWDWNB_Msk (0x00000004UL) |
| 21 | +#define R_ADC_ADM0_PWDWNB_Pos (2UL) |
| 22 | +#define R_ADC_ADM0_SRESB_Msk (0x00008000UL) |
| 23 | +#define R_ADC_ADM0_SRESB_Pos (15UL) |
| 24 | +#define R_ADC_ADM1_TRG_Msk (0x00000001UL) |
| 25 | +#define R_ADC_ADM1_TRG_Pos (0UL) |
| 26 | +#define R_ADC_ADM1_TRGIN_Msk (0x00000002UL) |
| 27 | +#define R_ADC_ADM1_TRGIN_Pos (1UL) |
| 28 | +#define R_ADC_ADM1_MS_Msk (0x00000004UL) |
| 29 | +#define R_ADC_ADM1_MS_Pos (2UL) |
| 30 | +#define R_ADC_ADM1_RPS_Msk (0x00000008UL) |
| 31 | +#define R_ADC_ADM1_RPS_Pos (3UL) |
| 32 | +#define R_ADC_ADM1_BS_Msk (0x00000010UL) |
| 33 | +#define R_ADC_ADM1_BS_Pos (4UL) |
| 34 | +#define R_ADC_ADM1_EGA_Msk (0x00003000UL) |
| 35 | +#define R_ADC_ADM1_EGA_Pos (12UL) |
| 36 | +#define R_ADC_ADM1_TRGEN_Msk (0x003F0000UL) |
| 37 | +#define R_ADC_ADM1_TRGEN_Pos (16UL) |
| 38 | +#define R_ADC_ADM2_CHSEL_Msk (0x00000003UL) |
| 39 | +#define R_ADC_ADM2_CHSEL_Pos (0UL) |
| 40 | +#define R_ADC_ADM3_ADSMP_Msk (0x0000FFFFUL) |
| 41 | +#define R_ADC_ADM3_ADSMP_Pos (0UL) |
| 42 | +#define R_ADC_ADM3_ADCMP_Msk (0x00FF0000UL) |
| 43 | +#define R_ADC_ADM3_ADCMP_Pos (16UL) |
| 44 | +#define R_ADC_ADM3_ADIL_Msk (0xFF000000UL) |
| 45 | +#define R_ADC_ADM3_ADIL_Pos (24UL) |
| 46 | +#define R_ADC_ADINT_INTEN_Msk (0x0000000FUL) |
| 47 | +#define R_ADC_ADINT_INTEN_Pos (0UL) |
| 48 | +#define R_ADC_ADINT_CSEEN_Msk (0x00010000UL) |
| 49 | +#define R_ADC_ADINT_CSEEN_Pos (16UL) |
| 50 | +#define R_ADC_ADINT_INTS_Msk (0x80000000UL) |
| 51 | +#define R_ADC_ADINT_INTS_Pos (31UL) |
| 52 | +#define R_ADC_ADSTS_INTST_Msk (0x0000000FUL) |
| 53 | +#define R_ADC_ADSTS_INTST_Pos (0UL) |
| 54 | +#define R_ADC_ADSTS_CSEST_Msk (0x00010000UL) |
| 55 | +#define R_ADC_ADSTS_CSEST_Pos (16UL) |
| 56 | +#define R_ADC_ADSTS_TRGS_Msk (0x80000000UL) |
| 57 | +#define R_ADC_ADSTS_TRGS_Pos (31UL) |
| 58 | +#define R_ADC_ADIVC_DIVADC_Msk (0x000001FFUL) |
| 59 | +#define R_ADC_ADIVC_DIVADC_Pos (0UL) |
| 60 | +#define R_ADC_ADFIL_FILONOFF_Msk (0x00000001UL) |
| 61 | +#define R_ADC_ADFIL_FILONOFF_Pos (0UL) |
| 62 | +#define R_ADC_ADFIL_FILNUM_Msk (0x00000030UL) |
| 63 | +#define R_ADC_ADFIL_FILNUM_Pos (4UL) |
| 64 | +#define R_ADC_ADCR0_AD0_Msk (0x00000001UL) |
| 65 | +#define R_ADC_ADCR0_AD0_Pos (0UL) |
| 66 | +#define R_ADC_ADCR0_AD1_Msk (0x00000002UL) |
| 67 | +#define R_ADC_ADCR0_AD1_Pos (1UL) |
| 68 | +#define R_ADC_ADCR0_AD2_Msk (0x00000004UL) |
| 69 | +#define R_ADC_ADCR0_AD2_Pos (2UL) |
| 70 | +#define R_ADC_ADCR0_AD3_Msk (0x00000008UL) |
| 71 | +#define R_ADC_ADCR0_AD3_Pos (3UL) |
| 72 | +#define R_ADC_ADCR0_AD4_Msk (0x00000010UL) |
| 73 | +#define R_ADC_ADCR0_AD4_Pos (4UL) |
| 74 | +#define R_ADC_ADCR0_AD5_Msk (0x00000020UL) |
| 75 | +#define R_ADC_ADCR0_AD5_Pos (5UL) |
| 76 | +#define R_ADC_ADCR0_AD6_Msk (0x00000040UL) |
| 77 | +#define R_ADC_ADCR0_AD6_Pos (6UL) |
| 78 | +#define R_ADC_ADCR0_AD7_Msk (0x00000080UL) |
| 79 | +#define R_ADC_ADCR0_AD7_Pos (7UL) |
| 80 | +#define R_ADC_ADCR0_AD8_Msk (0x00000100UL) |
| 81 | +#define R_ADC_ADCR0_AD8_Pos (8UL) |
| 82 | +#define R_ADC_ADCR0_AD9_Msk (0x00000200UL) |
| 83 | +#define R_ADC_ADCR0_AD9_Pos (9UL) |
| 84 | +#define R_ADC_ADCR0_AD10_Msk (0x00000400UL) |
| 85 | +#define R_ADC_ADCR0_AD10_Pos (10UL) |
| 86 | +#define R_ADC_ADCR0_AD11_Msk (0x00000800UL) |
| 87 | +#define R_ADC_ADCR0_AD11_Pos (11UL) |
| 88 | +#define R_ADC_ADCR1_AD0_Msk (0x00000001UL) |
| 89 | +#define R_ADC_ADCR1_AD0_Pos (0UL) |
| 90 | +#define R_ADC_ADCR1_AD1_Msk (0x00000002UL) |
| 91 | +#define R_ADC_ADCR1_AD1_Pos (1UL) |
| 92 | +#define R_ADC_ADCR1_AD2_Msk (0x00000004UL) |
| 93 | +#define R_ADC_ADCR1_AD2_Pos (2UL) |
| 94 | +#define R_ADC_ADCR1_AD3_Msk (0x00000008UL) |
| 95 | +#define R_ADC_ADCR1_AD3_Pos (3UL) |
| 96 | +#define R_ADC_ADCR1_AD4_Msk (0x00000010UL) |
| 97 | +#define R_ADC_ADCR1_AD4_Pos (4UL) |
| 98 | +#define R_ADC_ADCR1_AD5_Msk (0x00000020UL) |
| 99 | +#define R_ADC_ADCR1_AD5_Pos (5UL) |
| 100 | +#define R_ADC_ADCR1_AD6_Msk (0x00000040UL) |
| 101 | +#define R_ADC_ADCR1_AD6_Pos (6UL) |
| 102 | +#define R_ADC_ADCR1_AD7_Msk (0x00000080UL) |
| 103 | +#define R_ADC_ADCR1_AD7_Pos (7UL) |
| 104 | +#define R_ADC_ADCR1_AD8_Msk (0x00000100UL) |
| 105 | +#define R_ADC_ADCR1_AD8_Pos (8UL) |
| 106 | +#define R_ADC_ADCR1_AD9_Msk (0x00000200UL) |
| 107 | +#define R_ADC_ADCR1_AD9_Pos (9UL) |
| 108 | +#define R_ADC_ADCR1_AD10_Msk (0x00000400UL) |
| 109 | +#define R_ADC_ADCR1_AD10_Pos (10UL) |
| 110 | +#define R_ADC_ADCR1_AD11_Msk (0x00000800UL) |
| 111 | +#define R_ADC_ADCR1_AD11_Pos (11UL) |
| 112 | +#define R_ADC_ADCR2_AD0_Msk (0x00000001UL) |
| 113 | +#define R_ADC_ADCR2_AD0_Pos (0UL) |
| 114 | +#define R_ADC_ADCR2_AD1_Msk (0x00000002UL) |
| 115 | +#define R_ADC_ADCR2_AD1_Pos (1UL) |
| 116 | +#define R_ADC_ADCR2_AD2_Msk (0x00000004UL) |
| 117 | +#define R_ADC_ADCR2_AD2_Pos (2UL) |
| 118 | +#define R_ADC_ADCR2_AD3_Msk (0x00000008UL) |
| 119 | +#define R_ADC_ADCR2_AD3_Pos (3UL) |
| 120 | +#define R_ADC_ADCR2_AD4_Msk (0x00000010UL) |
| 121 | +#define R_ADC_ADCR2_AD4_Pos (4UL) |
| 122 | +#define R_ADC_ADCR2_AD5_Msk (0x00000020UL) |
| 123 | +#define R_ADC_ADCR2_AD5_Pos (5UL) |
| 124 | +#define R_ADC_ADCR2_AD6_Msk (0x00000040UL) |
| 125 | +#define R_ADC_ADCR2_AD6_Pos (6UL) |
| 126 | +#define R_ADC_ADCR2_AD7_Msk (0x00000080UL) |
| 127 | +#define R_ADC_ADCR2_AD7_Pos (7UL) |
| 128 | +#define R_ADC_ADCR2_AD8_Msk (0x00000100UL) |
| 129 | +#define R_ADC_ADCR2_AD8_Pos (8UL) |
| 130 | +#define R_ADC_ADCR2_AD9_Msk (0x00000200UL) |
| 131 | +#define R_ADC_ADCR2_AD9_Pos (9UL) |
| 132 | +#define R_ADC_ADCR2_AD10_Msk (0x00000400UL) |
| 133 | +#define R_ADC_ADCR2_AD10_Pos (10UL) |
| 134 | +#define R_ADC_ADCR2_AD11_Msk (0x00000800UL) |
| 135 | +#define R_ADC_ADCR2_AD11_Pos (11UL) |
| 136 | +#define R_ADC_ADCR3_AD0_Msk (0x00000001UL) |
| 137 | +#define R_ADC_ADCR3_AD0_Pos (0UL) |
| 138 | +#define R_ADC_ADCR3_AD1_Msk (0x00000002UL) |
| 139 | +#define R_ADC_ADCR3_AD1_Pos (1UL) |
| 140 | +#define R_ADC_ADCR3_AD2_Msk (0x00000004UL) |
| 141 | +#define R_ADC_ADCR3_AD2_Pos (2UL) |
| 142 | +#define R_ADC_ADCR3_AD3_Msk (0x00000008UL) |
| 143 | +#define R_ADC_ADCR3_AD3_Pos (3UL) |
| 144 | +#define R_ADC_ADCR3_AD4_Msk (0x00000010UL) |
| 145 | +#define R_ADC_ADCR3_AD4_Pos (4UL) |
| 146 | +#define R_ADC_ADCR3_AD5_Msk (0x00000020UL) |
| 147 | +#define R_ADC_ADCR3_AD5_Pos (5UL) |
| 148 | +#define R_ADC_ADCR3_AD6_Msk (0x00000040UL) |
| 149 | +#define R_ADC_ADCR3_AD6_Pos (6UL) |
| 150 | +#define R_ADC_ADCR3_AD7_Msk (0x00000080UL) |
| 151 | +#define R_ADC_ADCR3_AD7_Pos (7UL) |
| 152 | +#define R_ADC_ADCR3_AD8_Msk (0x00000100UL) |
| 153 | +#define R_ADC_ADCR3_AD8_Pos (8UL) |
| 154 | +#define R_ADC_ADCR3_AD9_Msk (0x00000200UL) |
| 155 | +#define R_ADC_ADCR3_AD9_Pos (9UL) |
| 156 | +#define R_ADC_ADCR3_AD10_Msk (0x00000400UL) |
| 157 | +#define R_ADC_ADCR3_AD10_Pos (10UL) |
| 158 | +#define R_ADC_ADCR3_AD11_Msk (0x00000800UL) |
| 159 | +#define R_ADC_ADCR3_AD11_Pos (11UL) |
| 160 | + |
| 161 | +#endif |
0 commit comments