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_EVSYS_INSTANCE_
22 #define _PIC32CXSG41_EVSYS_INSTANCE_
23 
24 
25 /* ========== Instance Parameter definitions for EVSYS peripheral ========== */
26 #define EVSYS_ASYNCHRONOUS_CHANNELS              (0xFFFFF000) /* Mask of Only Asynchronous Channels */
27 #define EVSYS_CHANNELS                           (32)       /* Total Number of Channels */
28 #define EVSYS_CHANNELS_BITS                      (5)        /* Number of bits to select Channel */
29 #define EVSYS_EXTEVT_NUM                         (0)        /* Number of External Event Generators */
30 #define EVSYS_GCLK_ID_0                          (11)       /* Index of Generic Clock 0 */
31 #define EVSYS_GCLK_ID_1                          (12)       /* Index of Generic Clock 1 */
32 #define EVSYS_GCLK_ID_10                         (21)       /* Index of Generic Clock 10 */
33 #define EVSYS_GCLK_ID_11                         (22)       /* Index of Generic Clock 11 */
34 #define EVSYS_GCLK_ID_2                          (13)       /* Index of Generic Clock 2 */
35 #define EVSYS_GCLK_ID_3                          (14)       /* Index of Generic Clock 3 */
36 #define EVSYS_GCLK_ID_4                          (15)       /* Index of Generic Clock 4 */
37 #define EVSYS_GCLK_ID_5                          (16)       /* Index of Generic Clock 5 */
38 #define EVSYS_GCLK_ID_6                          (17)       /* Index of Generic Clock 6 */
39 #define EVSYS_GCLK_ID_7                          (18)       /* Index of Generic Clock 7 */
40 #define EVSYS_GCLK_ID_8                          (19)       /* Index of Generic Clock 8 */
41 #define EVSYS_GCLK_ID_9                          (20)       /* Index of Generic Clock 9 */
42 #define EVSYS_GENERATORS                         (119)      /* Total Number of Event Generators */
43 #define EVSYS_GENERATORS_BITS                    (7)        /* Number of bits to select Event Generator */
44 #define EVSYS_INSTANCE_ID                        (39)       /* Instance index for EVSYS */
45 #define EVSYS_SYNCH_NUM                          (12)       /* Number of Synchronous Channels */
46 #define EVSYS_SYNCH_NUM_BITS                     (4)        /* Number of bits to select Synchronous Channels */
47 #define EVSYS_USERS                              (67)       /* Total Number of Event Users */
48 #define EVSYS_USERS_BITS                         (7)        /* Number of bits to select Event User */
49 
50 #endif /* _PIC32CXSG41_EVSYS_INSTANCE_ */
51