hsi_get_channel_id_by_name
Prev | Chapter 12. High Speed Synchronous Serial Interface (HSI) | Next

## Name

hsi_get_channel_id_by_name — acquire channel id by channel name

## Synopsis

`int hsi_get_channel_id_by_name (` | struct hsi_client * cl,
| char * name`)`;

## Arguments

`cl`

  HSI client, which uses the channel

`name`

  name the channel is known under

## Description

Clients can call this function to get the hsi channel ids similar to requesting IRQs or GPIOs by name. This function assumes the same channel configuration is used for RX and TX.

Returns -errno on error or channel id on success.

Prev | Up | Next
hsi_event | Home | Chapter 13. Pulse-Width Modulation (PWM)