1 /*
2  * Instance header file for PIC32CX1025SG61128
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:59Z */
21 #ifndef _PIC32CXSG61_I2S_INSTANCE_
22 #define _PIC32CXSG61_I2S_INSTANCE_
23 
24 
25 /* ========== Instance Parameter definitions for I2S peripheral ========== */
26 #define I2S_CLK_NUM                              (2)        /* Number of clock units */
27 #define I2S_DMAC_ID_RX_0                         (76)       /* Index of DMA RX Trigger 0 */
28 #define I2S_DMAC_ID_RX_1                         (77)       /* Index of DMA RX Trigger 1 */
29 #define I2S_DMAC_ID_TX_0                         (78)       /* Index of DMA TX Trigger 0 */
30 #define I2S_DMAC_ID_TX_1                         (79)       /* Index of DMA TX Trigger 1 */
31 #define I2S_GCLK_ID_0                            (43)       /* Index of Generic Clock 0 */
32 #define I2S_GCLK_ID_1                            (44)       /* Index of Generic Clock 1 */
33 #define I2S_INSTANCE_ID                          (106)      /* Instance index for I2S */
34 #define I2S_MAX_SLOTS                            (8)        /* Max number of data slots in frame */
35 #define I2S_MAX_WL_BITS                          (32)       /* Max number of bits in data samples */
36 #define I2S_SER_NUM                              (2)        /* Number of serializers */
37 
38 #endif /* _PIC32CXSG61_I2S_INSTANCE_ */
39