> ## Documentation Index
> Fetch the complete documentation index at: https://dragonwingdocs-staging.qualcomm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Priority Sync API

> This file contains Priority Sync module APIs.

**Header:** `spf/api/modules/priority_sync_api.h`

## Macros

### `PRIORITY_SYNC_MAX_IN_PORTS`

```c theme={null}
#define PRIORITY_SYNC_MAX_IN_PORTS 2
```

### `PRIORITY_SYNC_MAX_OUT_PORTS`

```c theme={null}
#define PRIORITY_SYNC_MAX_OUT_PORTS 2
```

### `PRIORITY_SYNC_PRIMARY_IN_PORT_ID`

```c theme={null}
#define PRIORITY_SYNC_PRIMARY_IN_PORT_ID 0x2
```

### `PRIORITY_SYNC_PRIMARY_OUT_PORT_ID`

```c theme={null}
#define PRIORITY_SYNC_PRIMARY_OUT_PORT_ID 0x1
```

### `PRIORITY_SYNC_SECONDARY_IN_PORT_ID`

```c theme={null}
#define PRIORITY_SYNC_SECONDARY_IN_PORT_ID 0x4
```

### `PRIORITY_SYNC_SECONDARY_OUT_PORT_ID`

```c theme={null}
#define PRIORITY_SYNC_SECONDARY_OUT_PORT_ID 0x3
```

### `PRIORITY_SYNC_MAX_CHANNELS`

```c theme={null}
#define PRIORITY_SYNC_MAX_CHANNELS 32
```

### `PRIORITY_SYNC_STACK_SIZE`

```c theme={null}
#define PRIORITY_SYNC_STACK_SIZE 4096
```

### `MODULE_ID_EC_SYNC`

```c theme={null}
#define MODULE_ID_EC_SYNC 0x07001028
```

### `MODULE_ID_PRIORITY_SYNC`

```c theme={null}
#define MODULE_ID_PRIORITY_SYNC MODULE_ID_EC_SYNC
```
