1 /*
2  * Instance header file for PIC32CX1025SG41128
3  *
4  * Copyright (c) 2024 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:34Z */
21 #ifndef _PIC32CXSG41_DAC_INSTANCE_
22 #define _PIC32CXSG41_DAC_INSTANCE_
23 
24 
25 /* ========== Instance Parameter definitions for DAC peripheral ========== */
26 #define DAC_CHANNEL_SIZE                         (2)        /* Number of DACs */
27 #define DAC_DATA_SIZE                            (12)       /* Number of bits in data */
28 #define DAC_DMAC_ID_EMPTY0                       (72)       /* Index of DMA DAC Channel 0 Empty request */
29 #define DAC_DMAC_ID_EMPTY1                       (73)       /* Index of DMA DAC Channel 1 Empty request */
30 #define DAC_GCLK_ID                              (42)       /* Index of Generic Clock */
31 #define DAC_INSTANCE_ID                          (105)      /* Instance index for DAC */
32 #define DAC_STEP                                 (7)        /* Number of steps to reach full scale */
33 
34 #endif /* _PIC32CXSG41_DAC_INSTANCE_ */
35