1 /* 2 * Instance header file for PIC32CX1025SG60128 3 * 4 * Copyright (c) 2023 Microchip Technology Inc. and its subsidiaries. 5 * 6 * Licensed under the Apache License, Version 2.0 (the "License"); 7 * you may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, software 13 * distributed under the License is distributed on an "AS IS" BASIS, 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 * See the License for the specific language governing permissions and 16 * limitations under the License. 17 * 18 */ 19 20 /* file generated from device description file (ATDF) version 2023-03-17T09:48:46Z */ 21 #ifndef _PIC32CXSG60_ADC1_INSTANCE_ 22 #define _PIC32CXSG60_ADC1_INSTANCE_ 23 24 25 /* ========== Instance Parameter definitions for ADC1 peripheral ========== */ 26 #define ADC1_BANDGAP (27) /* MUXPOS value to select BANDGAP */ 27 #define ADC1_DMAC_ID_RESRDY (70) /* Index of DMA RESRDY trigger */ 28 #define ADC1_DMAC_ID_SEQ (71) /* Index of DMA SEQ trigger */ 29 #define ADC1_EXTCHANNEL_MSB (15) /* Number of external channels */ 30 #define ADC1_GCLK_ID (41) /* Index of Generic Clock */ 31 #define ADC1_INSTANCE_ID (104) /* Instance index for ADC1 */ 32 #define ADC1_MASTER_SLAVE_MODE (2) /* ADC Master/Slave Mode */ 33 #define ADC1_OPAMP01 (0) /* MUXPOS value to select OPAMP01 */ 34 #define ADC1_OPAMP2 (0) /* MUXPOS value to select OPAMP2 */ 35 #define ADC1_TOUCH_IMPLEMENTED (0) /* TOUCH implemented or not */ 36 #define ADC1_TOUCH_LINES_NUM (1) /* Number of touch lines */ 37 38 #endif /* _PIC32CXSG60_ADC1_INSTANCE_ */ 39