> ## 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.

# SLIMBUS API

> This file contains slimbus module APIs.

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

## Structures

### `param_id_slimbus_cfg_t`

**Members**

<ParamField path="slimbus_dev_id" type="uint32_t">
  This ID is required to handle multiple SLIMbus hardware blocks.}
</ParamField>

<ParamField path="shared_channel_mapping" type="uint8_t">
  Array of shared channel IDs (128 to 255) to which the master port is connected.}
</ParamField>

## Type Definitions

### `param_id_slimbus_cfg_t`

```cpp theme={null}
typedef struct param_id_slimbus_cfg_t param_id_slimbus_cfg_t
```

## Macros

### `SLIMBUS_DEVICE_1`

```c theme={null}
#define SLIMBUS_DEVICE_1 0x0
```

### `SLIMBUS_DEVICE_2`

Sets SLIMbus device ID 2.

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

### `SB_MAX_CHAN_CNT`

Enumeration for setting the maximum number of channels per device @newpage.

```c theme={null}
#define SB_MAX_CHAN_CNT 8
```

### `CAPI_SLIMBUS_STACK_SIZE`

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

### `PARAM_ID_SLIMBUS_CONFIG`

```c theme={null}
#define PARAM_ID_SLIMBUS_CONFIG 0x08001068
```

### `MODULE_ID_SLIMBUS_SINK`

Module ID for SLIMBUS sink module.

```c theme={null}
#define MODULE_ID_SLIMBUS_SINK 0x07001029
```

### `MODULE_ID_SLIMBUS_SOURCE`

End of the Module -->

```c theme={null}
#define MODULE_ID_SLIMBUS_SOURCE 0x0700102A
```
