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_TCC1_INSTANCE_
22 #define _PIC32CXSG41_TCC1_INSTANCE_
23 
24 
25 /* ========== Instance Parameter definitions for TCC1 peripheral ========== */
26 #define TCC1_CC_NUM                              (4)        /* Number of Compare/Capture units */
27 #define TCC1_DITHERING                           (1)        /* Dithering feature implemented */
28 #define TCC1_DMAC_ID_MC0                         (30)       /* Indexes of DMA Match/Compare 0 trigger */
29 #define TCC1_DMAC_ID_MC1                         (31)       /* Indexes of DMA Match/Compare 1 trigger */
30 #define TCC1_DMAC_ID_MC2                         (32)       /* Indexes of DMA Match/Compare 2 trigger */
31 #define TCC1_DMAC_ID_MC3                         (33)       /* Indexes of DMA Match/Compare 3 trigger */
32 #define TCC1_DMAC_ID_OVF                         (29)       /* DMA overflow/underflow/retrigger trigger */
33 #define TCC1_DTI                                 (1)        /* Dead-Time-Insertion feature implemented */
34 #define TCC1_EXT                                 (31)       /* Coding of implemented extended features */
35 #define TCC1_GCLK_ID                             (25)       /* Index of Generic Clock */
36 #define TCC1_INSTANCE_ID                         (44)       /* Instance index for TCC1 */
37 #define TCC1_MASTER_SLAVE_MODE                   (2)        /* TCC type 0 : NA, 1 : Master, 2 : Slave */
38 #define TCC1_OTMX                                (1)        /* Output Matrix feature implemented */
39 #define TCC1_OW_NUM                              (8)        /* Number of Output Waveforms */
40 #define TCC1_PG                                  (1)        /* Pattern Generation feature implemented */
41 #define TCC1_SIZE                                (24)
42 #define TCC1_SWAP                                (1)        /* DTI outputs swap feature implemented */
43 
44 #endif /* _PIC32CXSG41_TCC1_INSTANCE_ */
45